diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-05-28 06:26:25 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-05-28 06:26:25 +0000 |
commit | c71eea9f5d30a71f23a58d6a9f7c7a7efccd23bd (patch) | |
tree | 9efb7929b11f55c1f07d512c0431e46bdfb01339 | |
parent | c601d8c210f2e9f01164685ed23c7445031d8259 (diff) |
- Adopt port
- Add NLS support
- Pet portlint
Notes
Notes:
svn path=/head/; revision=355591
-rw-r--r-- | print/enscript-a4/Makefile | 3 | ||||
-rw-r--r-- | print/enscript-letter/Makefile | 14 | ||||
-rw-r--r-- | print/enscript-letter/pkg-plist | 13 | ||||
-rw-r--r-- | print/enscript-letterdj/Makefile | 3 |
4 files changed, 25 insertions, 8 deletions
diff --git a/print/enscript-a4/Makefile b/print/enscript-a4/Makefile index 7d31e66df0a9..acfd7f424e11 100644 --- a/print/enscript-a4/Makefile +++ b/print/enscript-a4/Makefile @@ -1,9 +1,8 @@ # Created by: kline # $FreeBSD$ -CONFLICTS= enscript-letter-* enscript-letterdj-* +CONFLICTS= enscript-letter-[0-9]* enscript-letterdj-[0-9]* -PAPERSIZE= a4 PS= A4 MASTERDIR= ${.CURDIR}/../enscript-letter diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile index 85a070c35455..6fc0a68dd179 100644 --- a/print/enscript-letter/Makefile +++ b/print/enscript-letter/Makefile @@ -3,26 +3,32 @@ PORTNAME= enscript PORTVERSION= 1.6.6 +PORTREVISION= 1 CATEGORIES+= print MASTER_SITES= GNU PKGNAMESUFFIX= -${PAPERSIZE} DISTNAME= enscript-${PORTVERSION} -MAINTAINER?= ports@FreeBSD.org +MAINTAINER?= johans@FreeBSD.org COMMENT= ASCII to PostScript filter USES= shebangfix perl5 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-nls --with-media=${PS} +CONFIGURE_ARGS= --with-media=${PS} SHEBANG_FILES= scripts/diffpp.in scripts/sliceprint.in perl_OLD_CMD= @PERLPROG@ -CONFLICTS?= enscript-a4-* enscript-letterdj-* +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls + +CONFLICTS?= enscript-a4-[0-9]* enscript-letterdj-[0-9]* INFO= enscript -PAPERSIZE?= letter PS?= Letter +PAPERSIZE?= ${PS:tl} .if (${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj) .BEGIN: diff --git a/print/enscript-letter/pkg-plist b/print/enscript-letter/pkg-plist index 122794b3c3b0..788d430fd2d0 100644 --- a/print/enscript-letter/pkg-plist +++ b/print/enscript-letter/pkg-plist @@ -149,6 +149,19 @@ man/man1/states.1.gz %%DATADIR%%/simple.hdr %%DATADIR%%/squeeze.hdr %%DATADIR%%/vms.enc +%%NLS%%share/locale/ca/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/da/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/de/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/es/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/fr/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/hr/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/nl/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/ru/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/sl/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/sv/LC_MESSAGES/enscript.mo +%%NLS%%share/locale/tr/LC_MESSAGES/enscript.mo @dirrm %%DATADIR%%/afm @dirrm %%DATADIR%%/hl @dirrm %%DATADIR%% diff --git a/print/enscript-letterdj/Makefile b/print/enscript-letterdj/Makefile index 29f1c707fe99..651da0eaef63 100644 --- a/print/enscript-letterdj/Makefile +++ b/print/enscript-letterdj/Makefile @@ -1,9 +1,8 @@ # Created by: kline # $FreeBSD$ -CONFLICTS= enscript-a4-* enscript-letter-* +CONFLICTS= enscript-a4-[0-9]* enscript-letter-[0-9]* -PAPERSIZE= letterdj PS= Letterdj MASTERDIR= ${.CURDIR}/../enscript-letter |