1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Adopt port

- Add NLS support
- Pet portlint
This commit is contained in:
Johan van Selst 2014-05-28 06:26:25 +00:00
parent c601d8c210
commit c71eea9f5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355591
4 changed files with 25 additions and 8 deletions

View File

@ -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

View File

@ -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:

View File

@ -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%%

View File

@ -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