272d51cc21
major change. Reported by Robert Elz in PR 41345.
35 lines
952 B
Makefile
35 lines
952 B
Makefile
# $NetBSD: Makefile,v 1.89 2009/05/20 00:58:22 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= mathomatic-14.3.6
|
|
PKGREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.panix.com/~gesslein/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://www.mathomatic.org/
|
|
COMMENT= Small portable symbolic math program
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_CONFIGURE= yes
|
|
MAKE_FILE= makefile
|
|
|
|
CFLAGS.SunOS+= -DSOLARIS
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
BUILDLINK_API_DEPENDS.readline+= readline>=5.1pl1nb1
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/mathomatic.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${WRKSRC}/README.txt \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|