diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-07 16:21:03 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-07 16:21:03 +0000 |
commit | 045b3d697f79c53adbeb888c695be91f5412f9a4 (patch) | |
tree | 8133b77821f2b06babad2ab5c8ef39a5e913838c | |
parent | 8386bf76343e8743f7a1446376fc355d90550a41 (diff) | |
download | pkgsrc-045b3d697f79c53adbeb888c695be91f5412f9a4.tar.gz |
Fix DESTDIR.
-rw-r--r-- | games/4stAttack/Makefile | 5 | ||||
-rw-r--r-- | lang/Cg-compiler/Makefile | 10 |
2 files changed, 7 insertions, 8 deletions
diff --git a/games/4stAttack/Makefile b/games/4stAttack/Makefile index 51209d67e84..88df640ba0c 100644 --- a/games/4stAttack/Makefile +++ b/games/4stAttack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/03/04 06:59:03 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/04/07 16:21:03 joerg Exp $ # DISTNAME= 4stAttack-2.1.4 @@ -12,6 +12,8 @@ COMMENT= Game in which you have to try to out-smart your opponent PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin share/${PKGBASE} + PYTHON_PATCH_SCRIPTS= 4stattack.py FIND_EXCLUDE= \( -name \*.orig -or -name \*.txt -or -name \*.pre -or -name GPL -or -name \*~ -or -name 4stattack \) @@ -25,7 +27,6 @@ do-build: ${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC} do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/${PKGBASE} ${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${DESTDIR}${PREFIX}/bin cd ${WRKSRC} && ${FIND} . -type f -and \! ${FIND_EXCLUDE} \ -print | ${PAX} -rw -pp -pm ${DESTDIR}${PREFIX}/share/${PKGBASE} diff --git a/lang/Cg-compiler/Makefile b/lang/Cg-compiler/Makefile index b218667e8aa..1379c6e430e 100644 --- a/lang/Cg-compiler/Makefile +++ b/lang/Cg-compiler/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/03/04 16:38:11 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2008/04/07 16:23:01 joerg Exp $ # DISTNAME= CgLinux-1.3.0408-0400 @@ -21,13 +21,11 @@ WRKSRC= ${WRKDIR} BUILD_DIRS= # empty RUN_LDCONFIG= yes -INSTALLATION_DIRS= bin ${PKGMANDIR}/man3 share +INSTALLATION_DIRS= bin include/Cg include/CgFX ${PKGMANDIR}/man3 \ + share/NVIDIA-Cg-linux share/doc/NVIDIA-Cg-linux \ + ${EMULDIR}/lib do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/Cg - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/CgFX - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/NVIDIA-Cg-linux - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/NVIDIA-Cg-linux ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/cgc ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/usr/include/Cg/* \ ${DESTDIR}${PREFIX}/include/Cg |