aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgpg-error/Makefile
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2013-03-02 18:56:34 +0800
committernovel <novel@FreeBSD.org>2013-03-02 18:56:34 +0800
commita6aeedf3b4f586da01a6904528f305d6efd8fd7e (patch)
tree2153e414d31de4f3d04ccb172f28f89743f9fda4 /security/libgpg-error/Makefile
parent8929c56bc73b25700a736e1ff72d27bfa953ef6c (diff)
downloadfreebsd-ports-gnome-a6aeedf3b4f586da01a6904528f305d6efd8fd7e.tar.gz
freebsd-ports-gnome-a6aeedf3b4f586da01a6904528f305d6efd8fd7e.tar.zst
freebsd-ports-gnome-a6aeedf3b4f586da01a6904528f305d6efd8fd7e.zip
Update to 1.11.
PR: 176460 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
Diffstat (limited to 'security/libgpg-error/Makefile')
-rw-r--r--security/libgpg-error/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index ae8564bb034f..884d1b6154c8 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: libgpg-error
-# Date created: 2003-10-12
-# Whom: Sergei Kolobov <sergei@kolobov.com>
-#
+# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$
-#
PORTNAME= libgpg-error
-PORTVERSION= 1.10
+PORTVERSION= 1.11
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,20 +17,22 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS= --disable-nls
-PLIST_SUB= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_ICONV= yes
USE_GETTEXT= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS= --disable-nls
+PLIST_SUB= NLS="@comment "
.endif
DOCS= AUTHORS ChangeLog NEWS README
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}