aboutsummaryrefslogtreecommitdiffstats
path: root/www/vrweb/Makefile
blob: 29cacc88b30520506ccc9252953fcf9acc8e94bf (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.9 1999/01/12 16:51:14 vanilla 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= nacai@iname.com

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>