2001-04-10 22:31:47 +02:00
|
|
|
# New ports collection makefile for: OpenVRML
|
|
|
|
# Date created: 8 Jan 2001
|
|
|
|
# Whom: Marc van Woerkom <3d@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openvrml
|
2004-04-07 08:28:35 +02:00
|
|
|
PORTVERSION= 0.14.3
|
2004-11-07 23:37:47 +01:00
|
|
|
PORTREVISION= 2
|
2001-04-10 22:31:47 +02:00
|
|
|
CATEGORIES= www graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-11-12 02:13:32 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-04-10 22:31:47 +02:00
|
|
|
|
2004-01-12 01:20:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= VRML97 runtime and browser ("lookat")
|
2001-04-10 22:31:47 +02:00
|
|
|
|
2004-06-21 06:23:12 +02:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-js.pc:${PORTSDIR}/www/mozilla
|
2001-04-10 22:31:47 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2004-04-07 08:28:35 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
|
2004-06-21 06:23:12 +02:00
|
|
|
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/mozilla-js.pc:${PORTSDIR}/www/mozilla
|
2001-04-10 22:31:47 +02:00
|
|
|
|
2002-11-12 02:13:32 +01:00
|
|
|
USE_REINPLACE= yes
|
2004-04-07 08:28:35 +02:00
|
|
|
USE_GL= yes
|
2001-04-10 22:31:47 +02:00
|
|
|
USE_MESA= yes
|
2002-11-12 02:13:32 +01:00
|
|
|
USE_X_PREFIX= yes
|
2004-04-07 08:28:35 +02:00
|
|
|
USE_GNOME= gnomehack
|
2004-09-30 07:32:00 +02:00
|
|
|
USE_GCC= 3.4
|
2004-04-07 08:28:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-11-12 02:13:32 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
2004-06-21 06:23:12 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lXext"
|
2004-04-07 08:28:35 +02:00
|
|
|
CONFIGURE_ARGS= --without-jdk
|
2002-11-12 02:13:32 +01:00
|
|
|
USE_GMAKE= yes
|
2001-04-10 22:31:47 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-04-07 08:28:35 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= # empty, not use * 'cause args too long (for find)
|
|
|
|
.endif
|
|
|
|
|
2004-02-25 11:22:42 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
|
|
|
.endif
|
|
|
|
|
2002-11-12 02:13:32 +01:00
|
|
|
post-patch:
|
2004-06-21 06:23:12 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" \
|
2004-06-19 07:50:06 +02:00
|
|
|
${WRKSRC}/configure
|
2004-04-07 08:28:35 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${FIND} ${PREFIX}/include/openvrml -type f | \
|
|
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
|
|
@${FIND} ${PREFIX}/include/openvrml -type d | ${SORT} -r | \
|
|
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/doc/manual/ ${DOCSDIR}
|
|
|
|
.endif
|
2002-11-12 02:13:32 +01:00
|
|
|
|
2004-02-25 11:22:42 +01:00
|
|
|
.include <bsd.port.post.mk>
|