summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorchuckr <chuckr@FreeBSD.org>1997-08-28 04:27:57 +0000
committerchuckr <chuckr@FreeBSD.org>1997-08-28 04:27:57 +0000
commit05f3f1a870040e441c3444391157d5741b2a5576 (patch)
tree855bdffa852020073db74cbe84226e57872a6c6b /graphics
parentc4ea80c18c40e026d60502e41c4a719b02098f68 (diff)
downloadFreeBSD-ports-05f3f1a870040e441c3444391157d5741b2a5576.zip
FreeBSD-ports-05f3f1a870040e441c3444391157d5741b2a5576.tar.gz
Upgrade Xfig to the 3.2 level. Accompanied by the transfig upgrade
at the same time (see ports/print/transfig). Submitted by: Brian N. Handy <handy@sag.space.lockheed.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfig-devel/Makefile11
-rw-r--r--graphics/xfig-devel/distinfo2
-rw-r--r--graphics/xfig-devel/files/patch-aa72
-rw-r--r--graphics/xfig/Makefile11
-rw-r--r--graphics/xfig/distinfo2
-rw-r--r--graphics/xfig/files/patch-aa72
6 files changed, 106 insertions, 64 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile
index d2be7c8..a9a4de1 100644
--- a/graphics/xfig-devel/Makefile
+++ b/graphics/xfig-devel/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: xfig
-# Version required: 3.1.4
+# Version required: 3.2
# Date created: 4 January 1995
# Whom: roberto
#
-# $Id: Makefile,v 1.14 1996/11/19 04:18:46 asami Exp $
+# $Id: Makefile,v 1.15 1997/05/02 04:12:10 asami Exp $
#
-DISTNAME= xfig.3.1.4
-PKGNAME= xfig-3.1.4
+DISTNAME= xfig.3.2
+PKGNAME= xfig-3.2
CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
@@ -15,7 +15,8 @@ MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
MAINTAINER= asami@FreeBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
- jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
+ jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
+ Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
USE_IMAKE= yes
diff --git a/graphics/xfig-devel/distinfo b/graphics/xfig-devel/distinfo
index 8058441..f099618 100644
--- a/graphics/xfig-devel/distinfo
+++ b/graphics/xfig-devel/distinfo
@@ -1 +1 @@
-MD5 (xfig.3.1.4.tar.gz) = 7975c747260e6eb3e2cc9a79d97a77c2
+MD5 (xfig.3.2.tar.gz) = d16c4662b96e3f9d0735b7612c7d016b
diff --git a/graphics/xfig-devel/files/patch-aa b/graphics/xfig-devel/files/patch-aa
index d10bdb3..4569f2a 100644
--- a/graphics/xfig-devel/files/patch-aa
+++ b/graphics/xfig-devel/files/patch-aa
@@ -1,40 +1,60 @@
---- Imakefile.orig Thu Aug 17 20:24:24 1995
-+++ Imakefile Sun Sep 24 12:52:35 1995
-@@ -42,10 +42,10 @@
- XCOMM You need XPM version 3.4c or newer. This is available from ftp.x.org
- XCOMM in /contrib/libraries.
-
--XCOMM XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
--XCOMM XPMLIBDIR = /usr/lib
--XCOMM XPMINCDIR = /usr/include/X11
--XCOMM XPMLIB = -L$(XPMLIBDIR) -lXpm
-+XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
-+XPMLIBDIR = $(USRLIBDIR)
-+XPMINCDIR = $(INCROOT)/X11
-+XPMLIB = -L$(XPMLIBDIR) -lXpm
-
- XCOMM If you have installed the jpeg library on your system, uncomment the
- XCOMM USEINSTALLEDJPEG variable, change the JPEGLIBDIR variable to the directory
-@@ -56,11 +56,11 @@
+--- Imakefile.orig Fri Aug 22 16:59:16 1997
++++ Imakefile Tue Aug 26 13:14:52 1997
+@@ -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,12 +66,12 @@
+ 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
+
+@@ -79,7 +79,7 @@
+
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
--JPEGINCDIR = /usr/include/X11
-+JPEGINCDIR = /usr/local/include
+-JPEGINCDIR = -I/usr/include/X11
++JPEGINCDIR = -I/usr/local/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
JPEGLIBDIR = ../jpeg
- JPEGINCDIR = $(JPEGLIBDIR)
-@@ -147,7 +147,7 @@
+@@ -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 *** You shouldn't have to change anything below this point. ***
+ XCOMM use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+@@ -213,7 +213,7 @@
+ #endif
+ #endif
--DEFINES = $(STRDEFINES) -DGSBIT $(XPMDEFINES)
-+DEFINES = $(STRDEFINES) $(XPMDEFINES)
+-DEFINES = $(STRDEFINES) -DGSBIT $(USEINLINE) $(DUSEXPM) \
++DEFINES = $(STRDEFINES) $(USEINLINE) $(DUSEXPM) \
+ $(DUSEXPMICON) $(DUSEGIF) $(DUSEJPEG) $(I18N_DEFS)
XFIGSRC = d_arc.c d_arcbox.c d_box.c d_ellipse.c d_picobj.c \
- d_intspline.c d_line.c d_regpoly.c d_spline.c d_text.c \
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index d2be7c8..a9a4de1 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: xfig
-# Version required: 3.1.4
+# Version required: 3.2
# Date created: 4 January 1995
# Whom: roberto
#
-# $Id: Makefile,v 1.14 1996/11/19 04:18:46 asami Exp $
+# $Id: Makefile,v 1.15 1997/05/02 04:12:10 asami Exp $
#
-DISTNAME= xfig.3.1.4
-PKGNAME= xfig-3.1.4
+DISTNAME= xfig.3.2
+PKGNAME= xfig-3.2
CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
@@ -15,7 +15,8 @@ MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
MAINTAINER= asami@FreeBSD.ORG
LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \
- jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
+ jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg \
+ Xaw3d\\.6\\.:${PORTSDIR}/x11/Xaw3d
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
USE_IMAKE= yes
diff --git a/graphics/xfig/distinfo b/graphics/xfig/distinfo
index 8058441..f099618 100644
--- a/graphics/xfig/distinfo
+++ b/graphics/xfig/distinfo
@@ -1 +1 @@
-MD5 (xfig.3.1.4.tar.gz) = 7975c747260e6eb3e2cc9a79d97a77c2
+MD5 (xfig.3.2.tar.gz) = d16c4662b96e3f9d0735b7612c7d016b
diff --git a/graphics/xfig/files/patch-aa b/graphics/xfig/files/patch-aa
index d10bdb3..4569f2a 100644
--- a/graphics/xfig/files/patch-aa
+++ b/graphics/xfig/files/patch-aa
@@ -1,40 +1,60 @@
---- Imakefile.orig Thu Aug 17 20:24:24 1995
-+++ Imakefile Sun Sep 24 12:52:35 1995
-@@ -42,10 +42,10 @@
- XCOMM You need XPM version 3.4c or newer. This is available from ftp.x.org
- XCOMM in /contrib/libraries.
-
--XCOMM XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
--XCOMM XPMLIBDIR = /usr/lib
--XCOMM XPMINCDIR = /usr/include/X11
--XCOMM XPMLIB = -L$(XPMLIBDIR) -lXpm
-+XPMDEFINES = -DUSE_XPM -DUSE_XPM_ICON
-+XPMLIBDIR = $(USRLIBDIR)
-+XPMINCDIR = $(INCROOT)/X11
-+XPMLIB = -L$(XPMLIBDIR) -lXpm
-
- XCOMM If you have installed the jpeg library on your system, uncomment the
- XCOMM USEINSTALLEDJPEG variable, change the JPEGLIBDIR variable to the directory
-@@ -56,11 +56,11 @@
+--- Imakefile.orig Fri Aug 22 16:59:16 1997
++++ Imakefile Tue Aug 26 13:14:52 1997
+@@ -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,12 +66,12 @@
+ 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
+
+@@ -79,7 +79,7 @@
+
#ifdef USEINSTALLEDJPEG
JPEGLIBDIR = /usr/local/lib
--JPEGINCDIR = /usr/include/X11
-+JPEGINCDIR = /usr/local/include
+-JPEGINCDIR = -I/usr/include/X11
++JPEGINCDIR = -I/usr/local/include
+ JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
#else
JPEGLIBDIR = ../jpeg
- JPEGINCDIR = $(JPEGLIBDIR)
-@@ -147,7 +147,7 @@
+@@ -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 *** You shouldn't have to change anything below this point. ***
+ XCOMM use (and change) the following if you want the multi-key data base file
+ XCOMM somewhere other than the standard X11 library directory
+@@ -213,7 +213,7 @@
+ #endif
+ #endif
--DEFINES = $(STRDEFINES) -DGSBIT $(XPMDEFINES)
-+DEFINES = $(STRDEFINES) $(XPMDEFINES)
+-DEFINES = $(STRDEFINES) -DGSBIT $(USEINLINE) $(DUSEXPM) \
++DEFINES = $(STRDEFINES) $(USEINLINE) $(DUSEXPM) \
+ $(DUSEXPMICON) $(DUSEGIF) $(DUSEJPEG) $(I18N_DEFS)
XFIGSRC = d_arc.c d_arcbox.c d_box.c d_ellipse.c d_picobj.c \
- d_intspline.c d_line.c d_regpoly.c d_spline.c d_text.c \
OpenPOWER on IntegriCloud