This commit is contained in:
hubertf 1998-02-08 23:20:43 +00:00
parent 6010922f0e
commit 2ec44b9710
3 changed files with 55 additions and 0 deletions

23
print/transfig/Makefile Normal file
View file

@ -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>

1
print/transfig/files/md5 Normal file
View file

@ -0,0 +1 @@
MD5 (transfig.3.2.tar.gz) = d5ded82f303c75a92bbf4bec568e7853

View file

@ -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