pkgsrc/lang/Cg-compiler/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:56 rillig Exp $
#
DISTNAME= CgLinux-1.3.0408-0400
PKGNAME= Cg-compiler-1.3beta2
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://download.nvidia.com/developer/cg/Cg_1.3/Linux/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://developer.nvidia.com/object/cg_toolkit.html
COMMENT= NVIDIA Cg Compiler for Linux
ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}
NO_BUILD= 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
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/Cg
${INSTALL_DATA_DIR} ${PREFIX}/include/CgFX
${INSTALL_DATA_DIR} ${PREFIX}/share/NVIDIA-Cg-linux
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/NVIDIA-Cg-linux
${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_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"