2013-08-02 05:50:46 +02:00
|
|
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
2002-04-11 21:25:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= white_dune
|
2007-08-07 18:07:03 +02:00
|
|
|
PORTVERSION= ${DISTVERSION:S/pl/./}
|
2011-01-19 14:26:38 +01:00
|
|
|
DISTVERSION= 0.30pl5
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 8
|
2002-09-01 19:02:36 +02:00
|
|
|
PORTEPOCH= 1
|
2002-04-11 21:25:30 +02:00
|
|
|
CATEGORIES= graphics
|
2013-08-02 05:50:46 +02:00
|
|
|
MASTER_SITES= http://vrml.cip.ica.uni-stuttgart.de/dune/
|
2002-04-11 21:25:30 +02:00
|
|
|
|
2011-01-19 14:26:38 +01:00
|
|
|
MAINTAINER= devel@stasyan.com
|
2012-07-25 13:24:09 +02:00
|
|
|
COMMENT= Graphical VRML97 editor and animation tool
|
2002-04-11 21:25:30 +02:00
|
|
|
|
2013-08-02 05:50:46 +02:00
|
|
|
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
2014-12-25 20:04:25 +01:00
|
|
|
libpng.so:${PORTSDIR}/graphics/png
|
2002-04-11 21:25:30 +02:00
|
|
|
|
2011-01-19 14:26:38 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
USES= motif
|
2011-01-19 14:26:38 +01:00
|
|
|
USE_XORG= xft
|
2007-08-07 18:07:03 +02:00
|
|
|
USE_GL= gl glu glut
|
2004-03-08 02:01:31 +01:00
|
|
|
USE_SDL= sdl
|
2002-04-11 21:25:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= YACC="/usr/bin/byacc"
|
2003-04-08 17:00:46 +02:00
|
|
|
CONFIGURE_ARGS= --with-optimization \
|
|
|
|
--without-devil \
|
|
|
|
--with-helpurl="${DOCSDIR}/index.html" \
|
2004-11-22 17:06:05 +01:00
|
|
|
--with-vrml97am1url="${DOCSDIR}/vrml97Amendment1" \
|
|
|
|
--with-x3ddrafturl="${DOCSDIR}/x3dDraft" \
|
|
|
|
--with-scriptednodesurl="${DOCSDIR}/scriptedNodes"
|
2013-08-02 05:50:46 +02:00
|
|
|
CPPFLAGS+= `${SDL_CONFIG} --cflags` -DUSBHID_UCR_DATA -DUSBHID_NEW \
|
|
|
|
-D__FREEBSD__
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= `${SDL_CONFIG} --libs`
|
2008-04-29 23:50:44 +02:00
|
|
|
ALL_TARGET= dune
|
2013-08-02 05:50:46 +02:00
|
|
|
REINPLACE_ARGS= -i ''
|
2008-04-29 23:50:44 +02:00
|
|
|
|
2013-08-02 05:50:46 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
# Try to fix parallel builds (-jX) by calling submakes correctly
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile\* | ${XARGS} ${REINPLACE_CMD} -E \
|
|
|
|
's,cd (.+) *(;|&&) *(make|\$$\(MAKE\)),$$(MAKE) -C \1,'
|
|
|
|
|
2002-04-11 21:25:30 +02:00
|
|
|
do-install:
|
2014-06-16 14:18:26 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/dune ${STAGEDIR}${PREFIX}/bin
|
2013-08-02 05:50:46 +02:00
|
|
|
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} dune4kids illegal2vrml \
|
2014-06-16 14:18:26 +02:00
|
|
|
${STAGEDIR}${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/man && ${INSTALL_MAN} dune.1 illegal2vrml.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2013-08-02 05:50:46 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2014-06-16 14:18:26 +02:00
|
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
2002-04-11 21:25:30 +02:00
|
|
|
.endif
|
|
|
|
|
2011-01-19 14:26:38 +01:00
|
|
|
.include <bsd.port.mk>
|