1995-01-05 06:41:17 +01:00
|
|
|
# New ports collection makefile for: xfig
|
2000-01-24 06:57:53 +01:00
|
|
|
# Version required: 3.2.3a
|
1995-01-05 06:41:17 +01:00
|
|
|
# Date created: 4 January 1995
|
1995-04-09 09:09:55 +02:00
|
|
|
# Whom: roberto
|
1995-01-05 06:41:17 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-01-05 06:41:17 +01:00
|
|
|
#
|
|
|
|
|
2000-01-24 06:57:53 +01:00
|
|
|
DISTNAME= xfig.3.2.3a
|
|
|
|
PKGNAME= xfig-3.2.3a
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics
|
2000-01-24 06:57:53 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
|
|
|
|
ftp://www-epb.lbl.gov/xfig/
|
1996-11-18 10:56:45 +01:00
|
|
|
MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
|
1995-04-09 09:09:55 +02:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1995-04-09 09:09:55 +02:00
|
|
|
|
1998-09-17 02:33:02 +02:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
1998-09-15 13:46:15 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1998-09-21 03:35:33 +02:00
|
|
|
Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
|
1997-05-02 06:12:10 +02:00
|
|
|
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
|
1995-04-09 09:09:55 +02:00
|
|
|
|
1995-01-05 06:41:17 +01:00
|
|
|
USE_IMAKE= yes
|
1998-10-05 05:13:41 +02:00
|
|
|
MAN1= xfig.1
|
|
|
|
|
2000-01-06 20:33:45 +01:00
|
|
|
pre-fetch:
|
2000-01-29 22:47:59 +01:00
|
|
|
.if !defined(NO_GSBIT)
|
|
|
|
@${ECHO_MSG} "To build this port without Ghostscript support,"
|
|
|
|
@${ECHO_MSG} "define \"NO_GSBIT\"."
|
2000-01-06 20:33:45 +01:00
|
|
|
.endif
|
|
|
|
|
1999-12-29 09:39:19 +01:00
|
|
|
post-patch:
|
2000-01-06 20:33:45 +01:00
|
|
|
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
|
2000-01-29 22:47:59 +01:00
|
|
|
.if defined(NO_GSBIT)
|
2000-01-06 20:33:45 +01:00
|
|
|
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
1999-12-29 09:39:19 +01:00
|
|
|
.endif
|
|
|
|
|
1995-01-05 06:41:17 +01:00
|
|
|
.include <bsd.port.mk>
|