pkgsrc/graphics/povray/Makefile
2005-12-05 23:55:01 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2005/12/05 23:55:09 rillig Exp $
DISTNAME= povray-3.6.1
PKGREVISION= 2
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
HOMEPAGE= http://www.povray.org/
COMMENT= Persistence of Vision Ray Tracer
LICENSE= povray-license
BUILDLINK_DEPENDS.zlib+= zlib>=1.2.1
USE_LANGUAGES= c c++
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-optimiz
CONFIGURE_ARGS+= --enable-strip
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ENV+= COMPILED_BY="The NetBSD Packages Collection"
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == x86_64
GCC_REQD+= 3.4
.endif
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
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/povray-3.6/scripts
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"