[74902] trunk/dports/graphics
ryandesign at macports.org
ryandesign at macports.org
Thu Jan 6 01:29:03 PST 2011
Revision: 74902
http://trac.macports.org/changeset/74902
Author: ryandesign at macports.org
Date: 2011-01-06 01:28:56 -0800 (Thu, 06 Jan 2011)
Log Message:
-----------
g2: new port, version 0.72; see #27797
Added Paths:
-----------
trunk/dports/graphics/g2/
trunk/dports/graphics/g2/Portfile
trunk/dports/graphics/g2/files/
trunk/dports/graphics/g2/files/patch-Makefile.in.diff
trunk/dports/graphics/g2/files/patch-configure.in.diff
Added: trunk/dports/graphics/g2/Portfile
===================================================================
--- trunk/dports/graphics/g2/Portfile (rev 0)
+++ trunk/dports/graphics/g2/Portfile 2011-01-06 09:28:56 UTC (rev 74902)
@@ -0,0 +1,44 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name g2
+version 0.72
+categories graphics
+platforms darwin
+maintainers ryandesign
+license LGPL-2.1+
+
+description simple 2-D graphics library
+
+long_description ${name} is a ${description}.
+
+homepage http://g2.sourceforge.net/
+master_sites sourceforge
+
+checksums sha1 38a6865a7456ef12dda5aae8085f9347e8c77e4c \
+ rmd160 946a2752a7cfe90c6594953c383d710b2b80561c
+
+depends_lib port:gd2 \
+ port:xfig \
+ port:xorg-libX11 \
+ port:xorg-libXext
+
+patchfiles patch-configure.in.diff \
+ patch-Makefile.in.diff
+
+use_autoreconf yes
+
+configure.universal_args-delete --disable-dependency-tracking
+
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGES \
+ COPYING \
+ README \
+ TODO \
+ ${docdir}
+}
Property changes on: trunk/dports/graphics/g2/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/g2/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/graphics/g2/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/graphics/g2/files/patch-Makefile.in.diff 2011-01-06 09:28:56 UTC (rev 74902)
@@ -0,0 +1,18 @@
+--- Makefile.in.orig 2006-10-17 13:38:16.000000000 -0500
++++ Makefile.in 2011-01-06 03:14:44.000000000 -0600
+@@ -101,11 +101,11 @@
+ ln -f -s libg2. at LD_SHARED_EXT@ $@
+
+ install: libg2.a
+- test -d $(LIBDIR) || mkdir -p $(LIBDIR)
+- test -d $(INCDIR) || mkdir -p $(INCDIR)
+- $(INSTALL_DATA) libg2.a $(LIBDIR)
++ test -d $(DESTDIR)$(LIBDIR) || mkdir -p $(DESTDIR)$(LIBDIR)
++ test -d $(DESTDIR)$(INCDIR) || mkdir -p $(DESTDIR)$(INCDIR)
++ $(INSTALL_DATA) libg2.a $(DESTDIR)$(LIBDIR)
+ for IFILE in $(INS); do \
+- $(INSTALL_DATA) $$IFILE $(INCDIR); \
++ $(INSTALL_DATA) $$IFILE $(DESTDIR)$(INCDIR); \
+ done
+
+ release: clean doc
Added: trunk/dports/graphics/g2/files/patch-configure.in.diff
===================================================================
--- trunk/dports/graphics/g2/files/patch-configure.in.diff (rev 0)
+++ trunk/dports/graphics/g2/files/patch-configure.in.diff 2011-01-06 09:28:56 UTC (rev 74902)
@@ -0,0 +1,13 @@
+--- configure.in.orig 2006-10-16 16:36:59.000000000 -0500
++++ configure.in 2011-01-06 02:48:39.000000000 -0600
+@@ -59,8 +65,8 @@
+ # and add /usr/local to include and lib path and add -lm (for testing)
+ #
+ AC_PATH_XTRA
+-CFLAGS="$CFLAGS $X_CFLAGS -I/usr/local/include"
+-LIBS="$X_LIBS -L/usr/local/lib"
++CFLAGS="$CFLAGS $X_CFLAGS"
++LIBS="$X_LIBS"
+
+
+ DO_PS='#'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110106/9e0873a3/attachment.html>
More information about the macports-changes
mailing list