summaryrefslogtreecommitdiffstats
path: root/www/vrweb/Makefile
blob: bb29f9578ea896b64fe8cef5b1cd421fc2bc6187 (plain)
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
# New ports collection makefile for:   vrweb
# Version required:    1.5
# Date created:        20 June 1997
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.3 1998/04/19 17:14:33 steve Exp $
#

DISTNAME=	vrweb-1.5
CATEGORIES=	www
MASTER_SITES=	http://sunsite.unc.edu/pub/packages/infosystems/WWW/VRML/VRweb/UNIX/vrweb-1.5/
DISTFILES=	vrweb-src-1.5.tar.gz help-1.5.tar.gz

MAINTAINER=	Nakai@Mlab.t.u-tokyo.ac.jp

LIB_DEPENDS=	GL\\.13\\.:${PORTSDIR}/graphics/Mesa

USE_GMAKE=	yes
USE_X11=	yes

do-configure:
	(cd ${WRKSRC}; \
	ln -s `which ${GMAKE}` ${WRKSRC}/config/scripts/make; \
	${WRKSRC}/makeall -r; \
	${WRKSRC}/makeall -m; )

do-build:
	(cd ${WRKSRC}; \
	${WRKSRC}/makeall -i; )

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/installed/harmony/bin/FREEBSD/vrweb-mesa \
		 ${PREFIX}/bin/vrweb
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/vrweb
	${CP} -R ${WRKDIR}/help/* ${PREFIX}/share/doc/vrweb
	${MKDIR} ${PREFIX}/share/doc/vrweb/icons
	${CP} ${WRKDIR}/icons/* ${PREFIX}/share/doc/vrweb/icons
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud