aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gsed
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2010-06-08 14:45:21 +0800
committergabor <gabor@FreeBSD.org>2010-06-08 14:45:21 +0800
commitb159721c1c5eb6d74d38125844e10e74c8d38d10 (patch)
tree7fb7ae8c2b96dee00beb1ad2dc12fc1dbbd7f6a3 /textproc/gsed
parentb1f7b85e306156a9de8cb6a7e5a658fe10f04605 (diff)
downloadfreebsd-ports-gnome-b159721c1c5eb6d74d38125844e10e74c8d38d10.tar.gz
freebsd-ports-gnome-b159721c1c5eb6d74d38125844e10e74c8d38d10.tar.zst
freebsd-ports-gnome-b159721c1c5eb6d74d38125844e10e74c8d38d10.zip
- Bump PORTREVISION after gettext update
PR: ports/147486 Submitted by: Alain Wolf <wolf@digris.ch>
Diffstat (limited to 'textproc/gsed')
-rw-r--r--textproc/gsed/Makefile21
-rw-r--r--textproc/gsed/pkg-plist72
2 files changed, 51 insertions, 42 deletions
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 7d2753fdadb9..463474b641d3 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sed
PORTVERSION= 4.2.1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,24 +16,32 @@ PKGNAMEPREFIX= g
MAINTAINER= gabor@FreeBSD.org
COMMENT= The GNU stream editor
-# Global variables
GNU_CONFIGURE= yes
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
-#CONFIGURE_ARGS+=--disable-nls
-USE_GMAKE= yes
-INFO= sed
-MAN1= gsed.1
-# Local variables
+OPTIONS= NLS "NLS support" on
+
PATCH_SUBDIRS= . doc lib sed
DATADIR= ${PREFIX}/share/${PKGBASE}
SAMP_FILES= binary*.sed dc.sed
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+USE_GMAKE= yes
+INFO= sed
+MAN1= gsed.1
.include <bsd.port.pre.mk>
+.if !defined(WITHOUT_NLS)
+USE_ICONV= yes
+USE_GETTEXT= yes
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} 's,^\* sed:,* GNU sed:,' \
${WRKSRC}/doc/config.texi
diff --git a/textproc/gsed/pkg-plist b/textproc/gsed/pkg-plist
index 81d85e37d5af..514e00084d8a 100644
--- a/textproc/gsed/pkg-plist
+++ b/textproc/gsed/pkg-plist
@@ -5,39 +5,39 @@ bin/gsed
%%EXAMPLESDIR%%/binary3.sed
%%EXAMPLESDIR%%/dc.sed
@dirrm %%EXAMPLESDIR%%
-share/locale/af/LC_MESSAGES/sed.mo
-share/locale/ca/LC_MESSAGES/sed.mo
-share/locale/cs/LC_MESSAGES/sed.mo
-share/locale/da/LC_MESSAGES/sed.mo
-share/locale/de/LC_MESSAGES/sed.mo
-share/locale/el/LC_MESSAGES/sed.mo
-share/locale/eo/LC_MESSAGES/sed.mo
-share/locale/es/LC_MESSAGES/sed.mo
-share/locale/et/LC_MESSAGES/sed.mo
-share/locale/eu/LC_MESSAGES/sed.mo
-share/locale/fi/LC_MESSAGES/sed.mo
-share/locale/fr/LC_MESSAGES/sed.mo
-share/locale/ga/LC_MESSAGES/sed.mo
-share/locale/gl/LC_MESSAGES/sed.mo
-share/locale/he/LC_MESSAGES/sed.mo
-share/locale/hr/LC_MESSAGES/sed.mo
-share/locale/hu/LC_MESSAGES/sed.mo
-share/locale/id/LC_MESSAGES/sed.mo
-share/locale/it/LC_MESSAGES/sed.mo
-share/locale/ja/LC_MESSAGES/sed.mo
-share/locale/ko/LC_MESSAGES/sed.mo
-share/locale/nl/LC_MESSAGES/sed.mo
-share/locale/pl/LC_MESSAGES/sed.mo
-share/locale/pt/LC_MESSAGES/sed.mo
-share/locale/pt_BR/LC_MESSAGES/sed.mo
-share/locale/ro/LC_MESSAGES/sed.mo
-share/locale/ru/LC_MESSAGES/sed.mo
-share/locale/sk/LC_MESSAGES/sed.mo
-share/locale/sl/LC_MESSAGES/sed.mo
-share/locale/sr/LC_MESSAGES/sed.mo
-share/locale/sv/LC_MESSAGES/sed.mo
-share/locale/tr/LC_MESSAGES/sed.mo
-share/locale/uk/LC_MESSAGES/sed.mo
-share/locale/vi/LC_MESSAGES/sed.mo
-share/locale/zh_CN/LC_MESSAGES/sed.mo
-share/locale/zh_TW/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/af/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/da/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/de/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/el/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/es/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/et/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/he/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/id/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/it/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/sed.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/sed.mo