8d58512de6
Thanks oga@ and Jonathan Armani for testing. Add (previously missing) license comment; the license for 3.2.5 has reverted to MIT-like. patches/patch-w_intersect_c includes a reimplementation of some complex math functions, not yet in our libm.
45 lines
908 B
Makefile
45 lines
908 B
Makefile
# $OpenBSD: Makefile,v 1.36 2008/08/26 14:32:20 sthen Exp $
|
|
|
|
COMMENT= CAD drawing program for X11
|
|
|
|
VERSION= 3.2.5
|
|
DISTNAME= xfig.${VERSION}.full
|
|
PKGNAME= xfig-${VERSION}
|
|
CATEGORIES= graphics x11
|
|
|
|
HOMEPAGE= http://www.xfig.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= ICE SM Xau Xdmcp X11 Xext Xmu Xp Xpm Xt c m z
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
|
|
|
|
FAKE= lib
|
|
PATCHORIG= .pat.orig
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
png.>=2::graphics/png \
|
|
Xaw3d.>=6.1::x11/Xaw3d
|
|
RUN_DEPENDS= ::print/transfig \
|
|
::textproc/xpdf
|
|
|
|
MAKE_FLAGS= XAPPLOADDIR="${PREFIX}/lib/X11/app-defaults" \
|
|
XFIGDOCDIR="${PREFIX}/share/doc/xfig" \
|
|
XFIGLIBDIR="${PREFIX}/lib/X11/xfig"
|
|
|
|
CONFIGURE_STYLE= imake
|
|
|
|
INSTALL_TARGET= install install.all
|
|
|
|
WRKDIST= ${WRKDIR}/xfig.${VERSION}
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
.include <bsd.port.mk>
|