[63789] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Sun Feb 14 17:29:09 PST 2010
Revision: 63789
http://trac.macports.org/changeset/63789
Author: ryandesign at macports.org
Date: 2010-02-14 17:29:05 -0800 (Sun, 14 Feb 2010)
Log Message:
-----------
g3data: new port, version 1.5.3; see #23589
Added Paths:
-----------
trunk/dports/graphics/g3data/
trunk/dports/graphics/g3data/Portfile
trunk/dports/graphics/g3data/files/
trunk/dports/graphics/g3data/files/patch-Makefile.diff
Added: trunk/dports/graphics/g3data/Portfile
===================================================================
--- trunk/dports/graphics/g3data/Portfile (rev 0)
+++ trunk/dports/graphics/g3data/Portfile 2010-02-15 01:29:05 UTC (rev 63789)
@@ -0,0 +1,45 @@
+# $Id$
+
+PortSystem 1.0
+
+name g3data
+version 1.5.3
+categories graphics x11 science
+maintainers thphys.ox.ac.uk:eyre
+homepage http://www.frantz.fi/software/g3data.php
+master_sites http://www.frantz.fi/software/
+platforms darwin
+
+description g3data is a program to extract data from published \
+ graphs, when the raw data is not available.
+
+long_description g3data is an interactive program, which enables \
+ the user to extract machine-readable data from \
+ published graphs, when the raw data is unavailable. \
+ It is particularly useful for extracting data \
+ from plots published in scientific journals, when \
+ it is inconvenient or impossible to obtain the \
+ original raw data.
+
+checksums md5 21c37526dff8601d699fa511c9d5bc36 \
+ sha1 b4bb26e6e09ed70719ebbb73690f50fef71f61dd \
+ rmd160 010c4f1ff9eb034aa85691cc182432a1c0972677
+
+depends_lib port:gtk2
+#port:openjade
+
+patchfiles patch-Makefile.diff
+
+use_configure no
+
+#build.post_args PREFIX='${prefix}' \
+# ZLIBDIR='${prefix}' \
+# JPEGDIR='${prefix}' \
+# TIFFDIR='${prefix}' \
+# PNGDIR='${prefix}' \
+
+destroot.destdir DESTDIR=${destroot}${prefix}
+
+#destroot.post_args PREFIX='${prefix}' DESTDIR='${destroot}'
+
+livecheck.type none
Property changes on: trunk/dports/graphics/g3data/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/g3data/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/g3data/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/graphics/g3data/files/patch-Makefile.diff 2010-02-15 01:29:05 UTC (rev 63789)
@@ -0,0 +1,47 @@
+--- Makefile.orig 2008-12-14 08:20:17.000000000 +0000
++++ Makefile 2010-02-07 14:28:54.000000000 +0000
+@@ -1,13 +1,15 @@
+ CC=gcc
+ CFLAGS=-Wall `pkg-config --cflags gtk+-2.0`
+ LIBS=`pkg-config --libs gtk+-2.0`
+-bindir ?= /usr/bin
+-mandir ?= /usr/share/man
++#bindir ?= /usr/bin
++#mandir ?= /usr/share/man
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $<
+
+-g3data: main.o sort.o points.o drawing.o g3data.1.gz
++all: g3data
++
++g3data: main.o sort.o points.o drawing.o #g3data.1.gz
+ $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS)
+ strip g3data
+
+@@ -19,17 +21,18 @@
+
+ drawing.o: drawing.c main.h
+
+-g3data.1.gz: g3data.sgml
+- rm -f *.1
+- onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
+- gzip g3data.1
++#g3data.1.gz: g3data.sgml
++# rm -f *.1
++# onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
++# gzip g3data.1
+
+ clean:
+ rm -f *.o g3data g3data.1.gz *~ manpage.*
+
+ install:
+- install g3data $(bindir)
+- install g3data.1.gz $(mandir)/man1
++ cp g3data $(DESTDIR)/bin/g3data
++ #install g3data $(bindir)
++ #install g3data.1.gz $(mandir)/man1
+
+ uninstall:
+- rm $(bindir)/g3data
++ rm $(DESTDIR)/bin/g3data
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100214/0ce787f4/attachment.html>
More information about the macports-changes
mailing list