aboutsummaryrefslogtreecommitdiff
path: root/science/g3data
diff options
context:
space:
mode:
Diffstat (limited to 'science/g3data')
-rw-r--r--science/g3data/Makefile37
-rw-r--r--science/g3data/distinfo3
-rw-r--r--science/g3data/files/patch-Makefile23
-rw-r--r--science/g3data/pkg-descr5
4 files changed, 68 insertions, 0 deletions
diff --git a/science/g3data/Makefile b/science/g3data/Makefile
new file mode 100644
index 000000000000..afca3dea1221
--- /dev/null
+++ b/science/g3data/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: g3data
+# Date created: 2006-09-15
+# Whom: trasz <trasz@pin.if.uz.zgora.pl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= g3data
+PORTVERSION= 1.5.0
+CATEGORIES= science
+MASTER_SITES= http://www.frantz.fi/software/
+
+MAINTAINER= trasz@pin.if.uz.zgora.pl
+COMMENT= Utility for extracting data from graphs
+
+BUILD_DEPENDS= nsgmls:${PORTSDIR}/textproc/jade \
+ ${LOCALBASE}/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl:${PORTSDIR}/textproc/docbook-utils \
+ ${LOCALBASE}/share/sgml/docbook/4.1/docbook.dtd:${PORTSDIR}/textproc/docbook-410
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk20
+ALL_TARGET=
+MAKE_ENV= PREFIX=${PREFIX}
+MAN1= g3data.1
+MANCOMPRESSED= yes
+PLIST_FILES= bin/g3data %%EXAMPLESDIR%%/test1.png %%EXAMPLESDIR%%/test1.values \
+ %%EXAMPLESDIR%%/test2.png %%EXAMPLESDIR%%/test2.values
+PLIST_DIRS= %%EXAMPLESDIR%%
+
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test1.png ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test1.values ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test2.png ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test2.values ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/science/g3data/distinfo b/science/g3data/distinfo
new file mode 100644
index 000000000000..3cd6dc7ba09a
--- /dev/null
+++ b/science/g3data/distinfo
@@ -0,0 +1,3 @@
+MD5 (g3data-1.5.0.tar.gz) = 95a70a4f0a0c622d17619f3c24e51f6f
+SHA256 (g3data-1.5.0.tar.gz) = d68974040e908655651b9951d16f64d3af952432a4000114950a39377e699107
+SIZE (g3data-1.5.0.tar.gz) = 44921
diff --git a/science/g3data/files/patch-Makefile b/science/g3data/files/patch-Makefile
new file mode 100644
index 000000000000..0d1d738bfacf
--- /dev/null
+++ b/science/g3data/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig Sat Oct 8 12:05:13 2005
++++ Makefile Tue Sep 19 12:03:46 2006
+@@ -1,8 +1,7 @@
+-CC=gcc
+-CFLAGS=-Wall `pkg-config --cflags gtk+-2.0`
++CFLAGS+=-Wall `pkg-config --cflags gtk+-2.0`
+ LIBS=`pkg-config --libs gtk+-2.0`
+-bindir ?= /usr/bin
+-mandir ?= /usr/share/man
++bindir= ${PREFIX}/bin
++mandir= ${PREFIX}/man
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
+@@ -21,7 +20,7 @@
+
+ g3data.1.gz: g3data.sgml
+ rm -f *.1
+- onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
++ nsgmls g3data.sgml | sgmlspl /usr/local/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
+ mv *.1 g3data.1
+ gzip g3data.1
+
diff --git a/science/g3data/pkg-descr b/science/g3data/pkg-descr
new file mode 100644
index 000000000000..88ddc777c014
--- /dev/null
+++ b/science/g3data/pkg-descr
@@ -0,0 +1,5 @@
+g3data is used for extracting data from graphs. In publications
+graphs often are included, but the actual data is missing. g3data
+makes the extracting process much easier.
+
+WWW: http://www.frantz.fi/software/g3data.php