diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-14 09:04:29 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-14 09:04:29 +0000 |
commit | e710c21e4e96f98d1e4974a0bf5ee1fd08ec86eb (patch) | |
tree | 12c43109ce5eb5894ea136c5e9b1152b05dcbd94 /graphics/morpheus/Makefile | |
parent | 427a2fcdb9f72ef0fe6b8348162dd16b5150302c (diff) | |
download | ports-e710c21e4e96f98d1e4974a0bf5ee1fd08ec86eb.tar.gz ports-e710c21e4e96f98d1e4974a0bf5ee1fd08ec86eb.zip |
Add morpheus - a mesh (3D model) viewer for GNOME desktop.
Notes
Notes:
svn path=/head/; revision=32602
Diffstat (limited to 'graphics/morpheus/Makefile')
-rw-r--r-- | graphics/morpheus/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/graphics/morpheus/Makefile b/graphics/morpheus/Makefile new file mode 100644 index 000000000000..f6a3ffa91402 --- /dev/null +++ b/graphics/morpheus/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: morpheus +# Date created: 14 September 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= morpheus +PORTVERSION= 0.3 +CATEGORIES= graphics gnome +MASTER_SITES= http://wine.sexcity.pl/morpheus/ + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ + morph.0:${PORTSDIR}/graphics/libmorph \ + gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea +RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_MESA= yes +GNU_CONFIGURE= yes + +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome +CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> |