openbsd-ports/print/enscript/Makefile
jasper c75abcdae7 - SECURITY FIX for CVE-2008-3863 and CVE-2008-4306 (buffer overflows)
* patch taken from debian's bugreport #506261.

- specify license version and regen PLIST while here
2008-12-09 16:00:17 +00:00

34 lines
668 B
Makefile

# $OpenBSD: Makefile,v 1.25 2008/12/09 16:00:17 jasper Exp $
COMMENT= convert ASCII files to PostScript
DISTNAME= enscript-1.6.3
PKGNAME= ${DISTNAME}p2
CATEGORIES= print
HOMEPAGE= http://www.codento.com/people/mtr/genscript/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE} \
${MASTER_SITE_GNU:=enscript/}
FLAVORS= a4
FLAVOR?=
WANTLIB= c m
CONFIGURE_STYLE= gnu
# gettext detection is broken and the translations are severely lacking
CONFIGURE_ARGS= --disable-nls
.if !${FLAVOR:L:Ma4}
CONFIGURE_ARGS+= --with-media=Letter
.endif
.include <bsd.port.mk>