summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-02-08 23:00:37 +0000
committerhubertf <hubertf@pkgsrc.org>1998-02-08 23:00:37 +0000
commit926b90dcd80b4a5aa5a0924e8976c5a472f5d9f6 (patch)
tree0879fdada06c6b9f5a16cd49920e541e93a4d1be /graphics/xfig
parent17242b8eca37f66d9fc20c3e238da65fed92634a (diff)
downloadpkgsrc-926b90dcd80b4a5aa5a0924e8976c5a472f5d9f6.tar.gz
Via PR 4823 by garbled@garbled.futureone.com
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile31
-rw-r--r--graphics/xfig/files/md51
-rw-r--r--graphics/xfig/patches/patch-aa52
3 files changed, 84 insertions, 0 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
new file mode 100644
index 00000000000..ef61484d6ec
--- /dev/null
+++ b/graphics/xfig/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xfig
+# Version required: 3.2
+# Date Created: 30 January 1998
+# Whom: root@garbled.futureone.com
+#
+# $NetBSD: Makefile,v 1.1 1998/02/08 23:00:37 hubertf Exp $
+#
+
+DISTNAME= xfig.3.2
+PKGNAME= xfig-3.2
+WRKSRC= ${WRKDIR}/xfig.3.2
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
+
+MAINTAINER= root@garbled.futureone.com
+
+FETCH_DEPENDS= fig2dev:${PORTSDIR}/graphics/transfig
+LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
+ Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
+ Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
+
+USE_IMAKE= yes
+
+post-install:
+ ${MKDIR} ${X11BASE}/share/examples/xfig
+ ${MKDIR} ${X11BASE}/share/doc/xfig
+ ${CP} ${WRKSRC}/Examples/* ${X11BASE}/share/examples/xfig
+ ${CP} ${WRKSRC}/Doc/xfig.ps.gz ${X11BASE}/share/doc/xfig
+
+.include <bsd.port.mk>
diff --git a/graphics/xfig/files/md5 b/graphics/xfig/files/md5
new file mode 100644
index 00000000000..f099618a9d4
--- /dev/null
+++ b/graphics/xfig/files/md5
@@ -0,0 +1 @@
+MD5 (xfig.3.2.tar.gz) = d16c4662b96e3f9d0735b7612c7d016b
diff --git a/graphics/xfig/patches/patch-aa b/graphics/xfig/patches/patch-aa
new file mode 100644
index 00000000000..950f70b9a2f
--- /dev/null
+++ b/graphics/xfig/patches/patch-aa
@@ -0,0 +1,52 @@
+--- Imakefile.orig Fri Aug 22 22:59:16 1997
++++ Imakefile Sun Feb 8 16:15:29 1998
+@@ -46,12 +46,12 @@
+ XCOMM set JPEGLIBDIR after the #else to the directory where you have the source
+ XCOMM for jpeg.
+
+-XCOMM #define USEINSTALLEDJPEG
++#define USEINSTALLEDJPEG
+
+ XCOMM Uncomment the following definition for XAWLIB if you want to use
+ XCOMM the 3d Athena Widget Set (highly recommended!)
+
+-XCOMM XAWLIB = -lXaw3d
++XAWLIB = -lXaw3d
+
+ XCOMM Uncomment the following if needed for DECstations running older X11R4
+ XCOMM INCROOT=/usr/include/mit
+@@ -66,20 +66,20 @@
+ XCOMM Change XPMLIB if necessary to point to the xpm library (libXpm)
+ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
+
+-XCOMM #define USEXPM
+-XCOMM #define USEXPM_ICON
++#define USEXPM
++#define USEXPM_ICON
+
+ #ifdef USEXPM
+ XPMLIBDIR = $(USRLIBDIR)
+-XPMINC = -I$(INCDIR)
++XPMINC = -I$(INCDIR)/X11
+ XPMLIB = -L$(XPMLIBDIR) -lXpm
+ #endif
+
+ #ifdef USEJPEG
+
+ #ifdef USEINSTALLEDJPEG
+-JPEGLIBDIR = /usr/local/lib
+-JPEGINCDIR = -I/usr/include/X11
++JPEGLIBDIR = $(LOCALBASE)/lib
++JPEGINCDIR = -I$(LOCALBASE)/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
+ #else
+ JPEGLIBDIR = ../jpeg
+@@ -112,7 +112,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 use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory