pkgsrc/graphics/xfig/Makefile
fcambus 4f46ff83c5 xfig: update to 3.2.8a.
Patchlevel 8a (Mar 2021)

BUGS FIXED:
	o Distribute a current pdf documentation.
	  Thanks to Roland Rosenfeld for the script and pointing out the issue.
2021-07-21 05:35:03 +00:00

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.81 2021/07/21 05:35:03 fcambus Exp $
DISTNAME= xfig-3.2.8a
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mcj.sourceforge.net/
COMMENT= CAD-like 2D drawing tool, good for colorful scale drawings & ISOs
# not completely, but near enough
LICENSE= mit
DEPENDS+= fig2dev-[0-9]*:../../print/fig2dev
TOOL_DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm
XAW_TYPE?= 3d
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-appdefaultdir=${PREFIX}/lib/X11/app-defaults
# w_cmdpanel.c: In function 'change_orient':
# w_cmdpanel.c:893:36: error: array subscript has type 'char' [-Werror=char-subscripts]
# FirstArg(XtNlabel, orient_items[appres.landscape]);
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
# if we're using Xaw3d, then we need 1.5E or newer since using that
# version means we need a patch, which is currently used unconditionally
BUILDLINK_API_DEPENDS.Xaw3d+= Xaw3d>=1.5E
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"