openbsd-ports/print/enscript/Makefile

34 lines
667 B
Makefile

# $OpenBSD: Makefile,v 1.24 2007/09/15 21:36:44 merdely 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>