[38432] trunk/dports/print/gv
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 20 01:54:44 PDT 2008
Revision: 38432
http://trac.macosforge.org/projects/macports/changeset/38432
Author: ryandesign at macports.org
Date: 2008-07-20 01:54:43 -0700 (Sun, 20 Jul 2008)
Log Message:
-----------
gv: work around build problems on case-insensitive filesystems which result in either ${prefix}/bin/gv or ${prefix}/lib/gv/GV not being the correct file.
See https://savannah.gnu.org/bugs/?23896
Modified Paths:
--------------
trunk/dports/print/gv/Portfile
Added Paths:
-----------
trunk/dports/print/gv/files/
trunk/dports/print/gv/files/patch-Makefile.in.diff
Modified: trunk/dports/print/gv/Portfile
===================================================================
--- trunk/dports/print/gv/Portfile 2008-07-20 08:39:19 UTC (rev 38431)
+++ trunk/dports/print/gv/Portfile 2008-07-20 08:54:43 UTC (rev 38432)
@@ -4,7 +4,7 @@
name gv
version 3.6.5
-revision 0
+revision 1
categories print
maintainers nomaintainer
homepage http://www.gnu.org/software/gv/
@@ -24,8 +24,14 @@
depends_lib port:Xaw3d
depends_run bin:gs:ghostscript
+patchfiles patch-Makefile.in.diff
+
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --disable-dependency-tracking --enable-setenv-code
+post-destroot {
+ move ${destroot}${prefix}/lib/gv/GV.sample ${destroot}${prefix}/lib/gv/GV
+}
+
variant letter description {sets default paper size to letter} {
configure.args-append --with-default-papersize=letter
}
Added: trunk/dports/print/gv/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/print/gv/files/patch-Makefile.in.diff (rev 0)
+++ trunk/dports/print/gv/files/patch-Makefile.in.diff 2008-07-20 08:54:43 UTC (rev 38432)
@@ -0,0 +1,32 @@
+--- src/Makefile.in 2008-07-05 04:56:55.000000000 -0500
++++ src/Makefile.in 2008-07-20 03:36:59.000000000 -0500
+@@ -257,14 +257,14 @@
+ top_srcdir = @top_srcdir@
+ dist_pkglib_DATA = gv_system.ad gv_user.ad gv_class.ad gv_spartan.dat gv_user_res.dat gv_copyright.dat gv_widgetless.dat
+ appdefaultsdir = $(pkglibdir)
+-appdefaults_DATA = GV
++appdefaults_DATA = GV.sample
+ EXTRA_DIST = ad2c gv_font_res.dat gv_layout_res.dat gv_misc_res.dat Aaa_bison.yacc \
+ gv_current.xbm gv_doc.xbm gv_empty.xbm gv_even.xbm gv_icon.xbm gv_odd.xbm \
+ gv_selected.xbm gv_unmark.xbm
+
+
+ # Clean files
+-CLEANFILES = $(srcdir)/GV \
++CLEANFILES = $(srcdir)/GV.sample \
+ $(srcdir)/GV.ad \
+ $(srcdir)/gv_system.ad \
+ $(srcdir)/gv_user.ad \
+@@ -670,9 +670,9 @@
+
+ # Additional rules for generating styles
+
+-GV : $(srcdir)/GV.ad
+- @echo "creating GV"
+- sed -e 's/^[^!]/!&/' $(srcdir)/GV.ad > $(srcdir)/GV
++GV.sample : $(srcdir)/GV.ad
++ @echo "creating GV.sample"
++ sed -e 's/^[^!]/!&/' $(srcdir)/GV.ad > $(srcdir)/GV.sample
+
+ $(srcdir)/GV.ad : $(srcdir)/gv_system.ad
+ @echo "creating GV.ad"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080720/e5e4afe6/attachment.html
More information about the macports-changes
mailing list