aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-10-02 16:59:12 +0800
committerclsung <clsung@FreeBSD.org>2006-10-02 16:59:12 +0800
commit875fdf1abf41c4741fc5368784b1f829242435e5 (patch)
treeb586d8834be48e60dbe84a72d0eaee775d50b190
parenta4e99262e68602f0aefbe76b3556d05a42fc385e (diff)
downloadfreebsd-ports-gnome-875fdf1abf41c4741fc5368784b1f829242435e5.tar.gz
freebsd-ports-gnome-875fdf1abf41c4741fc5368784b1f829242435e5.tar.zst
freebsd-ports-gnome-875fdf1abf41c4741fc5368784b1f829242435e5.zip
Add g3data 1.5.0, utility for extracting data from graphs.
PR: ports/103397 Submitted by: trasz <trasz at pin.if.uz.zgora.pl>
-rw-r--r--science/Makefile1
-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
5 files changed, 69 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 43b54fe967f7..47a4a93452db 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -33,6 +33,7 @@
SUBDIR += fasthenry
SUBDIR += felt
SUBDIR += flounder
+ SUBDIR += g3data
SUBDIR += gave
SUBDIR += gchempaint
SUBDIR += gchemutils
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