pkgsrc/graphics/povray/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2004/12/28 23:18:18 reed Exp $
DISTNAME= povray-3.6.1
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \
ftp://ftp.mirror.ac.uk/sites/ftp.povray.org/pub/povray/Official/Unix/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gavan@NetBSD.org
1998-08-25 13:49:24 +02:00
HOMEPAGE= http://www.povray.org/
COMMENT= Persistence of Vision Ray Tracer
LICENSE= povray-license
USE_BUILDLINK3= YES
USE_LANGUAGES= c c++
USE_PKGINSTALL= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --enable-strip
CONFIGURE_ENV+= COMPILED_BY="The NetBSD Packages Collection"
PLIST_SUBST+= POVRAY=povray-3.6
EGDIR= ${PREFIX}/share/examples/povray
CONF_FILES= ${EGDIR}/povray.conf ${PKG_SYSCONFDIR}/povray.conf
CONF_FILES+= ${EGDIR}/povray.ini ${PKG_SYSCONFDIR}/povray.ini
SUBST_CLASSES+= povini
SUBST_MESSAGE.povini= "Fixing Library_Path in povray.ini."
SUBST_FILES.povini= povray.ini
SUBST_SED.povini= -e 's|/usr/local|${PREFIX}|'
SUBST_STAGE.povini= post-patch
1999-04-26 20:38:28 +02:00
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/povray-3.6/scripts
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"