1995-01-05 06:41:17 +01:00
|
|
|
# New ports collection makefile for: xfig
|
|
|
|
# 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-04-14 12:48:02 +02:00
|
|
|
PORTNAME= xfig
|
2005-11-17 22:16:27 +01:00
|
|
|
PORTVERSION= 3.2.5.a5
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 7
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics
|
2005-11-17 22:16:27 +01:00
|
|
|
MASTER_SITES= http://xfig.org/software/xfig/${PORTVERSION:R}-alpha/
|
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION:S,.a,-alpha,}.full
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2005-11-17 22:16:27 +01:00
|
|
|
MAINTAINER= lesi@FreeBSD.org
|
|
|
|
COMMENT= A drawing program for X11 (Alpha version)
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2010-02-05 12:46:55 +01:00
|
|
|
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png \
|
2005-04-10 07:39:56 +02:00
|
|
|
Xaw3d:${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
|
|
|
|
2005-11-17 22:16:27 +01:00
|
|
|
CONFLICTS= xfig-[12].* xfig-3.1* xfig-3.2.[1234]*
|
2000-08-02 02:09:03 +02:00
|
|
|
|
2005-11-17 22:16:27 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:S,.a,-alpha,}
|
|
|
|
|
|
|
|
LATEST_LINK= xfig-devel
|
1995-01-05 06:41:17 +01:00
|
|
|
USE_IMAKE= yes
|
2009-06-09 17:33:28 +02:00
|
|
|
USE_XORG= ice sm x11 xaw xext xi xmu xpm xt
|
1998-10-05 05:13:41 +02:00
|
|
|
MAN1= xfig.1
|
|
|
|
|
2005-11-17 22:16:27 +01:00
|
|
|
MAKE_ENV+= DOCSDIR=${DOCSDIR}
|
|
|
|
|
2001-06-17 20:22:48 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
INSTALL_TARGET= install install.all
|
|
|
|
.endif
|
|
|
|
|
2004-08-20 20:36:18 +02:00
|
|
|
OPTIONS= GHOSTSCRIPT "Ghostscript support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2000-01-06 20:33:45 +01:00
|
|
|
|
2001-07-10 02:09:14 +02:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
|
|
|
|
|
1999-12-29 09:39:19 +01:00
|
|
|
post-patch:
|
2001-07-04 21:12:39 +02:00
|
|
|
.if defined(WITHOUT_GHOSTSCRIPT)
|
2002-07-08 12:41:30 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
1999-12-29 09:39:19 +01:00
|
|
|
.endif
|
2005-11-17 22:16:27 +01:00
|
|
|
echo "NOPORTDOCS=${NOPORTDOCS}"
|
1999-12-29 09:39:19 +01:00
|
|
|
|
2004-08-20 20:36:18 +02:00
|
|
|
.include <bsd.port.post.mk>
|