summaryrefslogtreecommitdiff
path: root/lang/Cg-compiler
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-07 16:21:03 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-07 16:21:03 +0000
commit045b3d697f79c53adbeb888c695be91f5412f9a4 (patch)
tree8133b77821f2b06babad2ab5c8ef39a5e913838c /lang/Cg-compiler
parent8386bf76343e8743f7a1446376fc355d90550a41 (diff)
downloadpkgsrc-045b3d697f79c53adbeb888c695be91f5412f9a4.tar.gz
Fix DESTDIR.
Diffstat (limited to 'lang/Cg-compiler')
-rw-r--r--lang/Cg-compiler/Makefile10
1 files changed, 4 insertions, 6 deletions
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