summaryrefslogtreecommitdiffstats
path: root/graphics/povray37
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-12-06 23:43:32 +0000
committerasami <asami@FreeBSD.org>1996-12-06 23:43:32 +0000
commit38565d97c63257d6b5cd538340dccba1113ed3a2 (patch)
treec1804384c8e248ce744b218333aac59d260e707e /graphics/povray37
parentef99d1ac63d4d90f14542bf3fedbfa30611ca568 (diff)
downloadFreeBSD-ports-38565d97c63257d6b5cd538340dccba1113ed3a2.zip
FreeBSD-ports-38565d97c63257d6b5cd538340dccba1113ed3a2.tar.gz
Clean up, should be much easier to read now. (What was the \ at the end
of the LIB_DEPENDS line anyway?)
Diffstat (limited to 'graphics/povray37')
-rw-r--r--graphics/povray37/Makefile42
1 files changed, 22 insertions, 20 deletions
diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile
index 51ee35f..0b797c6 100644
--- a/graphics/povray37/Makefile
+++ b/graphics/povray37/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>
OpenPOWER on IntegriCloud