Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 06:26:25 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355591 - in head/print: enscript-a4 enscript-letter enscript-letterdj
Message-ID:  <201405280626.s4S6QPmE076579@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Wed May 28 06:26:25 2014
New Revision: 355591
URL: http://svnweb.freebsd.org/changeset/ports/355591
QAT: https://qat.redports.org/buildarchive/r355591/

Log:
  - Adopt port
  - Add NLS support
  - Pet portlint

Modified:
  head/print/enscript-a4/Makefile
  head/print/enscript-letter/Makefile
  head/print/enscript-letter/pkg-plist
  head/print/enscript-letterdj/Makefile

Modified: head/print/enscript-a4/Makefile
==============================================================================
--- head/print/enscript-a4/Makefile	Wed May 28 05:57:04 2014	(r355590)
+++ head/print/enscript-a4/Makefile	Wed May 28 06:26:25 2014	(r355591)
@@ -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

Modified: head/print/enscript-letter/Makefile
==============================================================================
--- head/print/enscript-letter/Makefile	Wed May 28 05:57:04 2014	(r355590)
+++ head/print/enscript-letter/Makefile	Wed May 28 06:26:25 2014	(r355591)
@@ -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:

Modified: head/print/enscript-letter/pkg-plist
==============================================================================
--- head/print/enscript-letter/pkg-plist	Wed May 28 05:57:04 2014	(r355590)
+++ head/print/enscript-letter/pkg-plist	Wed May 28 06:26:25 2014	(r355591)
@@ -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%%

Modified: head/print/enscript-letterdj/Makefile
==============================================================================
--- head/print/enscript-letterdj/Makefile	Wed May 28 05:57:04 2014	(r355590)
+++ head/print/enscript-letterdj/Makefile	Wed May 28 06:26:25 2014	(r355591)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405280626.s4S6QPmE076579>