aboutsummaryrefslogtreecommitdiffstats
path: root/www/vrweb/Makefile
blob: 01584028a88cead9749bcab483362b5d541d7e4c (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>
#
# $FreeBSD$
#

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= ports@FreeBSD.org

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>