aboutsummaryrefslogtreecommitdiff
path: root/graphics/g3dviewer
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-07-21 02:41:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-07-21 02:41:06 +0000
commit8f392c07f939e84663672743711ad7fc852b19a0 (patch)
treead7801ab47e86ddd709365d2b5252f28f1daf070 /graphics/g3dviewer
parentb20c5cec36f6bcdea681e4b231b0c34fa488793a (diff)
downloadports-8f392c07f939e84663672743711ad7fc852b19a0.tar.gz
ports-8f392c07f939e84663672743711ad7fc852b19a0.zip
Notes
Diffstat (limited to 'graphics/g3dviewer')
-rw-r--r--graphics/g3dviewer/Makefile25
-rw-r--r--graphics/g3dviewer/distinfo4
-rw-r--r--graphics/g3dviewer/pkg-descr2
-rw-r--r--graphics/g3dviewer/pkg-plist17
4 files changed, 17 insertions, 31 deletions
diff --git a/graphics/g3dviewer/Makefile b/graphics/g3dviewer/Makefile
index 6c30273662c4..6adfe5819e4c 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>
diff --git a/graphics/g3dviewer/distinfo b/graphics/g3dviewer/distinfo
index debf2c97d028..448b1ae31170 100644
--- a/graphics/g3dviewer/distinfo
+++ b/graphics/g3dviewer/distinfo
@@ -1,2 +1,2 @@
-MD5 (g3dviewer-0.0.3.tar.gz) = 532a77983a6a46ef649e5a8b4dd6667a
-SIZE (g3dviewer-0.0.3.tar.gz) = 112849
+MD5 (g3dviewer-0.1.0.tar.gz) = 33f474dc77ef4df54dd380e3e1995a1d
+SIZE (g3dviewer-0.1.0.tar.gz) = 156748
diff --git a/graphics/g3dviewer/pkg-descr b/graphics/g3dviewer/pkg-descr
index c50b4161aa07..ab0febcfab4f 100644
--- a/graphics/g3dviewer/pkg-descr
+++ b/graphics/g3dviewer/pkg-descr
@@ -11,3 +11,5 @@ Some of the features are:
- Wireframe mode
- Specular lighting (not really nice at the moment)
- changable background color :)
+
+WWW: http://automagically.de/?g3dviewer
diff --git a/graphics/g3dviewer/pkg-plist b/graphics/g3dviewer/pkg-plist
index 92a34198b28f..176de1c4ee81 100644
--- a/graphics/g3dviewer/pkg-plist
+++ b/graphics/g3dviewer/pkg-plist
@@ -1,19 +1,2 @@
bin/g3dviewer
include/g3dviewer_plugin.h
-share/g3dviewer/pixmaps/icon16_plugins.xpm
-share/g3dviewer/pixmaps/icon16_model.xpm
-share/g3dviewer/pixmaps/icon16_material.xpm
-share/g3dviewer/plugins/import/imp_lwo.so
-share/g3dviewer/plugins/import/imp_3ds.so
-share/g3dviewer/plugins/import/imp_obj.so
-share/g3dviewer/plugins/import/imp_dxf.so
-share/g3dviewer/plugins/import/imp_iob.so
-share/g3dviewer/plugins/import/imp_md2.so
-share/g3dviewer/plugins/import/imp_nff.so
-share/g3dviewer/plugins/import/imp_heightfield.so
-share/g3dviewer/plugins/image/img_bmp.so
-@dirrm share/g3dviewer/pixmaps
-@dirrm share/g3dviewer/plugins/import
-@dirrm share/g3dviewer/plugins/image
-@dirrm share/g3dviewer/plugins
-@dirrm share/g3dviewer