diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/mathomatic | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/mathomatic')
-rw-r--r-- | math/mathomatic/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/math/mathomatic/Makefile b/math/mathomatic/Makefile index 01c86eb8743..15db8a53fe9 100644 --- a/math/mathomatic/Makefile +++ b/math/mathomatic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.84 2007/11/21 23:36:23 minskim Exp $ +# $NetBSD: Makefile,v 1.85 2008/03/04 18:12:59 jlam Exp $ # DISTNAME= mathomatic-12.8.0 @@ -11,6 +11,7 @@ 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 @@ -23,10 +24,11 @@ BUILDLINK_API_DEPENDS.readline+= readline>=5.1pl1nb1 .include "../../devel/readline/buildlink3.mk" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/mathomatic.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} + ${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 \ - ${PREFIX}/share/doc/${PKGBASE} + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .include "../../mk/bsd.pkg.mk" |