summaryrefslogtreecommitdiffstats
path: root/graphics/gsculpt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gsculpt/Makefile')
-rw-r--r--graphics/gsculpt/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/graphics/gsculpt/Makefile b/graphics/gsculpt/Makefile
new file mode 100644
index 000000000..4267a45ca
--- /dev/null
+++ b/graphics/gsculpt/Makefile
@@ -0,0 +1,38 @@
+# ex:ts=8
+# New ports collection makefile for: gSculpt
+# Date created: Oct 10, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= gsculpt
+PORTVERSION= 0.3
+PORTREVISION= 4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= gSculpt-${PORTVERSION}-src
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An Opensource 3D modelling application
+
+PLIST_FILES= bin/gsculpt
+WRKSRC= ${WRKDIR}/gSculpt-${PORTVERSION}
+USE_GNOME= gtk12
+USE_GMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e "s,-O3 -Wall -Werror,${CXXFLAGS},g ; \
+ s,gtk-config,${GTK_CONFIG},g ; \
+ s,/usr/include/glib.h,${LOCALBASE}/include/glib12/glib.h,g ; \
+ s,/usr/include/gtk/,${LOCALBASE}/include/gtk12/gtk/,g ; \
+ s,/usr/include/gdk/,${LOCALBASE}/include/gtk12/gdk/,g" \
+ ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsculpt ${PREFIX}/bin
+
+.include <bsd.port.post.mk>