Upgrade to version 3.2.3.

This commit is contained in:
kevlo 2000-02-03 03:19:06 +00:00
parent e3859df644
commit 7b4f217f68
5 changed files with 155 additions and 21 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 1999/12/08 05:11:21 brad Exp $
# $OpenBSD: Makefile,v 1.9 2000/02/03 03:19:06 kevlo Exp $
DISTNAME= transfig.3.2.1
PKGNAME= transfig-3.2.1
DISTNAME= transfig.3.2.3
PKGNAME= transfig-3.2.3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITES= ftp://www-epb.lbl.gov/xfig/
MASTER_SITE_SUBDIR= applications/drawing_tools/transfig
NEED_VERSION= 1.88
@ -15,4 +15,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5
USE_IMAKE= yes
post-patch:
perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/fig2dev/Imakefile
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (transfig.3.2.1.tar.gz) = 6bc1ecdd6b72da1bf3ad4ffcb7975fb9
RMD160 (transfig.3.2.1.tar.gz) = ef6c3d125a90be892bff33e04efba834eb3e62e2
SHA1 (transfig.3.2.1.tar.gz) = b830046f0e63c5a887296e9fcb472dabc2e7b7a0
MD5 (transfig.3.2.3.tar.gz) = 1cd02e931b9cf7dfb955694369e72c8c
RMD160 (transfig.3.2.3.tar.gz) = 707a6a4ee991008b71cb8fcdc2c07c95941bcdb0
SHA1 (transfig.3.2.3.tar.gz) = 3b8c59c2dec59565c73e10404d10db5733cd8f53

View File

@ -0,0 +1,11 @@
--- fig2dev/dev/Imakefile.orig Thu Jan 6 03:30:09 2000
+++ fig2dev/dev/Imakefile Sat Jan 22 10:15:39 2000
@@ -22,7 +22,7 @@
XCOMM the party supplying this software to the X Consortium.
INCLUDES = -I.. -I../..
-#ifdef JPEGINCDIR
+#ifdef USE_JPEG
JPEGINC = -I$(JPEGINCDIR)
#endif

View File

@ -1,20 +1,70 @@
--- fig2dev/Imakefile.orig Tue Jun 30 16:52:50 1998
+++ fig2dev/Imakefile Fri Jul 3 21:19:57 1998
@@ -42,7 +42,7 @@
--- fig2dev/Imakefile.orig Fri Jan 14 12:59:04 2000
+++ fig2dev/Imakefile Sat Jan 22 09:16:13 2000
@@ -27,7 +27,7 @@
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.
-XFIGLIBDIR = /usr/local/lib/X11/xfig
+XFIGLIBDIR = $(LIBDIR)/xfig
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
XCOMM comment out NEED_STRERROR with an XCOMM comment.
@@ -38,7 +38,7 @@
XCOMM inline functions. With the "INLINE" keyword, you should notice that
XCOMM the display will be a bit faster in complex figures
-XCOMM USEINLINE = -DUSE_INLINE
+USEINLINE = -DUSE_INLINE
XCOMM Unomment the #define for USEXPM if you want to use the XPM
XCOMM (color pixmap) package.
@@ -154,7 +154,7 @@
XCOMM Change RGB if necessary, to point to your rgb.txt color database
XCOMM file (for X11). This is needed for the -g (background color) option.
@@ -54,11 +54,11 @@
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
XCOMM
-XCOMM #define USEXPM
+#define USEXPM
#ifdef USEXPM
XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I/usr/include/X11
+XPMINC = -I$(INCDIR)/X11
#endif
XCOMM For Linux machines or any machines that have a separate library for
@@ -87,8 +87,8 @@
#ifdef USEJPEG
#ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGLIBDIR = %%LOCALBASE%%/lib
+JPEGINCDIR = %%LOCALBASE%%/include
#else
JPEGLIBDIR = ../jpeg
JPEGINCDIR = $(JPEGLIBDIR)
@@ -127,12 +127,12 @@
XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig.
-XCOMM #define I18N
+#define I18N
#ifdef I18N
I18N_DEFS = -DI18N
-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
-I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"'
+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
+I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(FIG2DEV_LIBDIR)\"'
install::
[ -d $(FIG2DEV_LIBDIR) ] || mkdir $(FIG2DEV_LIBDIR)
@@ -177,7 +177,7 @@
DUSEJPEG = -DUSE_JPEG
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGINCDIR = /usr/local/include
-JPEGLIBDIR = /usr/local/lib
+JPEGLIBDIR = %%LOCALBASE%%/lib
JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
XCOMM this is relative to this directory (transfig/fig2dev)

View File

