summaryrefslogtreecommitdiff
path: root/graphics/g3dviewer
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-26 22:33:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-26 22:33:58 +0000
commit8f9857c6f423238065cdc25c09e85d9c5d34037d (patch)
tree33ce34b077241271e557b1e0373d5ff6f56066a3 /graphics/g3dviewer
parent- Update to 2.28 (diff)
- Update to 0.1.1
PR: ports/84070 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=140195
Diffstat (limited to 'graphics/g3dviewer')
-rw-r--r--graphics/g3dviewer/Makefile15
-rw-r--r--graphics/g3dviewer/distinfo4
-rw-r--r--graphics/g3dviewer/pkg-plist1
3 files changed, 12 insertions, 8 deletions
diff --git a/graphics/g3dviewer/Makefile b/graphics/g3dviewer/Makefile
index d57407eb287d..4899399ad00c 100644
--- a/graphics/g3dviewer/Makefile
+++ b/graphics/g3dviewer/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= g3dviewer
-PORTVERSION= 0.1.0
-PORTREVISION= 1
+PORTVERSION= 0.1.1
CATEGORIES= graphics
MASTER_SITES= http://automagically.de/files/
@@ -23,13 +22,17 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
-LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
+MAN1= g3dviewer.1
+
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|$$(pkgdatadir)/plugins/|$$(pkglibdir)/plugins/|g'
@${REINPLACE_CMD} -e 's|DBG_CFLAGS="-O2"|DBG_CFLAGS=""|g ; \
s|$$datadir/$$PACKAGE/|$$libdir/$$PACKAGE/|g' ${WRKSRC}/configure
+.for file in plugins/image/Makefile.in plugins/import/Makefile.in
+ @${REINPLACE_CMD} -e 's|= $$(pkgdatadir)|= $$(pkglibdir)|g ; \
+ s|= -Wall|= -fPIC -Wall|g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
diff --git a/graphics/g3dviewer/distinfo b/graphics/g3dviewer/distinfo
index 448b1ae31170..e1813b2aaea4 100644
--- a/graphics/g3dviewer/distinfo
+++ b/graphics/g3dviewer/distinfo
@@ -1,2 +1,2 @@
-MD5 (g3dviewer-0.1.0.tar.gz) = 33f474dc77ef4df54dd380e3e1995a1d
-SIZE (g3dviewer-0.1.0.tar.gz) = 156748
+MD5 (g3dviewer-0.1.1.tar.gz) = 1b2be262eef15aafa26bc33291a446b2
+SIZE (g3dviewer-0.1.1.tar.gz) = 184585
diff --git a/graphics/g3dviewer/pkg-plist b/graphics/g3dviewer/pkg-plist
index 010f920209ce..944fd6f21939 100644
--- a/graphics/g3dviewer/pkg-plist
+++ b/graphics/g3dviewer/pkg-plist
@@ -12,6 +12,7 @@ lib/g3dviewer/plugins/import/imp_md2.so
lib/g3dviewer/plugins/import/imp_nff.so
lib/g3dviewer/plugins/import/imp_obj.so
lib/g3dviewer/plugins/import/imp_q3o.so
+lib/g3dviewer/plugins/import/imp_vrml.so
%%DATADIR%%/pixmaps/icon16_material.xpm
%%DATADIR%%/pixmaps/icon16_model.xpm
%%DATADIR%%/pixmaps/icon16_plugins.xpm