summaryrefslogtreecommitdiff
path: root/print/transfig
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-02-08 23:20:43 +0000
committerhubertf <hubertf@pkgsrc.org>1998-02-08 23:20:43 +0000
commit2ec44b9710e4a68ec9cf6c9bbf51f0e7d1d33a0f (patch)
tree4b71f5b82abe2356e62cf9d53bf9ec41c5cc8c9a /print/transfig
parent6010922f0eba37ccebf8ae5e1e711838776203e7 (diff)
downloadpkgsrc-2ec44b9710e4a68ec9cf6c9bbf51f0e7d1d33a0f.tar.gz
Via PR 4822 by garbled@garbled.futureone.com
Diffstat (limited to 'print/transfig')
-rw-r--r--print/transfig/Makefile23
-rw-r--r--print/transfig/files/md51
-rw-r--r--print/transfig/patches/patch-aa31
3 files changed, 55 insertions, 0 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile
new file mode 100644
index 00000000000..c41491af3a7
--- /dev/null
+++ b/print/transfig/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: transfig
+# Version required: 3.2
+# Date Created: 30 January 1998
+# Whom: root@garbled.futureone.com
+#
+# $NetBSD: Makefile,v 1.1 1998/02/08 23:20:43 hubertf Exp $
+#
+
+DISTNAME= transfig.3.2
+PKGNAME= transfig-3.2
+WRKSRC= ${WRKDIR}/transfig.3.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= applications/drawing_tools/transfig
+
+MAINTAINER= root@garbled.futureone.com
+
+LIB_DEPENDS= jpeg.7.:${PORTSDIR}/graphics/jpeg \
+ Xpm.4.:${PORTSDIR}/graphics/xpm
+
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/print/transfig/files/md5 b/print/transfig/files/md5
new file mode 100644
index 00000000000..86756967565
--- /dev/null
+++ b/print/transfig/files/md5
@@ -0,0 +1 @@
+MD5 (transfig.3.2.tar.gz) = d5ded82f303c75a92bbf4bec568e7853
diff --git a/print/transfig/patches/patch-aa b/print/transfig/patches/patch-aa
new file mode 100644
index 00000000000..bdb85b08af5
--- /dev/null
+++ b/print/transfig/patches/patch-aa
@@ -0,0 +1,31 @@
+--- fig2dev/Imakefile.orig Fri Aug 22 23:33:55 1997
++++ fig2dev/Imakefile Sun Feb 8 15:57:10 1998
+@@ -54,7 +54,7 @@
+ XCOMM Finally, if your system doesn't have ndbm (the 'new' database subroutines)
+ XCOMM remove the -DNDBM from the XPMDBM definition.
+
+-XCOMM #define USEXPM
++#define USEXPM
+
+ XCOMM If you don't have the JPEG library or don't want to use JPEG, comment
+ XCOMM out the following line
+@@ -78,7 +78,7 @@
+ #ifdef USEXPM
+ DUSEXPM = -DUSE_XPM
+ XPMLIBDIR = $(USRLIBDIR)
+-XPMINC = -I$(INCDIR)
++XPMINC = -I$(INCDIR)/X11
+ XPMLIB = -L$(XPMLIBDIR) -lXpm -lX11
+ XPMRGB = XPMRGB=$(LIBDIR)/rgb
+ XPMDBM = -DNDBM
+@@ -137,8 +137,8 @@
+ #ifdef USEJPEG
+
+ #ifdef USEINSTALLEDJPEG
+-JPEGLIBDIR = /usr/local/lib
+-JPEGINCDIR = /usr/include/X11
++JPEGLIBDIR = $(LOCALBASE)/lib
++JPEGINCDIR = $(LOCALBASE)/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
+ #else
+ JPEGLIBDIR = ../../jpeg