openbsd-ports/print/enscript/Makefile

34 lines
668 B
Makefile

# $OpenBSD: Makefile,v 1.23 2006/02/05 10:15:22 steven Exp $
COMMENT= "convert ASCII files to PostScript"
DISTNAME= enscript-1.6.3
PKGNAME= ${DISTNAME}p1
CATEGORIES= print
HOMEPAGE= http://www.codento.com/people/mtr/genscript/
# GPL
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>