Remove the a4 FLAVOR -- no need to hardcode a papersize when it can be

configured on the command line and config file.
This commit is contained in:
ajacoutot 2013-11-02 09:02:56 +00:00
parent 6c112e9cfa
commit 7d42c3756b
2 changed files with 9 additions and 15 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.30 2013/03/11 11:37:53 espie Exp $
# $OpenBSD: Makefile,v 1.31 2013/11/02 09:02:56 ajacoutot Exp $
COMMENT= convert ASCII files to PostScript
DISTNAME= enscript-1.6.3
REVISION= 2
REVISION= 3
CATEGORIES= print
HOMEPAGE= http://www.codento.com/people/mtr/genscript/
@ -11,21 +11,14 @@ HOMEPAGE= http://www.codento.com/people/mtr/genscript/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c m
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
USE_GROFF = Yes
.if !${FLAVOR:Ma4}
CONFIGURE_ARGS+= --with-media=Letter
.endif
.include <bsd.port.mk>

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.10 2005/02/11 21:18:00 naddy Exp $
@comment $OpenBSD: PLIST,v 1.11 2013/11/02 09:02:56 ajacoutot Exp $
@pkgpath print/enscript,a4
bin/diffpp
bin/enscript
bin/mkafmmap
@bin bin/enscript
@bin bin/mkafmmap
bin/over
bin/sliceprint
bin/states
@bin bin/states
@info info/enscript.info
@man man/man1/diffpp.1
@man man/man1/enscript.1