2004-12-29 00:18:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.25 2004/12/28 23:18:18 reed Exp $
|
1998-08-24 14:33:38 +02:00
|
|
|
|
2004-11-18 16:57:37 +01:00
|
|
|
DISTNAME= povray-3.6.1
|
2004-12-29 00:18:15 +01:00
|
|
|
PKGREVISION= 1
|
1998-08-24 14:33:38 +02:00
|
|
|
CATEGORIES= graphics
|
2004-11-18 16:57:37 +01:00
|
|
|
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \
|
2003-09-01 01:04:13 +02:00
|
|
|
ftp://ftp.mirror.ac.uk/sites/ftp.povray.org/pub/povray/Official/Unix/
|
2004-11-18 16:57:37 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-08-24 14:33:38 +02:00
|
|
|
|
2003-09-01 01:04:13 +02:00
|
|
|
MAINTAINER= gavan@NetBSD.org
|
1998-08-25 13:49:24 +02:00
|
|
|
HOMEPAGE= http://www.povray.org/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Persistence of Vision Ray Tracer
|
1998-08-24 14:33:38 +02:00
|
|
|
|
2003-09-01 01:04:13 +02:00
|
|
|
LICENSE= povray-license
|
|
|
|
|
2004-11-18 16:57:37 +01:00
|
|
|
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"
|
2003-09-11 00:35:53 +02:00
|
|
|
|
2004-11-18 16:57:37 +01:00
|
|
|
PLIST_SUBST+= POVRAY=povray-3.6
|
2003-09-11 00:35:53 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/povray
|
|
|
|
CONF_FILES= ${EGDIR}/povray.conf ${PKG_SYSCONFDIR}/povray.conf
|
|
|
|
CONF_FILES+= ${EGDIR}/povray.ini ${PKG_SYSCONFDIR}/povray.ini
|
2003-09-01 01:04:13 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2004-11-18 16:57:37 +01:00
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/povray-3.6/scripts
|
|
|
|
|
2004-04-24 02:57:50 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2000-01-04 17:28:42 +01:00
|
|
|
|
1998-08-24 14:33:38 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|