1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/povray31/Makefile
Maxim Sobolev 6db96c0500 Bump png shared library version.
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-07-04 07:13:35 +00:00

59 lines
1.7 KiB
Makefile

# New ports collection makefile for: POV-Ray
# Date created: 3 Dec 1996
# Whom: paulo@isr.uc.pt
#
# $FreeBSD$
#
PORTNAME= povray
PORTVERSION= 3.1g
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.povray.org/pub/povray/Official/Unix/ \
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/
DISTNAME= povray31
DISTFILES= povuni_s.tgz povuni_d.tgz
MAINTAINER= olli@fromme.com
#BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png
DIST_SUBDIR= povray31
#
# 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
POVLIB= ${PREFIX}/lib/povray31
do-build:
@(cd ${WRKSRC}/source/unix; ${SETENV} ${MAKE_ENV} ${MAKE} newxwin)
do-install:
@${MKDIR} ${POVLIB}/allscene
@${TOUCH} ${POVLIB}/allscene/.bla
@${INSTALL_PROGRAM} ${WRKSRC}/source/unix/x-povray ${PREFIX}/bin/povray
@(cd ${WRKSRC}; tar cpf - include scenes) | \
(cd ${POVLIB}; tar xpf -)
@${INSTALL_DATA} ${WRKSRC}/*.ini ${POVLIB}/
@${INSTALL_DATA} ${WRKSRC}/*.doc ${POVLIB}/
@${INSTALL_DATA} ${WRKSRC}/*.txt ${POVLIB}/
@${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
@${CHMOD} -R a+rX,og-w ${POVLIB}
post-install:
@${SH} ${FILESDIR}/script
.include <bsd.port.mk>