diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 06d9c7dce41f5c7499b62388c5645696eb42c1a4 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/mmix | |
parent | d21f8cb7ef167c68991b38b87d2a2d12b1189509 (diff) | |
download | pkgsrc-06d9c7dce41f5c7499b62388c5645696eb42c1a4.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/mmix')
-rw-r--r-- | emulators/mmix/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/mmix/Makefile b/emulators/mmix/Makefile index 67ddb33ffe9..e8f229d140c 100644 --- a/emulators/mmix/Makefile +++ b/emulators/mmix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/03/15 05:00:13 dbj Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/03 19:21:38 jlam Exp $ DISTNAME= mmix-20060918 CATEGORIES= emulators devel lang @@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www-cs-faculty.stanford.edu/~knuth/mmix.html COMMENT= Simulators for Knuth's MMIX RISC architecture +PKG_DESTDIR_SUPPORT= user-destdir + TEX_DEPMETHOD= build TEX_ACCEPTED= teTeX3 @@ -20,12 +22,12 @@ INSTALLATION_DIRS= bin do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} abstime mmix mmixal \ - mmmix mmotype ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mmix + mmmix mmotype ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mmix cd ${WRKSRC} && ${INSTALL_DATA} README *.ps \ - ${PREFIX}/share/doc/mmix - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mmix + ${DESTDIR}${PREFIX}/share/doc/mmix + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/mmix cd ${WRKSRC} && ${INSTALL_DATA} *.mms *.mmix *.mmconfig \ - ${PREFIX}/share/examples/mmix + ${DESTDIR}${PREFIX}/share/examples/mmix .include "../../mk/bsd.pkg.mk" |