blob: 0b797c61f350edfd1b3df5278c4f88d18cc21b82 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: POV-Ray
# Version required: 3.3
# Date created: 3 Dec 1996
# Whom: paulo@isr.uc.pt
#
# $Id: Makefile,v 1.5 1996/12/05 12:45:54 jkh Exp $
#
DISTNAME= povray3
PKGNAME= povray-3.0
CATEGORIES= graphics
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
POVLIB= ${PREFIX}/lib/povray3
do-build:
(cd ${WRKSRC}/source/unix; make newxwin)
do-install:
@${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>
|