summaryrefslogtreecommitdiffstats
path: root/graphics/g3dviewer/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-07-21 02:41:06 +0000
committerijliao <ijliao@FreeBSD.org>2005-07-21 02:41:06 +0000
commit8b3ea78abe30709094e0e6aa2d73d590ebe77b60 (patch)
tree18340410fa6f737a800adc764a9133089e16d64e /graphics/g3dviewer/Makefile
parent63055388dfedbc34ded7f2faac4b5cd93796864d (diff)
downloadFreeBSD-ports-8b3ea78abe30709094e0e6aa2d73d590ebe77b60.zip
FreeBSD-ports-8b3ea78abe30709094e0e6aa2d73d590ebe77b60.tar.gz
upgrade to 0.1.0
Diffstat (limited to 'graphics/g3dviewer/Makefile')
-rw-r--r--graphics/g3dviewer/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/graphics/g3dviewer/Makefile b/graphics/g3dviewer/Makefile
index 6c30273..6adfe58 100644
--- a/graphics/g3dviewer/Makefile
+++ b/graphics/g3dviewer/Makefile
@@ -7,25 +7,26 @@
#
PORTNAME= g3dviewer
-PORTVERSION= 0.0.3
-PORTREVISION= 1
+PORTVERSION= 0.1.0
+PORTREVISION= 0
CATEGORIES= graphics
-MASTER_SITES= #
-
-DEPRECATED= "master site disappeared"
-EXPIRATION_DATE=2005-07-31
+MASTER_SITES= http://automagically.de/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3D file viewer for GTK+
-LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
+LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
-USE_GNOME= gtk12
+USE_GNOME= gtk20 pkgconfig
USE_MESA= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= \
- CPPFLAGS="${PTHREAD_CFLAGS} `${GTK_CONFIG} --cflags` -fPIC" \
- LDFLAGS="${PTHREAD_LIBS} `${GTK_CONFIG} --libs` -lGL -lGLU -lglut"
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
+
+post-install:
+ @${FIND} ${DATADIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${DATADIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud