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