2011-11-02 05:57:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.50 2011/11/02 09:57:23 jasper Exp $
|
1997-12-02 23:17:13 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= CAD drawing program for X11
|
2001-03-25 03:33:13 -05:00
|
|
|
|
2009-06-09 09:19:44 -04:00
|
|
|
VERSION= 3.2.5b
|
2001-03-25 03:33:13 -05:00
|
|
|
DISTNAME= xfig.${VERSION}.full
|
2010-11-09 14:00:28 -05:00
|
|
|
PKGNAME= xfig-${VERSION}
|
2011-11-02 05:57:21 -04:00
|
|
|
REVISION = 6
|
1997-12-02 23:17:13 -05:00
|
|
|
CATEGORIES= graphics x11
|
|
|
|
|
2001-03-25 03:33:13 -05:00
|
|
|
HOMEPAGE= http://www.xfig.org/
|
|
|
|
|
2008-08-26 10:32:20 -04:00
|
|
|
# MIT
|
2000-04-18 06:34:08 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 12:10:25 -05:00
|
|
|
|
2011-11-02 05:57:21 -04:00
|
|
|
WANTLIB += ICE SM X11 Xmu Xpm Xt c m z jpeg>=62 png>=2
|
2010-11-17 03:05:12 -05:00
|
|
|
WANTLIB += Xaw3d>=6.1
|
2000-04-18 06:34:08 -04:00
|
|
|
|
2008-08-26 10:32:20 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
|
2001-10-01 11:33:05 -04:00
|
|
|
|
2005-04-17 17:31:59 -04:00
|
|
|
FAKE= lib
|
2008-08-26 10:32:20 -04:00
|
|
|
PATCHORIG= .pat.orig
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
|
|
graphics/png \
|
|
|
|
x11/Xaw3d
|
|
|
|
RUN_DEPENDS= print/transfig \
|
|
|
|
textproc/xpdf
|
2003-04-04 09:28:36 -05:00
|
|
|
|
2001-06-20 14:10:31 -04:00
|
|
|
MAKE_FLAGS= XAPPLOADDIR="${PREFIX}/lib/X11/app-defaults" \
|
2003-04-04 09:28:36 -05:00
|
|
|
XFIGDOCDIR="${PREFIX}/share/doc/xfig" \
|
|
|
|
XFIGLIBDIR="${PREFIX}/lib/X11/xfig"
|
2000-02-02 20:58:08 -05:00
|
|
|
|
2001-06-20 14:10:31 -04:00
|
|
|
CONFIGURE_STYLE= imake
|
|
|
|
|
|
|
|
INSTALL_TARGET= install install.all
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/xfig.${VERSION}
|
|
|
|
|
2002-10-26 20:03:16 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-10-18 14:13:12 -04:00
|
|
|
USE_GROFF = Yes
|
2006-11-13 06:20:24 -05:00
|
|
|
|
2009-11-24 17:30:45 -05:00
|
|
|
post-extract:
|
2010-01-04 10:41:21 -05:00
|
|
|
chmod -R a+rX,go-w ${WRKSRC}/Libraries ${WRKSRC}/Doc
|
|
|
|
find ${WRKSRC}/Libraries ${WRKSRC}/Doc -type f -exec chmod -x "{}" \;
|
2009-11-24 17:30:45 -05:00
|
|
|
|
1997-12-02 23:17:13 -05:00
|
|
|
.include <bsd.port.mk>
|