[24009] trunk/dports/print/transfig
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 14 16:52:09 PDT 2007
Revision: 24009
http://trac.macosforge.org/projects/macports/changeset/24009
Author: pguyot at kallisys.net
Date: 2007-04-14 16:52:08 -0700 (Sat, 14 Apr 2007)
Log Message:
-----------
print/transfig: update to 3.2.5
Modified Paths:
--------------
trunk/dports/print/transfig/Portfile
trunk/dports/print/transfig/files/patch-fig2dev-Imakefile
trunk/dports/print/transfig/files/patch-transfig-Imakefile
Removed Paths:
-------------
trunk/dports/print/transfig/files/patch-fig2dev-dev-gensvg.c
trunk/dports/print/transfig/files/patch-fig2dev-fig2dev.h
Modified: trunk/dports/print/transfig/Portfile
===================================================================
--- trunk/dports/print/transfig/Portfile 2007-04-14 23:44:38 UTC (rev 24008)
+++ trunk/dports/print/transfig/Portfile 2007-04-14 23:52:08 UTC (rev 24009)
@@ -2,32 +2,31 @@
PortSystem 1.0
name transfig
-version 3.2.4
+version 3.2.5
description Tools to convert Xfig's .fig files
-long_description TransFig is a set of tools for creating TeX documents with \
- graphics which are portable, in the sense that they can be \
- printed in a wide variety of environments. \
- Drivers currently exist for the following graphics langauges: \
- (E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, \
- PostScript, and TeXtyl.
+long_description TransFig is a set of tools for creating TeX documents \
+ with graphics which are portable, in the sense that they \
+ can be printed in a wide variety of environments. \
+ Drivers currently exist for the following graphics \
+ languages: (E)EPIC macros, LaTeX picture environment, PIC, \
+ PiCTeX, PostScript, and TeXtyl.
platforms darwin
categories print graphics
maintainers pguyot at kallisys.net
homepage http://xfig.org/
-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}${extract.suffix}
-checksums md5 742de0f7a3cae74d247bbd0c70dd9dd7 \
- sha1 edfec1865dbfe9e7a06ae8be016f1a489b3d307d
+checksums md5 3b2cffdd25529ae5877e305f29aae6d1 \
+ sha1 2657c104d0099dcb4565a8762a9543310e55e767 \
+ rmd160 435615bded662225127ea564fc746e9cb0058f18
depends_lib lib:libpng:libpng
depends_run bin:ppmtogif:netpbm
use_xmkmf yes
-patchfiles patch-fig2dev-dev-gensvg.c \
- patch-fig2dev-dev-Imakefile \
+patchfiles patch-fig2dev-dev-Imakefile \
patch-fig2dev-Imakefile \
- patch-fig2dev-fig2dev.h \
patch-transfig-Imakefile
post-patch {
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/fig2dev/Imakefile
@@ -37,4 +36,7 @@
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/transfig/Imakefile
reinplace "s|__DESTROOT|${destroot}|g" ${worksrcpath}/transfig/Imakefile
}
-destroot.target install install.man
\ No newline at end of file
+destroot.target install install.man
+
+livecheck.check regex
+livecheck.regex {>Xfig/Transfig (.*) Download</a>}
Modified: trunk/dports/print/transfig/files/patch-fig2dev-Imakefile
===================================================================
--- trunk/dports/print/transfig/files/patch-fig2dev-Imakefile 2007-04-14 23:44:38 UTC (rev 24008)
+++ trunk/dports/print/transfig/files/patch-fig2dev-Imakefile 2007-04-14 23:52:08 UTC (rev 24009)
@@ -1,32 +1,32 @@
---- fig2dev/Imakefile.orig Thu Mar 25 22:39:10 2004
-+++ fig2dev/Imakefile Thu Mar 25 22:41:01 2004
-@@ -16,17 +16,23 @@
- XCOMM party to do so, with the only requirement being that this copyright
- XCOMM notice remain intact.
-
+--- fig2dev/Imakefile.orig 2005-10-28 01:56:02.000000000 +0900
++++ fig2dev/Imakefile 2007-04-14 23:01:41.000000000 +0900
+@@ -23,18 +23,21 @@
+ XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
+ XCOMM for it relative to the BINDIR variable.
+ XCOMM
+-XCOMM BINDIR = /usr/bin/X11
+-XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p
+BINDIR = __PREFIX/bin
+DESTDIR = __DESTROOT
+MKDIRHIER = mkdirhier
+
+ 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)
+MANDIR = __PREFIX/share/man/$(MANSUFFIX)
-+INSTALLFLAGS = -c
+
++INSTALLFLAGS = -c
+
XCOMM ******
XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
XCOMM and installed xfig.
-XFIGLIBDIR = /usr/local/lib/X11/xfig
-+XFIGLIBDIR = __PREFIX/lib/xfig
++XFIGLIBDIR = __PREFIX/lib/X11/xfig
XCOMM ******
- XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
- XCOMM comment out NEED_STRERROR with an XCOMM comment.
-
--NEED_STRERROR = -DNEED_STRERROR
-+XCOMM NEED_STRERROR = -DNEED_STRERROR
-
- XCOMM The following probably only applies to Windows 9x/NT:
- XCOMM If your system can open files in text and binary modes and has the
-@@ -39,7 +45,7 @@
+ XCOMM If your system doesn't have the strerror() function (has sys_errlist) then
+@@ -53,7 +56,7 @@
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
@@ -35,41 +35,34 @@
XCOMM ****************
XCOMM Change RGB if necessary, to point to your rgb.txt color database
-@@ -60,8 +66,8 @@
- XCOMM are in different places
+@@ -74,9 +77,9 @@
+ XCOMM file are in different places
#ifdef USEPNG
-PNGLIBDIR = $(USRLIBDIR)
+-ZLIBDIR = $(USRLIBDIR)
-PNGINC = -I/usr/include/X11
+PNGLIBDIR = __PREFIX/lib
++ZLIBDIR = __PREFIX/lib
+PNGINC = -I__PREFIX/include
#endif
XCOMM ****************
-@@ -73,7 +79,7 @@
- XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
- XCOMM
+@@ -92,7 +95,7 @@
--XCOMM #define USEXPM
-+#define USEXPM
-
#ifdef USEXPM
XPMLIBDIR = $(USRLIBDIR)
-@@ -126,7 +132,7 @@
+-XPMINC = -I/usr/include/X11
++XPMINC = -I/usr/X11R6/include/X11
+ #endif
+ XCOMM ****************
+@@ -141,7 +144,7 @@
+
#ifdef I18N
I18N_DEFS = -DI18N
-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
+FIG2DEV_LIBDIR = __PREFIX/lib/fig2dev
- I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
+ I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\"
- install::
-@@ -177,7 +183,7 @@
-
- IMAKE_DEFINES = $(DUSEPNG) $(DUSEXPM)
-
--DEVDEFINES = $(DUSEPNG) $(DUSEXPM) $(XPMINC) $(DDNFSS) $(DDA4) \
-+DEVDEFINES = $(DUSEPNG) $(DUSEXPM) $(PNGINC) $(XPMINC) $(DDNFSS) $(DDA4) \
- $(DDLATEX2E_GRAPHICS) $(DDEPSFIG) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEV_DEFS)
-
- #define IHaveSubdirs
+ #endif /* I18N */
Deleted: trunk/dports/print/transfig/files/patch-fig2dev-dev-gensvg.c
===================================================================
--- trunk/dports/print/transfig/files/patch-fig2dev-dev-gensvg.c 2007-04-14 23:44:38 UTC (rev 24008)
+++ trunk/dports/print/transfig/files/patch-fig2dev-dev-gensvg.c 2007-04-14 23:52:08 UTC (rev 24009)
@@ -1,21 +0,0 @@
---- fig2dev/dev/gensvg.c.orig Wed Jul 23 16:39:14 2003
-+++ fig2dev/dev/gensvg.c Wed Jul 23 16:39:52 2003
-@@ -692,16 +692,14 @@
- if (t->angle != 0) {
- fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
-- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
- rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
- (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
- anchor[t->type]);
- }
- else
-- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
- family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
Deleted: trunk/dports/print/transfig/files/patch-fig2dev-fig2dev.h
===================================================================
--- trunk/dports/print/transfig/files/patch-fig2dev-fig2dev.h 2007-04-14 23:44:38 UTC (rev 24008)
+++ trunk/dports/print/transfig/files/patch-fig2dev-fig2dev.h 2007-04-14 23:52:08 UTC (rev 24009)
@@ -1,19 +0,0 @@
---- fig2dev/fig2dev.h.orig Thu Dec 19 07:45:28 2002
-+++ fig2dev/fig2dev.h Tue Jan 7 20:08:45 2003
-@@ -22,7 +22,6 @@
- #include <sys/file.h>
- #include <signal.h>
- #include <string.h>
--#include <varargs.h>
- #include <pwd.h>
- #include <errno.h>
- #include <time.h>
-@@ -210,7 +209,7 @@
- #endif /* MAXPATHLEN */
- #endif /* PATH_MAX */
-
--#if ( !defined(__NetBSD__) && !defined(__DARWIN__))
-+#if ( !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DARWIN__))
- extern int sys_nerr, errno;
- #endif
-
Modified: trunk/dports/print/transfig/files/patch-transfig-Imakefile
===================================================================
--- trunk/dports/print/transfig/files/patch-transfig-Imakefile 2007-04-14 23:44:38 UTC (rev 24008)
+++ trunk/dports/print/transfig/files/patch-transfig-Imakefile 2007-04-14 23:52:08 UTC (rev 24009)
@@ -1,22 +1,29 @@
---- transfig/Imakefile.orig Thu Mar 25 22:10:42 2004
-+++ transfig/Imakefile Thu Mar 25 22:14:04 2004
-@@ -14,11 +14,18 @@
- XCOMM party to do so, with the only requirement being that this copyright
- XCOMM notice remain intact.
-
+--- transfig/Imakefile.orig 2003-03-26 05:52:37.000000000 +0900
++++ transfig/Imakefile 2007-04-14 23:05:26.000000000 +0900
+@@ -21,18 +21,22 @@
+ XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
+ XCOMM for it relative to the BINDIR variable.
+ XCOMM
+-XCOMM BINDIR = /usr/bin/X11
+-XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
+BINDIR = __PREFIX/bin
+USRLIBDIR = __PREFIX/lib
+DESTDIR = __DESTROOT
+MKDIRHIER = mkdirhier
+
+ 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)
+MANDIR = __PREFIX/share/man/$(MANSUFFIX)
++
+INSTALLFLAGS = -c
-+
- XCOMM Uncomment the USELATEX2E flag in the transfig/Imakefile file to use the
+
+ XCOMM Uncomment the USELATEX2E flag to use the
XCOMM \\usepackage{} command for LaTeX2e.
XCOMM The default is to use \\documentstyle{} for LaTeX209.
-XCOMM USELATEX2E = -DLATEX2E
+USELATEX2E = -DLATEX2E
- XCOMM ******* DON'T CHANGE ANYTHIN BELOW THIS POINT *******
+ XCOMM ******* DON'T CHANGE ANYTHING BELOW THIS POINT *******
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070414/6074a81b/attachment.html
More information about the macports-changes
mailing list