openbsd-ports/print/transfig/Makefile
jasper 1712187405 Security fix for SA37577, related to CVE-2009-4227.
transfig ".fig" File Parsing Buffer Overflow
2009-12-27 22:15:40 +00:00

38 lines
709 B
Makefile

# $OpenBSD: Makefile,v 1.34 2009/12/27 22:15:40 jasper Exp $
COMMENT= tools to convert Xfig's .fig files
VERSION= 3.2.5a
DISTNAME= transfig.${VERSION}
PKGNAME= ${DISTNAME:S/./-/}p0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/}
HOMEPAGE= http://xfig.org/
LIB_DEPENDS= png.>=2::graphics/png
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu \
:netpbm->=9.19:graphics/netpbm
# MIT-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PATCHORIG= .pat.orig
CONFIGURE_STYLE=imake
USE_X11= Yes
FLAVORS= a4
FLAVOR?=
WANTLIB= X11 Xpm c m z
.if ${FLAVOR:L:Ma4}
PATCH_LIST= patch-* a4-*
.endif
NO_REGRESS= Yes
.include <bsd.port.mk>