diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-07-25 23:03:37 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-07-25 23:03:37 +0000 |
commit | 63a20463f0f5a7c1efb722599a3c893b20e481e9 (patch) | |
tree | 68663d66eaf0084c6d1072f91b4d2191dd1d60dd /graphics/giram | |
parent | Update to subversion-0.26.0. (diff) |
Update to 0.3.5
PR: 54867
Notes
Notes:
svn path=/head/; revision=85605
Diffstat (limited to 'graphics/giram')
-rw-r--r-- | graphics/giram/Makefile | 49 | ||||
-rw-r--r-- | graphics/giram/files/patch-configure | 19 | ||||
-rw-r--r-- | graphics/giram/pkg-plist | 92 |
3 files changed, 62 insertions, 98 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile index 6094b74961a6..a809ed23af0f 100644 --- a/graphics/giram/Makefile +++ b/graphics/giram/Makefile @@ -11,33 +11,40 @@ CATEGORIES= graphics MASTER_SITES= http://www.giram.org/downloads/ MAINTAINER= ports@FreeBSD.org -COMMENT= A POV-Ray oriented modeller +COMMENT= Giram is Really A Modeller + +RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31 USE_X_PREFIX= yes -USE_PERL5_BUILD= yes -USE_GNOME= gtk20 +USE_REINPLACE= yes +USE_MESA= yes USE_GMAKE= yes -USE_LIBTOOL= yes +USE_GNOME= gtk20 +WANT_GNOME= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-gl=${X11BASE} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" \ - INTLTOOL_PERL="${PERL}" -CONFIGURE_ARGS= --datadir="${PREFIX}/lib" \ - --with-tutorial-path="${DOCSDIR}" \ - --with-lib3ds-prefix="${LOCALBASE}" -MAN1= giram.1 - -.if defined(WITH_POVRAY31) -BUILD_DEPENDS= povray:${PORTSDIR}/graphics/povray31 -RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray31 + LIBS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mlibcapplet}!="" +USE_GNOME+= libcapplet +PKGNAMESUFFIX= -gnome .else -BUILD_DEPENDS= povray:${PORTSDIR}/graphics/povray -RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray +CONFIGURE_ARGS+=--disable-gnome .endif +pre-patch: + @${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \ + ${WRKSRC}/configure + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/samples/*.pov ${EXAMPLESDIR} -.endif + @${MKDIR} ${PREFIX}/share/doc/giram/SampleScenes + #${INSTALL_DATA} ${WRKSRC}/SampleScenes/* ${PREFIX}/share/doc/giram/SampleScenes/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/giram/files/patch-configure b/graphics/giram/files/patch-configure deleted file mode 100644 index 289774907d39..000000000000 --- a/graphics/giram/files/patch-configure +++ /dev/null @@ -1,19 +0,0 @@ ---- configure.orig Sat Mar 8 21:30:47 2003 -+++ configure Sun May 25 21:41:54 2003 -@@ -5432,6 +5432,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' - +@@ -5843,7 +5844,7 @@ - fi - - --CFLAGS="-g -Wall -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED $CFLAGS" -+CFLAGS="-DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED $CFLAGS" - - if test -n "$DEBUGFLAG"; then - CFLAGS="$DEBUGFLAG $CFLAGS" diff --git a/graphics/giram/pkg-plist b/graphics/giram/pkg-plist index 10b1803f5d15..c4cda55fa8f4 100644 --- a/graphics/giram/pkg-plist +++ b/graphics/giram/pkg-plist @@ -1,53 +1,44 @@ -bin/giram bin/povfront +bin/giram etc/giram/0.3/giramrc etc/giram/0.3/giramrc_user etc/giram/0.3/gtkrc etc/giram/0.3/gtkrc_user etc/giram/0.3/ps-menurc -lib/giram/0.3/color/color1.gcf -lib/giram/0.3/finish/finish1 -lib/giram/0.3/giram_logo.ppm -lib/giram/0.3/giram_splash.ppm -lib/giram/0.3/modules/librender_flat.so -lib/giram/0.3/modules/librender_gouraud.so -lib/giram/0.3/modules/librender_hiddenfaces.so -lib/giram/0.3/modules/librender_povray.so -lib/giram/0.3/modules/librender_raytracing.so -lib/giram/0.3/modules/librender_wireframe.so -lib/giram/0.3/normal/normal1 -lib/giram/0.3/pigment/pigment1 -lib/giram/0.3/shape/shape1 -lib/giram/0.3/texture/texture1 -lib/giram/0.3/tips/giram_conseils.fr.txt -lib/giram/0.3/tips/giram_tips.txt -lib/giram/0.3/user_install +libexec/giram/plug-ins/Spheres libexec/giram/plug-ins/Box libexec/giram/plug-ins/Rotate -libexec/giram/plug-ins/Spheres -%%DOCSDIR%%/Tutorial -%%PORTDOCS%%%%EXAMPLESDIR%%/Cone.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/Disc.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/Giram.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSphereBox1.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSphereBox2.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSphereBox3.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSpherePlane1.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSpherePlane2.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/IntSpherePlane3.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/Triangle.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/basicvue.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/basicvue2.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/basicvue3.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/basicvue4.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/box.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/checker.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/lollipop.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/superel1.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/superel2.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/superel3.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/test.pov -%%PORTDOCS%%%%EXAMPLESDIR%%/torus.pov +man/man1/giram.1 +share/doc/giram/Tutorial +share/giram/0.3/color/color1.gcf +share/giram/0.3/finish/finish1 +share/giram/0.3/normal/normal1 +share/giram/0.3/pigment/pigment1 +share/giram/0.3/shape/shape1 +share/giram/0.3/texture/texture1 +share/giram/0.3/modules/librender_wireframe.so +share/giram/0.3/modules/librender_wireframe.la +share/giram/0.3/modules/librender_wireframe.a +share/giram/0.3/modules/librender_hiddenfaces.so +share/giram/0.3/modules/librender_hiddenfaces.la +share/giram/0.3/modules/librender_hiddenfaces.a +share/giram/0.3/modules/librender_flat.so +share/giram/0.3/modules/librender_flat.la +share/giram/0.3/modules/librender_flat.a +share/giram/0.3/modules/librender_gouraud.so +share/giram/0.3/modules/librender_gouraud.la +share/giram/0.3/modules/librender_gouraud.a +share/giram/0.3/modules/librender_raytracing.so +share/giram/0.3/modules/librender_raytracing.la +share/giram/0.3/modules/librender_raytracing.a +share/giram/0.3/modules/librender_povray.so +share/giram/0.3/modules/librender_povray.la +share/giram/0.3/modules/librender_povray.a +share/giram/0.3/tips/giram_tips.txt +share/giram/0.3/tips/giram_conseils.fr.txt +share/giram/0.3/user_install +share/giram/0.3/giram_logo.ppm +share/giram/0.3/giram_splash.ppm share/locale/ca/LC_MESSAGES/giram.mo share/locale/cs/LC_MESSAGES/giram.mo share/locale/da/LC_MESSAGES/giram.mo @@ -59,8 +50,8 @@ share/locale/fi/LC_MESSAGES/giram.mo share/locale/fr/LC_MESSAGES/giram.mo share/locale/ga/LC_MESSAGES/giram.mo share/locale/gl/LC_MESSAGES/giram.mo -share/locale/hr/LC_MESSAGES/giram.mo share/locale/hu/LC_MESSAGES/giram.mo +share/locale/hr/LC_MESSAGES/giram.mo share/locale/it/LC_MESSAGES/giram.mo share/locale/ja/LC_MESSAGES/giram.mo share/locale/ko/LC_MESSAGES/giram.mo @@ -76,18 +67,3 @@ share/locale/tr/LC_MESSAGES/giram.mo share/locale/uk/LC_MESSAGES/giram.mo share/locale/zh_CN/LC_MESSAGES/giram.mo share/locale/zh_TW/LC_MESSAGES/giram.mo -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -@dirrm %%DOCSDIR%% -@dirrm libexec/giram/plug-ins -@dirrm libexec/giram -@dirrm lib/giram/0.3/tips -@dirrm lib/giram/0.3/texture -@dirrm lib/giram/0.3/shape -@dirrm lib/giram/0.3/pigment -@dirrm lib/giram/0.3/normal -@dirrm lib/giram/0.3/modules -@dirrm lib/giram/0.3/finish -@dirrm lib/giram/0.3/color_map -@dirrm lib/giram/0.3/color -@dirrm lib/giram/0.3 -@dirrm lib/giram |