aboutsummaryrefslogtreecommitdiff
path: root/graphics/q-graph/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/q-graph/Makefile')
-rw-r--r--graphics/q-graph/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/q-graph/Makefile b/graphics/q-graph/Makefile
new file mode 100644
index 000000000000..63b94c7bb326
--- /dev/null
+++ b/graphics/q-graph/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: q-graph
+# Date created: 14 August 2003
+# Whom: ag@muwiinfa.geschichte.uni-mainz.de Albert Graef
+#
+# $FreeBSD$
+#
+
+PORTNAME= graph
+PORTVERSION= 1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= q-lang
+PKGNAMEPREFIX= q-
+
+MAINTAINER= ag@muwiinfa.geschichte.uni-mainz.de
+COMMENT= Q-Graph -- graph library and editor for the Q language
+
+RUN_DEPENDS= ${LOCALBASE}/bin/q:${PORTSDIR}/lang/q
+
+USE_REINPLACE= yes
+USE_GNOME= gnometarget
+GNU_CONFIGURE= yes
+
+DATADIR= ${PREFIX}/share/q
+EXAMPLESDIR= ${PREFIX}/share/examples/q/graph
+
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \
+ "s;[(]pkgdatadir[)]/examples;(datadir)/examples/q;"
+
+.include <bsd.port.mk>