1999-03-20 09:53:02 -05:00
|
|
|
# New ports collection makefile for: POV-Ray
|
|
|
|
# Date created: 3 Dec 1996
|
|
|
|
# Whom: paulo@isr.uc.pt
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1999-03-20 09:53:02 -05:00
|
|
|
#
|
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= povray
|
|
|
|
PORTVERSION= 3.1g
|
1999-03-20 09:53:02 -05:00
|
|
|
CATEGORIES= graphics
|
2001-03-20 04:54:46 -05:00
|
|
|
MASTER_SITES= ftp://ftp.povray.org/pub/povray/%SUBDIR%/ \
|
|
|
|
ftp://ftp.gigabell.net/pub/unix/apps/graphics/povray/%SUBDIR%/ \
|
|
|
|
ftp://www.hensa.ac.uk/mirrors/povray/%SUBDIR%/ \
|
|
|
|
ftp://ftp.fh-aachen.de/pub/mirror/ftp.povray.org/povray/%SUBDIR%/ \
|
|
|
|
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/povray/%SUBDIR%,}
|
|
|
|
MASTER_SITE_SUBDIR= Official/Unix
|
2000-04-14 06:48:02 -04:00
|
|
|
DISTNAME= povray31
|
1999-05-10 22:05:42 -04:00
|
|
|
DISTFILES= povuni_s.tgz povuni_d.tgz
|
1999-03-20 09:53:02 -05:00
|
|
|
|
|
|
|
MAINTAINER= olli@fromme.com
|
|
|
|
|
1999-05-10 22:05:42 -04:00
|
|
|
#BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
2000-07-04 03:13:35 -04:00
|
|
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
|
1999-03-20 09:53:02 -05:00
|
|
|
|
1999-06-22 13:20:34 -04:00
|
|
|
DIST_SUBDIR= povray31
|
|
|
|
|
1999-03-20 09:53:02 -05:00
|
|
|
#
|
|
|
|
# I think all of this needs some explanation.
|
|
|
|
# The port downloads the MS-DOS source files of POV-Ray 3.1d
|
|
|
|
# and the UNIX source files of POV-Ray 3.0 (which need some
|
|
|
|
# patching, obviously). This is necessary because there are
|
|
|
|
# no UNIX source files for POV-Ray 3.1.
|
|
|
|
#
|
|
|
|
|
|
|
|
USE_XLIB= yes
|
|
|
|
MAN1= povray.1
|
|
|
|
|
1999-05-10 22:05:42 -04:00
|
|
|
POVLIB= ${PREFIX}/lib/povray31
|
1999-03-20 09:53:02 -05:00
|
|
|
|
|
|
|
do-build:
|
1999-05-10 22:05:42 -04:00
|
|
|
@(cd ${WRKSRC}/source/unix; ${SETENV} ${MAKE_ENV} ${MAKE} newxwin)
|
1999-03-20 09:53:02 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${POVLIB}/allscene
|
|
|
|
@${TOUCH} ${POVLIB}/allscene/.bla
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/source/unix/x-povray ${PREFIX}/bin/povray
|
2001-03-20 04:54:46 -05:00
|
|
|
@(cd ${WRKSRC}; ${TAR} cpf - include scenes) | \
|
|
|
|
(cd ${POVLIB}; ${TAR} xpf -)
|
1999-03-20 09:53:02 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.ini ${POVLIB}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.doc ${POVLIB}/
|
2000-03-31 17:11:59 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.txt ${POVLIB}/
|
1999-03-20 09:53:02 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.gif ${WRKSRC}/*.xpm ${POVLIB}/
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/allscene.sh ${POVLIB}/
|
|
|
|
@${RM} -f ${PREFIX}/man/man1/povray.1*
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/povray.1 ${PREFIX}/man/man1
|
1999-08-22 15:01:07 -04:00
|
|
|
@${CHMOD} -R a+rX,og-w ${POVLIB}
|
1999-03-20 09:53:02 -05:00
|
|
|
|
1999-05-10 22:05:42 -04:00
|
|
|
post-install:
|
|
|
|
@${SH} ${FILESDIR}/script
|
|
|
|
|
1999-03-20 09:53:02 -05:00
|
|
|
.include <bsd.port.mk>
|