diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2003-02-09 04:26:33 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2003-02-09 04:26:33 +0000 |
commit | 365b28cd15610be59af256fa0bc86773b221fc29 (patch) | |
tree | 8734a39ce674d738ebcbc3119d98ac6e7e8eeb74 /print | |
parent | a544736ed70e8fe775f15da18e2f392db494231f (diff) | |
download | ports-365b28cd15610be59af256fa0bc86773b221fc29.tar.gz ports-365b28cd15610be59af256fa0bc86773b221fc29.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/transfig/Makefile | 9 | ||||
-rw-r--r-- | print/transfig/distinfo | 2 | ||||
-rw-r--r-- | print/transfig/files/patch-ac | 75 | ||||
-rw-r--r-- | print/transfig/files/patch-bb | 12 | ||||
-rw-r--r-- | print/transfig/files/patch-fig2dev_dev_genemf.h | 13 | ||||
-rw-r--r-- | print/transfig/files/patch-fig2dev_fig2dev.h | 13 | ||||
-rw-r--r-- | print/transfig/files/patch-transfig_Imakefile | 11 | ||||
-rw-r--r-- | print/transfig/pkg-plist | 12 |
8 files changed, 100 insertions, 47 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile index 91911d86ba7a..e1a658a8971f 100644 --- a/print/transfig/Makefile +++ b/print/transfig/Makefile @@ -6,17 +6,16 @@ # PORTNAME= transfig -PORTVERSION= 3.2.3d +PORTVERSION= 3.2.4 CATEGORIES= print MASTER_SITES= http://www.xfig.org/xfigdist/ \ - ftp://www-epb.lbl.gov/xfig/ -MASTER_SITE_SUBDIR= applications/drawing_tools/transfig + ftp://www-epb.lbl.gov/xfig/%SUBDIR%/ +MASTER_SITE_SUBDIR= . previous_versions DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= chuckr@FreeBSD.org -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.5:${PORTSDIR}/graphics/png +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm USE_IMAKE= yes diff --git a/print/transfig/distinfo b/print/transfig/distinfo index 8adcf25ff90c..b9794a374a79 100644 --- a/print/transfig/distinfo +++ b/print/transfig/distinfo @@ -1 +1 @@ -MD5 (transfig.3.2.3d.tar.gz) = 4fbf4184fe2df4fe9bb5130b6e19907c +MD5 (transfig.3.2.4.tar.gz) = 742de0f7a3cae74d247bbd0c70dd9dd7 diff --git a/print/transfig/files/patch-ac b/print/transfig/files/patch-ac index 2f21fef1ba35..26cb4f835670 100644 --- a/print/transfig/files/patch-ac +++ b/print/transfig/files/patch-ac @@ -1,15 +1,22 @@ ---- fig2dev/Imakefile.orig Fri Apr 20 02:19:38 2001 -+++ fig2dev/Imakefile Tue Jun 5 23:18:08 2001 -@@ -28,7 +28,7 @@ +--- fig2dev/Imakefile.orig Fri Dec 20 02:33:44 2002 ++++ fig2dev/Imakefile Wed Jan 8 08:36:50 2003 +@@ -20,13 +20,13 @@ XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled - XCOMM and installed xfig. This will be made automatic in the future. + XCOMM and installed xfig. -XFIGLIBDIR = /usr/local/lib/X11/xfig +XFIGLIBDIR = $(LIBDIR)/xfig XCOMM ****** XCOMM If your system has the strerror() function (doesn't have sys_errlist) then -@@ -47,7 +47,7 @@ + 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 +39,7 @@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures @@ -18,18 +25,18 @@ XCOMM **************** XCOMM Change RGB if necessary, to point to your rgb.txt color database -@@ -65,8 +65,8 @@ - #define USEPNG +@@ -60,8 +60,8 @@ + XCOMM are in different places #ifdef USEPNG -PNGLIBDIR = $(USRLIBDIR) -PNGINC = -I/usr/include/X11 +PNGLIBDIR = ${LOCALBASE}/lib -+PNGINC = -I${LOCALBASE}/include ++PNGINC = -I${LOCALBASE}/include/libpng #endif XCOMM **************** -@@ -78,11 +78,11 @@ +@@ -73,11 +73,11 @@ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h) XCOMM @@ -43,18 +50,7 @@ #endif XCOMM **************** -@@ -104,8 +104,8 @@ - - #ifdef USEJPEG - #ifdef USEINSTALLEDJPEG --JPEGLIBDIR = /usr/local/lib --JPEGINCDIR = /usr/include/X11 -+JPEGLIBDIR = ${LOCALBASE}/lib -+JPEGINCDIR = ${LOCALBASE}/include - #else - JPEGLIBDIR = ../jpeg - JPEGINCDIR = $(JPEGLIBDIR) -@@ -158,7 +158,7 @@ +@@ -126,23 +126,23 @@ #ifdef I18N I18N_DEFS = -DI18N @@ -63,3 +59,40 @@ I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\" install:: + [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR) +- $(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR) ++ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR) + ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \ + rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \ + $(LN) japanese.ps ja.ps; $(LN) japanese.ps ja_JP.ps; \ + $(LN) japanese.ps ja_JP.ujis.ps; $(LN) japanese.ps ja_JP.eucJP.ps; \ + $(LN) japanese.ps ja_JP.EUC.ps ) +- $(INSTALL) -c dev/korean.ps $(DESTDIR)$(FIG2DEV_LIBDIR) ++ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) dev/korean.ps $(DESTDIR)$(FIG2DEV_LIBDIR) + ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \ + rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps; \ + $(LN) korean.ps ko.ps; $(LN) korean.ps ko_KR.ps; \ + $(LN) korean.ps ko_KR.eucKR.ps; $(LN) korean.ps ko_KR.EUC.ps ) +- $(INSTALL) -c dev/cs_CZ.ps $(DESTDIR)$(FIG2DEV_LIBDIR) ++ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) dev/cs_CZ.ps $(DESTDIR)$(FIG2DEV_LIBDIR) + ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \ + rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps; \ + $(LN) cs_CZ.ps hr_HR.ps; $(LN) cs_CZ.ps hu_HU.ps; \ +@@ -177,7 +177,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 +@@ -233,7 +233,7 @@ + else (set -x; $(MKDIRHIER) $(DESTDIR)$(XFIGLIBDIR)/bitmaps ); fi ; \ + echo Copying bitmap files for tk to $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ + for f in * ; do \ +- $(INSTALL) -c $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ ++ $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$f $(DESTDIR)$(XFIGLIBDIR)/bitmaps ; \ + done) ; + + install.all:: diff --git a/print/transfig/files/patch-bb b/print/transfig/files/patch-bb deleted file mode 100644 index 0501f3688635..000000000000 --- a/print/transfig/files/patch-bb +++ /dev/null @@ -1,12 +0,0 @@ -*** fig2dev/dev/readjpg.c.orig Tue Dec 21 09:52:00 1999 ---- fig2dev/dev/readjpg.c Tue Jun 19 08:53:20 2001 -*************** -*** 39,44 **** ---- 39,45 ---- - { - - *llx = *lly = 0; -+ pic->transp = -1; - pict = pic; /* for global access to the object */ - if (!read_JPEG_file(file)) - return 0; diff --git a/print/transfig/files/patch-fig2dev_dev_genemf.h b/print/transfig/files/patch-fig2dev_dev_genemf.h new file mode 100644 index 000000000000..fae1909d75c4 --- /dev/null +++ b/print/transfig/files/patch-fig2dev_dev_genemf.h @@ -0,0 +1,13 @@ +--- fig2dev/dev/genemf.h.orig Thu Dec 19 07:42:05 2002 ++++ fig2dev/dev/genemf.h Tue Jan 7 20:16:08 2003 +@@ -30,8 +30,10 @@ + #ifndef __USE_MISC + /* Old compatibility names for C types. */ + typedef unsigned long int ulong; ++#ifndef __FreeBSD__ + typedef unsigned short int ushort; + typedef unsigned int uint; ++#endif + #endif + + diff --git a/print/transfig/files/patch-fig2dev_fig2dev.h b/print/transfig/files/patch-fig2dev_fig2dev.h index d9806c495fa7..9aa5bece73d7 100644 --- a/print/transfig/files/patch-fig2dev_fig2dev.h +++ b/print/transfig/files/patch-fig2dev_fig2dev.h @@ -1,14 +1,11 @@ - -$FreeBSD$ - ---- fig2dev/fig2dev.h.orig Thu Aug 15 21:56:05 2002 -+++ fig2dev/fig2dev.h Thu Aug 15 21:56:40 2002 -@@ -186,7 +186,7 @@ +--- fig2dev/fig2dev.h.orig Thu Dec 19 07:45:28 2002 ++++ fig2dev/fig2dev.h Tue Jan 7 20:08:45 2003 +@@ -210,7 +210,7 @@ #endif /* MAXPATHLEN */ #endif /* PATH_MAX */ --#ifndef __NetBSD__ -+#if !defined(__FreeBSD__) && !defined(__NetBSD__) +-#if ( !defined(__NetBSD__) && !defined(__DARWIN__)) ++#if ( !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DARWIN__)) extern int sys_nerr, errno; #endif diff --git a/print/transfig/files/patch-transfig_Imakefile b/print/transfig/files/patch-transfig_Imakefile new file mode 100644 index 000000000000..296d2694da02 --- /dev/null +++ b/print/transfig/files/patch-transfig_Imakefile @@ -0,0 +1,11 @@ +--- transfig/Imakefile.orig Thu Dec 19 07:44:03 2002 ++++ transfig/Imakefile Fri Jan 10 17:28:18 2003 +@@ -18,7 +18,7 @@ + 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 ******* + diff --git a/print/transfig/pkg-plist b/print/transfig/pkg-plist index ef7e0b8c2cd5..6d0fcdf73b43 100644 --- a/print/transfig/pkg-plist +++ b/print/transfig/pkg-plist @@ -4,6 +4,18 @@ bin/fig2ps2tex.sh bin/pic2tpic bin/transfig lib/X11/fig2dev/cs_CZ.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/hr_HR.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/hu_HU.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/pl_PL.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/ro_RO.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/sk_SK.ps +@exec ln -sf cs_CZ.ps %D/lib/X11/fig2dev/sl_SI.ps +@unexec rm -f %D/lib/X11/fig2dev/sl_SI.ps +@unexec rm -f %D/lib/X11/fig2dev/sk_SK.ps +@unexec rm -f %D/lib/X11/fig2dev/ro_RO.ps +@unexec rm -f %D/lib/X11/fig2dev/pl_PL.ps +@unexec rm -f %D/lib/X11/fig2dev/hu_HU.ps +@unexec rm -f %D/lib/X11/fig2dev/hr_HR.ps lib/X11/fig2dev/japanese.ps @exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja.ps @exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.EUC.ps |