summaryrefslogtreecommitdiff
path: root/www/vrweb/Makefile
blob: 3e68d2294a434a3dd21982137c0f0a3c76241f32 (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:   vrweb
# Version required:    1.5
# Date created:        20 June 1997
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.7 1998/09/27 16:06:57 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.14:${PORTSDIR}/graphics/Mesa3

BROKEN=		install

USE_GMAKE=	yes
USE_X_PREFIX=	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>