aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-12-06 23:43:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-12-06 23:43:32 +0000
commit3fccc67fd3f2bc405975617be9e6cfadd51f44e8 (patch)
tree6e6a8650f277e08e89a273a61fb56558024dff06 /graphics/povray
parentf93f0d36256f718466fd0e2aaff36e9ea6b64dce (diff)
downloadports-3fccc67fd3f2bc405975617be9e6cfadd51f44e8.tar.gz
ports-3fccc67fd3f2bc405975617be9e6cfadd51f44e8.zip
Notes
Diffstat (limited to 'graphics/povray')
-rw-r--r--graphics/povray/Makefile42
1 files changed, 22 insertions, 20 deletions
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index 51ee35f58471..0b797c61f350 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -3,8 +3,9 @@
# Date created: 3 Dec 1996
# Whom: paulo@isr.uc.pt
#
-# $Id$
+# $Id: Makefile,v 1.5 1996/12/05 12:45:54 jkh Exp $
#
+
DISTNAME= povray3
PKGNAME= povray-3.0
CATEGORIES= graphics
@@ -12,30 +13,31 @@ MASTER_SITES= ftp://povray.cdrom.com/pub/povray/Official-3.0/Unix/ \
ftp://www.hensa.ac.uk/mirrors/povray/povray/Official-3.0/Unix/\
ftp://ftp.univ-lille1.fr/pub/povray/Official-3.0/Unix/
DISTFILES= povuni_s.tgz povuni_d.tgz
+
+LIB_DEPENDS= png\\.0\\.:${PORTSDIR}/graphics/png
+
MAN1= povray.1
-LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+
+POVLIB= ${PREFIX}/lib/povray3
do-build:
(cd ${WRKSRC}/source/unix; make newxwin)
do-install:
- @${MKDIR} ${PREFIX}/man/man1;
- @${MKDIR} ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/lib/povray3;
- @${MKDIR} ${PREFIX}/lib/povray3/allscene
- @${INSTALL} -c -m 755 ${WRKSRC}/source/unix/x-povray ${PREFIX}/bin/povray;
- @cp -rp ${WRKSRC}/pov3demo ${PREFIX}/lib/povray3/pov3demo ;
- @cp -rp ${WRKSRC}/docsdemo ${PREFIX}/lib/povray3/docsdemo
- @cp -rp ${WRKSRC}/include ${PREFIX}/lib/povray3/include
- @cp -rp ${WRKSRC}/povscn ${PREFIX}/lib/povray3/povscn
- @cp -rp ${WRKSRC}/texsamps ${PREFIX}/lib/povray3/texsamps
- @cp ${WRKSRC}/*.ini ${PREFIX}/lib/povray3/
- @cp ${WRKSRC}/*.doc ${PREFIX}/lib/povray3/
- @cp ${WRKSRC}/*.gif ${WRKSRC}/*.xpm ${PREFIX}/lib/povray3/
- @install -c -m 755 ${WRKSRC}/allscene.sh ${PREFIX}/lib/povray3/
- @rm -f ${PREFIX}/man/man1/povray.1.gz
- @install -c -m 644 ${WRKSRC}/povray.1 ${PREFIX}/man/man1
- @chmod -R og-r ${PREFIX}/lib/povray3
- @chmod -R a+r ${PREFIX}/lib/povray3
+ @${MKDIR} ${POVLIB}/allscene
+ @${INSTALL_PROGRAM} ${WRKSRC}/source/unix/x-povray ${PREFIX}/bin/povray
+ @${CP} -rp ${WRKSRC}/pov3demo ${POVLIB}/pov3demo
+ @${CP} -rp ${WRKSRC}/docsdemo ${POVLIB}/docsdemo
+ @${CP} -rp ${WRKSRC}/include ${POVLIB}/include
+ @${CP} -rp ${WRKSRC}/povscn ${POVLIB}/povscn
+ @${CP} -rp ${WRKSRC}/texsamps ${POVLIB}/texsamps
+ @${INSTALL_DATA} ${WRKSRC}/*.ini ${POVLIB}/
+ @${INSTALL_DATA} ${WRKSRC}/*.doc ${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 og-r ${POVLIB}
+ @chmod -R a+r ${POVLIB}
.include <bsd.port.mk>