[24012] trunk/dports/graphics/xfig
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 14 17:08:44 PDT 2007
Revision: 24012
http://trac.macosforge.org/projects/macports/changeset/24012
Author: pguyot at kallisys.net
Date: 2007-04-14 17:08:44 -0700 (Sat, 14 Apr 2007)
Log Message:
-----------
graphics/xfig: update to 3.2.5
Modified Paths:
--------------
trunk/dports/graphics/xfig/Portfile
trunk/dports/graphics/xfig/files/patch-Imakefile
Modified: trunk/dports/graphics/xfig/Portfile
===================================================================
--- trunk/dports/graphics/xfig/Portfile 2007-04-15 00:05:03 UTC (rev 24011)
+++ trunk/dports/graphics/xfig/Portfile 2007-04-15 00:08:44 UTC (rev 24012)
@@ -2,8 +2,7 @@
PortSystem 1.0
name xfig
-version 3.2.4
-revision 5
+version 3.2.5
categories graphics x11
maintainers pguyot at kallisys.net
description Facility for Interactive Generation of figures under X11
@@ -15,28 +14,23 @@
allow inclusion in LaTeX documents).
homepage http://xfig.org/
platforms darwin
-master_sites http://xfig.org/software/xfig/3.2.4/ \
+master_sites http://xfig.org/software/xfig/3.2.5/ \
ftp://www-epb.lbl.gov/xfig/
distname ${name}.${version}
distfiles ${distname}.full${extract.suffix}
-checksums ${distname}.full${extract.suffix} \
- md5 1911fc0f733cb2f40336a8d0e82513de \
- sha1 723bf10355a92c079be08cd7be18b75baaccfbdc \
- rmd160 3cae7c8d3f2a89ef54fd4a4693e84fa7a9bacf44 \
- xfig-3.2.4-Xaw3d-1.5E.udiff \
- md5 d7585496ec07b42f03fce98b432ac22e \
- sha1 8516f66602b11f55b0aa23049ca4c3af60ca7cca \
- rmd160 0ddc33554a8f327e8367a45eddc7ec506838001c
-depends_lib lib:libXaw3d:Xaw3d \
- lib:libpng:libpng \
- lib:libjpeg:jpeg
+checksums md5 fae0c67a3951bd41c057deb63b6aa47a \
+ sha1 ce09d1a74dbddf0bc6b20fe9c558db584fbfed17 \
+ rmd160 0d5ada9e4b7f1dbd8dab8a09fd5946ec0211904c
+depends_lib port:Xaw3d \
+ port:libpng \
+ port:jpeg \
+ port:zlib
depends_run bin:gs:ghostscript \
bin:fig2dev:transfig
use_xmkmf yes
-patch_sites ftp://ftp.visi.com/users/hawkeyd/X/
-patchfiles xfig-3.2.4-Xaw3d-1.5E.udiff \
- patch-Imakefile \
- patch-u_fonts.h
+patchfiles patch-Imakefile \
+ patch-fig.h \
+ patch-w_keyboard.c
post-patch {
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Imakefile
reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/Imakefile
@@ -47,3 +41,6 @@
# (this could be done by handling symlinks better on images)
file delete "${destroot}/usr/X11R6/lib/X11/app-defaults"
}
+
+livecheck.check regex
+livecheck.regex {>Xfig/Transfig (.*) Download</a>}
Modified: trunk/dports/graphics/xfig/files/patch-Imakefile
===================================================================
--- trunk/dports/graphics/xfig/files/patch-Imakefile 2007-04-15 00:05:03 UTC (rev 24011)
+++ trunk/dports/graphics/xfig/files/patch-Imakefile 2007-04-15 00:08:44 UTC (rev 24012)
@@ -1,27 +1,29 @@
---- Imakefile.orig Fri Feb 25 06:33:23 2005
-+++ Imakefile Fri Feb 25 06:33:51 2005
-@@ -41,15 +41,17 @@
- XCOMM different tree than the "correct" tree that your X system expects. The usual
- XCOMM purpose of DESTDIR is to test an install process by installing in a benign area.
-
--XCOMM BINDIR = /usr/bin/X11
+--- Imakefile.orig 2006-10-11 08:19:22.000000000 +0900
++++ Imakefile 2007-04-14 23:36:43.000000000 +0900
+@@ -30,7 +30,8 @@
+ XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
+ XCOMM for it relative to the BINDIR variable.
+ XCOMM
+-BINDIR = /usr/bin
+BINDIR = __PREFIX/bin
+DESTDIR = __DESTROOT
-+MKDIRHIER = mkdirhier
- XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
- XCOMM XAPPLOADDIR = /home/user/xfig
+ XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p
+ MKDIRHIER = mkdirhier
- XCOMM Redefine the following if your PNG library and/or include file
+@@ -72,9 +73,9 @@
+ XCOMM Redefine the following if your PNG library, zlib library and/or include file
XCOMM are in different places
-PNGLIBDIR = $(USRLIBDIR)
-PNGINC = -I/usr/local/include
+-ZLIBDIR = $(USRLIBDIR)
+PNGLIBDIR = __PREFIX/lib
+PNGINC = -I__PREFIX/include
++ZLIBDIR = __PREFIX/lib
XCOMM If don't want JPEG support, comment out the #define USEJPEG line
XCOMM Uncomment the #define for USEJPEG if you want to be able to import
-@@ -68,8 +70,8 @@
+@@ -93,8 +94,8 @@
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
@@ -32,30 +34,22 @@
#else
JPEGLIBDIR = ../jpeg
JPEGINC = -I$(JPEGLIBDIR)
-@@ -105,7 +107,7 @@
- XCOMM Then be sure to change the XAW3DINC to point to the directory where your
- XCOMM 3D Athena widget headers are located
+@@ -166,16 +167,16 @@
+ XCOMM XFIGLIBDIR = $(LIBDIR)
--XCOMM #define XAW3D
-+#define XAW3D
-
- #ifdef XAW3D
- XAW3DINC = -I/usr/include/X11/Xaw3d
-@@ -165,15 +167,15 @@
- XCOMM XFIGLIBDIR = /usr/local/lib/xfig
-
XCOMM use this if you want the multi-key data base file in the standard X11 tree
-XFIGLIBDIR = $(LIBDIR)/xfig
+XFIGLIBDIR = __PREFIX/lib/xfig
XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
--XFIGDOCDIR = /usr/share/doc/xfig
+-XFIGDOCDIR = /usr/local/xfig/doc
+XFIGDOCDIR = __PREFIX/share/doc/xfig
XCOMM MANDIR tells where the standard man pages should go (no need to change it
XCOMM if you want the man pages installed in the standard place on your system
--XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
+ XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
+-MANDIR = /usr/local/xfig/man
+MANDIR = __PREFIX/share/man/$(MANSUFFIX)
XCOMM If your system doesn't have strstr undefine the following definition
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070414/90dcd83c/attachment.html
More information about the macports-changes
mailing list