Via PR 4822 by garbled@garbled.futureone.com
This commit is contained in:
parent
6010922f0e
commit
2ec44b9710
3 changed files with 55 additions and 0 deletions
23
print/transfig/Makefile
Normal file
23
print/transfig/Makefile
Normal 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
1
print/transfig/files/md5
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (transfig.3.2.tar.gz) = d5ded82f303c75a92bbf4bec568e7853
|
31
print/transfig/patches/patch-aa
Normal file
31
print/transfig/patches/patch-aa
Normal 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
|
Loading…
Reference in a new issue