1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add g3data 1.5.0, utility for extracting data from graphs.

PR:		ports/103397
Submitted by:	trasz <trasz at pin.if.uz.zgora.pl>
This commit is contained in:
Cheng-Lung Sung 2006-10-02 08:59:12 +00:00
parent 9e4ea31415
commit 6bfb583a7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174292
5 changed files with 69 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += fasthenry
SUBDIR += felt
SUBDIR += flounder
SUBDIR += g3data
SUBDIR += gave
SUBDIR += gchempaint
SUBDIR += gchemutils

37
science/g3data/Makefile Normal file
View File

@ -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>

3
science/g3data/distinfo Normal file
View File

@ -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

View File

@ -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

5
science/g3data/pkg-descr Normal file
View File

@ -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