blob: 49e92032a1157f15e9bed95f9dc15e50f5fe1b2c (
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
42
43
44
45
46
47
48
49
50
51
|
# ex:ts=8
# Ports collection makefile for: white_dune
# Date created: Apr 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= white_dune
PORTVERSION= 0.23.6
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}pl${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical VRML97 Editor and animation tool
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_REINPLACE= yes
USE_MESA= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
YACC="/usr/bin/byacc"
CONFIGURE_ARGS= --with-optimization \
--without-devil \
--with-helpurl="${DOCSDIR}/index.html" \
--with-nurbssurfaceprotourl="${DOCSDIR}/vrml200x_nurbssurface/NurbsSurfacePROTO.wrl"
ALL_TARGET= # empty
MAN1= dune.1
post-patch:
@${REINPLACE_CMD} -e 's|<values.h>|<limits.h>|g' ${WRKSRC}/src/stdafx.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/nostereodune ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/dune.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${FIND} . | \
cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|