summaryrefslogtreecommitdiff
path: root/lang/Cg-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'lang/Cg-compiler')
-rw-r--r--lang/Cg-compiler/Makefile24
-rw-r--r--lang/Cg-compiler/PLIST10
2 files changed, 15 insertions, 19 deletions
diff --git a/lang/Cg-compiler/Makefile b/lang/Cg-compiler/Makefile
index cfae5b6df32..e5a10626829 100644
--- a/lang/Cg-compiler/Makefile
+++ b/lang/Cg-compiler/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:56 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2007/07/29 05:19:27 jlam Exp $
#
DISTNAME= CgLinux-1.3.0408-0400
PKGNAME= Cg-compiler-1.3beta2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ftp://download.nvidia.com/developer/cg/Cg_1.3/Linux/
@@ -11,18 +11,15 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://developer.nvidia.com/object/cg_toolkit.html
COMMENT= NVIDIA Cg Compiler for Linux
-ONLY_FOR_PLATFORM= *-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
+SUSE_VERSION_REQD= 7.3
-WRKSRC= ${WRKDIR}
-NO_BUILD= yes
+WRKSRC= ${WRKDIR}
+BUILD_DIRS= # empty
+RUN_LDCONFIG= yes
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "Linux"
-DEPENDS+= suse_base>=7.3:../../emulators/${SUSE_DIR_PREFIX}_base
-.endif
-
-INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man3 share
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man3 share
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/Cg
@@ -32,9 +29,8 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/cgc ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/usr/include/Cg/* ${PREFIX}/include/Cg
${INSTALL_DATA} ${WRKSRC}/usr/include/CgFX/* ${PREFIX}/include/CgFX
- ${INSTALL_DATA} ${WRKSRC}/usr/lib/* ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/usr/lib/* ${EMULDIR}/lib
${INSTALL_MAN} ${WRKSRC}/usr/share/man/man3/* ${PREFIX}/${PKGMANDIR}/man3
cd ${WRKSRC}/usr/local && ${PAX} -rwppm . ${PREFIX}/share/NVIDIA-Cg-linux
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/Cg-compiler/PLIST b/lang/Cg-compiler/PLIST
index 6bbbed6b948..c6633733fba 100644
--- a/lang/Cg-compiler/PLIST
+++ b/lang/Cg-compiler/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/18 21:12:51 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2007/07/29 05:19:27 jlam Exp $
bin/cgc
include/Cg/cg.h
include/Cg/cgContextManager.h
@@ -14,10 +14,10 @@ include/Cg/cg_profiles.h
include/CgFX/ICgFX.h
include/CgFX/ICgFXEffect.h
include/CgFX/cgfx_stddefs.h
-lib/libCg.so
-lib/libCgFX.so
-lib/libCgFXGL.so
-lib/libCgGL.so
+${EMULSUBDIRSLASH}lib/libCg.so
+${EMULSUBDIRSLASH}lib/libCgFX.so
+${EMULSUBDIRSLASH}lib/libCgFXGL.so
+${EMULSUBDIRSLASH}lib/libCgGL.so
man/man3/cgCompileProgram.3
man/man3/cgConnectParameter.3
man/man3/cgCopyProgram.3