1999-03-20 14:53:02 +00:00
|
|
|
# New ports collection makefile for: POV-Ray
|
1999-05-11 02:05:42 +00:00
|
|
|
# Version required: 3.1e
|
1999-03-20 14:53:02 +00:00
|
|
|
# Date created: 3 Dec 1996
|
|
|
|
# Whom: paulo@isr.uc.pt
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1999-03-20 14:53:02 +00:00
|
|
|
#
|
|
|
|
|
1999-05-11 02:05:42 +00:00
|
|
|
DISTNAME= povray31
|
2000-04-04 23:30:11 +00:00
|
|
|
PKGNAME= povray-3.1g
|
1999-03-20 14:53:02 +00:00
|
|
|
CATEGORIES= graphics
|
1999-05-11 02:05:42 +00:00
|
|
|
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \
|
1999-03-20 14:53:02 +00:00
|
|
|
ftp://www.hensa.ac.uk/mirrors/povray/Old-Versions/Official-3.0/Unix/ \
|
|
|
|
ftp://ftp.fh-aachen.de/pub/mirror/ftp.povray.org/povray/Old-Versions/Official-3.0/Unix/
|
1999-05-11 02:05:42 +00:00
|
|
|
DISTFILES= povuni_s.tgz povuni_d.tgz
|
1999-03-20 14:53:02 +00:00
|
|
|
|
|
|
|
MAINTAINER= olli@fromme.com
|
|
|
|
|
1999-05-11 02:05:42 +00:00
|
|
|
#BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
1999-03-20 14:53:02 +00:00
|
|
|
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
|
|
|
|
|
1999-06-22 17:20:34 +00:00
|
|
|
DIST_SUBDIR= povray31
|
|
|
|
|
1999-03-20 14:53:02 +00: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-11 02:05:42 +00:00
|
|
|
POVLIB= ${PREFIX}/lib/povray31
|
1999-03-20 14:53:02 +00:00
|
|
|
|
|
|
|
do-build:
|
1999-05-11 02:05:42 +00:00
|
|
|
@(cd ${WRKSRC}/source/unix; ${SETENV} ${MAKE_ENV} ${MAKE} newxwin)
|
1999-03-20 14:53:02 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${POVLIB}/allscene
|
|
|
|
@${TOUCH} ${POVLIB}/allscene/.bla
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/source/unix/x-povray ${PREFIX}/bin/povray
|
1999-05-11 02:05:42 +00:00
|
|
|
@(cd ${WRKSRC}; tar cpf - include scenes) | \
|
1999-03-20 14:53:02 +00:00
|
|
|
(cd ${POVLIB}; tar xpf -)
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.ini ${POVLIB}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.doc ${POVLIB}/
|
2000-03-31 22:11:59 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/*.txt ${POVLIB}/
|
1999-03-20 14:53:02 +00: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 19:01:07 +00:00
|
|
|
@${CHMOD} -R a+rX,og-w ${POVLIB}
|
1999-03-20 14:53:02 +00:00
|
|
|
|
1999-05-11 02:05:42 +00:00
|
|
|
post-install:
|
|
|
|
@${SH} ${FILESDIR}/script
|
|
|
|
|
1999-03-20 14:53:02 +00:00
|
|
|
.include <bsd.port.mk>
|