diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-09-14 17:04:29 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-09-14 17:04:29 +0800 |
commit | 10b3df4319a56f0e8d33a97a98d0391119ea9c35 (patch) | |
tree | 8c52f67a78e6118e5cd22fe0c61c806aa6da92b4 /graphics/morpheus | |
parent | 7db862801678b33b03f7a301c40616451259d40a (diff) | |
download | freebsd-ports-gnome-10b3df4319a56f0e8d33a97a98d0391119ea9c35.tar.gz freebsd-ports-gnome-10b3df4319a56f0e8d33a97a98d0391119ea9c35.tar.zst freebsd-ports-gnome-10b3df4319a56f0e8d33a97a98d0391119ea9c35.zip |
Add morpheus - a mesh (3D model) viewer for GNOME desktop.
Diffstat (limited to 'graphics/morpheus')
-rw-r--r-- | graphics/morpheus/Makefile | 42 | ||||
-rw-r--r-- | graphics/morpheus/distinfo | 1 | ||||
-rw-r--r-- | graphics/morpheus/files/patch-aa | 26 | ||||
-rw-r--r-- | graphics/morpheus/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/morpheus/pkg-descr | 6 | ||||
-rw-r--r-- | graphics/morpheus/pkg-plist | 2 |
6 files changed, 78 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> diff --git a/graphics/morpheus/distinfo b/graphics/morpheus/distinfo new file mode 100644 index 000000000000..dfc8b07602dc --- /dev/null +++ b/graphics/morpheus/distinfo @@ -0,0 +1 @@ +MD5 (morpheus-0.3.tar.gz) = 23f9af3e8b1ed538fb98a6f686c84dc7 diff --git a/graphics/morpheus/files/patch-aa b/graphics/morpheus/files/patch-aa new file mode 100644 index 000000000000..8fbd2cee19ab --- /dev/null +++ b/graphics/morpheus/files/patch-aa @@ -0,0 +1,26 @@ +--- src/main.c 2000/09/14 08:12:19 1.1 ++++ src/main.c 2000/09/14 08:13:43 +@@ -186,11 +186,6 @@ + { "application/x-color", 0, TARGET_COLOR } + }; + +- if( gdk_gl_query() == FALSE ) { +- g_print( "no OpenGL capability\n" ); +- return 0; +- } +- + /* if( gpLoadScene( argv[ 1 ] ) ) + return 0; + */ +@@ -199,6 +194,11 @@ + textdomain( PACKAGE ); + + gnome_init( "morpheus", VERSION, argc, argv ); ++ ++ if( gdk_gl_query() == FALSE ) { ++ g_print( "no OpenGL capability\n" ); ++ return 0; ++ } + + app1 = create_app1(); + morpheus.app = app1; diff --git a/graphics/morpheus/pkg-comment b/graphics/morpheus/pkg-comment new file mode 100644 index 000000000000..73fcc7c8ea89 --- /dev/null +++ b/graphics/morpheus/pkg-comment @@ -0,0 +1 @@ +A mesh (3D model) viewer for GNOME desktop diff --git a/graphics/morpheus/pkg-descr b/graphics/morpheus/pkg-descr new file mode 100644 index 000000000000..5ce2f0c494bb --- /dev/null +++ b/graphics/morpheus/pkg-descr @@ -0,0 +1,6 @@ +Morpheus is a mesh (3D model) viewer for GNOME desktop. It uses OpenGL as a +rendering API via GtkGLArea widget, which is glue between Gtk+ widget toolkit +and Mesa library, the free implementation of OpenGL. Models are loaded with +libmorph library. + +WWW: http://wine.sexcity.pl/morpheus/ diff --git a/graphics/morpheus/pkg-plist b/graphics/morpheus/pkg-plist new file mode 100644 index 000000000000..f1839e83be88 --- /dev/null +++ b/graphics/morpheus/pkg-plist @@ -0,0 +1,2 @@ +bin/morpheus +share/gnome/apps/Graphics/morpheus.desktop |