blob: 8d13a532af895c7b86fdb3db923bafaaad1ce1fb (
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
|
# ex:ts=8
# Ports collection makefile for: white_dune
# Date created: Apr 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= white_dune
PORTVERSION= 0.19b31
CATEGORIES= graphics
MASTER_SITES= http://www.csv.ica.uni-stuttgart.de/vrml/dune/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg
USE_REINPLACE= yes
USE_BISON= yes
USE_MESA= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
ALL_TARGET= # empty
MAN1= dune.1
post-patch:
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e "s/malloc\.h/stdlib.h/g"
@${REINPLACE_CMD} -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
@${REINPLACE_CMD} -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>
|