aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/libgpg-error/Makefile6
-rw-r--r--security/libgpg-error/pkg-plist8
2 files changed, 11 insertions, 3 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index d5463aa39cc3..1605da36ab87 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgpg-error
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,8 +24,13 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --without-nls
+PLIST_SUB= NLS="@comment "
.else
+USE_ICONV= yes
USE_GETTEXT= yes
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+ --with-libintl-prefix=${LOCALBASE}
+PLIST_SUB= NLS=""
.endif
DOCS= AUTHORS ChangeLog NEWS README
diff --git a/security/libgpg-error/pkg-plist b/security/libgpg-error/pkg-plist
index c454dd89bdb1..009ee0ec0f29 100644
--- a/security/libgpg-error/pkg-plist
+++ b/security/libgpg-error/pkg-plist
@@ -2,13 +2,15 @@
bin/gpg-error
bin/gpg-error-config
include/gpg-error.h
-lib/libgpg-error.so.1
-lib/libgpg-error.so
-lib/libgpg-error.la
lib/libgpg-error.a
+lib/libgpg-error.la
+lib/libgpg-error.so
+lib/libgpg-error.so.1
share/aclocal/gpg-error.m4
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%NLS%%share/locale/de/LC_MESSAGES/libgpg-error.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/libgpg-error.mo