@ -1,9 +1,79 @@
bin/transfig
bin/fig2dev
bin/fig2ps2tex
bin/fig2ps2tex.sh
bin/pic2tpic
man/cat1/transfig.0
man/cat1/fig2ps2tex.0
man/cat1/pic2tpic.0
man/cat1/fig2dev.0
bin/transfig
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
@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.eucJP.ps
@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.ps
@exec ln -sf japanese.ps %D/lib/X11/fig2dev/ja_JP.ujis.ps
@unexec rm -f %D/lib/X11/fig2dev/ja_JP.ujis.ps
@unexec rm -f %D/lib/X11/fig2dev/ja_JP.ps
@unexec rm -f %D/lib/X11/fig2dev/ja_JP.eucJP.ps
@unexec rm -f %D/lib/X11/fig2dev/ja_JP.EUC.ps
@unexec rm -f %D/lib/X11/fig2dev/ja.ps
lib/X11/fig2dev/korean.ps
@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko.ps
@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.EUC.ps
@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.eucKR.ps
@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.ps
@exec ln -sf korean.ps %D/lib/X11/fig2dev/ko_KR.ujis.ps
@unexec rm -f %D/lib/X11/fig2dev/ko_KR.ujis.ps
@unexec rm -f %D/lib/X11/fig2dev/ko_KR.ps
@unexec rm -f %D/lib/X11/fig2dev/ko_KR.eucKR.ps
@unexec rm -f %D/lib/X11/fig2dev/ko_KR.EUC.ps
@unexec rm -f %D/lib/X11/fig2dev/ko.ps
lib/X11/xfig/bitmaps/bricks.bmp
lib/X11/xfig/bitmaps/circles.bmp
lib/X11/xfig/bitmaps/crosshatch.bmp
lib/X11/xfig/bitmaps/crosshatch30.bmp
lib/X11/xfig/bitmaps/crosshatch45.bmp
lib/X11/xfig/bitmaps/dash.bmp
lib/X11/xfig/bitmaps/dashDot.bmp
lib/X11/xfig/bitmaps/dashDotDot.bmp
lib/X11/xfig/bitmaps/dashDotDotDot.bmp
lib/X11/xfig/bitmaps/dot.bmp
lib/X11/xfig/bitmaps/fishscales.bmp
lib/X11/xfig/bitmaps/hexagons.bmp
lib/X11/xfig/bitmaps/horiz_saw.bmp
lib/X11/xfig/bitmaps/horizontal.bmp
lib/X11/xfig/bitmaps/left30.bmp
lib/X11/xfig/bitmaps/left45.bmp
lib/X11/xfig/bitmaps/leftshingle.bmp
lib/X11/xfig/bitmaps/octagons.bmp
lib/X11/xfig/bitmaps/p13.bmp
lib/X11/xfig/bitmaps/right30.bmp
lib/X11/xfig/bitmaps/right45.bmp
lib/X11/xfig/bitmaps/rightshingle.bmp
lib/X11/xfig/bitmaps/small_fishscales.bmp
lib/X11/xfig/bitmaps/sp0.bmp
lib/X11/xfig/bitmaps/sp1.bmp
lib/X11/xfig/bitmaps/sp10.bmp
lib/X11/xfig/bitmaps/sp11.bmp
lib/X11/xfig/bitmaps/sp12.bmp
lib/X11/xfig/bitmaps/sp13.bmp
lib/X11/xfig/bitmaps/sp14.bmp
lib/X11/xfig/bitmaps/sp15.bmp
lib/X11/xfig/bitmaps/sp16.bmp
lib/X11/xfig/bitmaps/sp17.bmp
lib/X11/xfig/bitmaps/sp18.bmp
lib/X11/xfig/bitmaps/sp19.bmp
lib/X11/xfig/bitmaps/sp2.bmp
lib/X11/xfig/bitmaps/sp20.bmp
lib/X11/xfig/bitmaps/sp3.bmp
lib/X11/xfig/bitmaps/sp4.bmp
lib/X11/xfig/bitmaps/sp5.bmp
lib/X11/xfig/bitmaps/sp6.bmp
lib/X11/xfig/bitmaps/sp7.bmp
lib/X11/xfig/bitmaps/sp8.bmp
lib/X11/xfig/bitmaps/sp9.bmp
lib/X11/xfig/bitmaps/vert_bricks.bmp
lib/X11/xfig/bitmaps/vert_leftshingle.bmp
lib/X11/xfig/bitmaps/vert_rightshingle.bmp
lib/X11/xfig/bitmaps/vert_saw.bmp
lib/X11/xfig/bitmaps/vertical.bmp
@dirrm lib/X11/xfig/bitmaps
@unexec rmdir %D/lib/X11/xfig 2> /dev/null || true
@dirrm lib/X11/fig2dev