summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2014-08-05 21:48:21 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2014-08-05 21:48:21 +0000
commitee19e0204e3ea0efe32e3b8af4ff9e7fbc96e12d (patch)
tree24574827c972cc19d8b00bedbb6b55fd7617f8cb /editors
parentAttempt to unbreak INDEX (diff)
- make NLS support optional
- bump PORTREVISION PR: ports/190974 Submitted by: nikola lecic <nikola.lecic@anthesphoria.net> Approved by: kwm (mentor)
Notes
Notes: svn path=/head/; revision=364141
Diffstat (limited to 'editors')
-rw-r--r--editors/poedit/Makefile12
-rw-r--r--editors/poedit/pkg-plist140
2 files changed, 80 insertions, 72 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index 761f29601f69..eceb18ee2a77 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -4,7 +4,7 @@
PORTNAME= poedit
PORTVERSION= 1.4.6.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.4.6/
@@ -29,9 +29,17 @@ INSTALLS_ICONS= yes
CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB=yes
+
+.include <bsd.port.options.mk>
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
post-patch:
@${REINPLACE_CMD} -e \
's/for version in .*;/for version in ${BDB_VER};/ ; \
- s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
+ s/-ldb-$$version/-l${BDB_LIB_NAME}/' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist
index acd751e47139..059cd0197af1 100644
--- a/editors/poedit/pkg-plist
+++ b/editors/poedit/pkg-plist
@@ -5,76 +5,76 @@ share/icons/hicolor/16x16/apps/poedit.png
share/icons/hicolor/32x32/apps/poedit.png
share/icons/hicolor/48x48/apps/poedit.png
share/icons/hicolor/scalable/apps/poedit.svg
-share/locale/af_ZA/LC_MESSAGES/poedit.mo
-share/locale/am/LC_MESSAGES/poedit.mo
-share/locale/ar/LC_MESSAGES/poedit.mo
-share/locale/ast/LC_MESSAGES/poedit.mo
-share/locale/be/LC_MESSAGES/poedit.mo
-share/locale/be@latin/LC_MESSAGES/poedit.mo
-share/locale/bg/LC_MESSAGES/poedit.mo
-share/locale/bn/LC_MESSAGES/poedit.mo
-share/locale/br/LC_MESSAGES/poedit.mo
-share/locale/ca/LC_MESSAGES/poedit.mo
-share/locale/ca@valencia/LC_MESSAGES/poedit.mo
-share/locale/cs/LC_MESSAGES/poedit.mo
-share/locale/da/LC_MESSAGES/poedit.mo
-share/locale/de/LC_MESSAGES/poedit.mo
-share/locale/el/LC_MESSAGES/poedit.mo
-share/locale/eo/LC_MESSAGES/poedit.mo
-share/locale/es/LC_MESSAGES/poedit.mo
-share/locale/es_PR/LC_MESSAGES/poedit.mo
-share/locale/et/LC_MESSAGES/poedit.mo
-share/locale/eu/LC_MESSAGES/poedit.mo
-share/locale/fa_IR/LC_MESSAGES/poedit.mo
-share/locale/fi/LC_MESSAGES/poedit.mo
-share/locale/fr/LC_MESSAGES/poedit.mo
-share/locale/fur/LC_MESSAGES/poedit.mo
-share/locale/ga/LC_MESSAGES/poedit.mo
-share/locale/gl/LC_MESSAGES/poedit.mo
-share/locale/he/LC_MESSAGES/poedit.mo
-share/locale/hi/LC_MESSAGES/poedit.mo
-share/locale/hr/LC_MESSAGES/poedit.mo
-share/locale/hu/LC_MESSAGES/poedit.mo
-share/locale/id/LC_MESSAGES/poedit.mo
-share/locale/is/LC_MESSAGES/poedit.mo
-share/locale/it/LC_MESSAGES/poedit.mo
-share/locale/ja/LC_MESSAGES/poedit.mo
-share/locale/ka/LC_MESSAGES/poedit.mo
-share/locale/kk/LC_MESSAGES/poedit.mo
-share/locale/ko/LC_MESSAGES/poedit.mo
-share/locale/ku/LC_MESSAGES/poedit.mo
-share/locale/ky/LC_MESSAGES/poedit.mo
-share/locale/lt/LC_MESSAGES/poedit.mo
-share/locale/lv/LC_MESSAGES/poedit.mo
-share/locale/mk/LC_MESSAGES/poedit.mo
-share/locale/mn/LC_MESSAGES/poedit.mo
-share/locale/ms/LC_MESSAGES/poedit.mo
-share/locale/nb/LC_MESSAGES/poedit.mo
-share/locale/nl/LC_MESSAGES/poedit.mo
-share/locale/nn/LC_MESSAGES/poedit.mo
-share/locale/pa/LC_MESSAGES/poedit.mo
-share/locale/pl/LC_MESSAGES/poedit.mo
-share/locale/pt_BR/LC_MESSAGES/poedit.mo
-share/locale/pt_PT/LC_MESSAGES/poedit.mo
-share/locale/ro/LC_MESSAGES/poedit.mo
-share/locale/ru/LC_MESSAGES/poedit.mo
-share/locale/sk/LC_MESSAGES/poedit.mo
-share/locale/sl/LC_MESSAGES/poedit.mo
-share/locale/sq_AL/LC_MESSAGES/poedit.mo
-share/locale/sr/LC_MESSAGES/poedit.mo
-share/locale/sv/LC_MESSAGES/poedit.mo
-share/locale/ta/LC_MESSAGES/poedit.mo
-share/locale/th/LC_MESSAGES/poedit.mo
-share/locale/tr/LC_MESSAGES/poedit.mo
-share/locale/tt/LC_MESSAGES/poedit.mo
-share/locale/ug/LC_MESSAGES/poedit.mo
-share/locale/uk/LC_MESSAGES/poedit.mo
-share/locale/ur/LC_MESSAGES/poedit.mo
-share/locale/uz/LC_MESSAGES/poedit.mo
-share/locale/vi/LC_MESSAGES/poedit.mo
-share/locale/wa/LC_MESSAGES/poedit.mo
-share/locale/zh_CN/LC_MESSAGES/poedit.mo
-share/locale/zh_TW/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/af_ZA/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/am/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ast/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/be/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/be@latin/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/bn/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/br/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ca@valencia/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/da/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/de/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/el/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/es/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/es_PR/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/et/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/fa_IR/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/fur/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ga/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/he/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/hi/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/id/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/is/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/it/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/kk/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ku/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ky/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/mk/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/mn/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ms/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/pt_PT/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/sq_AL/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/th/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/tt/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ug/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/ur/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/uz/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/wa/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/poedit.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/poedit.mo
share/pixmaps/poedit.png
%%DATADIR%%/help/common/comment.gif
%%DATADIR%%/help/common/fileopen.gif