summaryrefslogtreecommitdiff
path: root/security/dirmngr/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-11-05 22:12:17 +0000
committerjmmv <jmmv>2004-11-05 22:12:17 +0000
commit317f7eba4f55a21beb3da92b8c06e301031d625f (patch)
tree091a94fdbbb26fe14707af941de1b7ef0119e307 /security/dirmngr/Makefile
parent0023cf84e265ae61a703ce75acd5eb3505321bdc (diff)
downloadpkgsrc-317f7eba4f55a21beb3da92b8c06e301031d625f.tar.gz
Update to 0.5.6nb2:
- Refill the DESCR file. - Remove BUILD_USES_MSGFMT; distfile ships with prebuilt .gmo files. - Do not use GNU make as it's not needed. - Use BUILDLINK_PREFIX.openldap instead of LOCALBASE to locate openldap. - Register info file properly and fix a typo in its directory entry so that it can be accessed. - Patch configure instead of configure.ac, so we can drop the build dependency on autoconf. - Add missing dependencies on libiconv and gettext-lib. - Sort USE_* and include sections alphabetically. - Remove BUILDLINK_DEPENDS.* version overrides because the respective buildlink3.mk files already pull in a newer version. - Drop all logic to detect the actual gettext-lib version. This was wrong because it relied on the version currently installed (thus having a good chance to produce different results between systems), and because it's not the way to go. Instead, simply include gettext-lib's buildlink3.mk file, and let the builtin.mk machinery decide what to do. - Also add the locale files to the PLIST.
Diffstat (limited to 'security/dirmngr/Makefile')
-rw-r--r--security/dirmngr/Makefile44
1 files changed, 12 insertions, 32 deletions
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index 1f5b602298c..d37287ed3d3 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/11/04 20:20:22 shannonjr Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/05 22:12:17 jmmv Exp $
#
DISTNAME= dirmngr-0.5.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/alpha/dirmngr/
@@ -10,41 +10,21 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.gnupg.org/aegypten2
COMMENT= X509 certificate and CRL downloader
-BUILD_USES_MSGFMT= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-INFO_FILES= dirmngr.info
-USE_BUILDLINK3= yes
-USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
-USE_GNU_TOOLS+= make
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= awk
-AUTOCONF_REQD= 2.52
-CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
-
-# gettext Version 0.12.1 or newer is required for NLS support
-.include "../../devel/gettext-lib/buildlink3.mk"
-GETTEXT_IS_TOO_OLD!=if ${PKG_ADMIN} pmatch 'gettext-lib < 0.12.1' gettext-lib ; then \
- ${ECHO} "yes"; \
- else \
- ${ECHO} "no"; \
- fi
+USE_PKGLOCALEDIR= yes
-.if GETTEXT_IS_TOO_OLD
-CONFIGURE_ARGS+= --disable-nls
-.endif
+CONFIGURE_ENV+= BUILDLINK_PREFIX_openldap=${BUILDLINK_PREFIX.openldap}
-pre-configure:
- cd ${WRKSRC} && ${AUTOCONF}
+INFO_FILES= dirmngr.info
-.include "../../security/libgpg-error/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../databases/openldap/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libgetopt/buildlink3.mk"
+.include "../../security/libassuan/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
-BUILDLINK_DEPENDS.libksb+= libksba>=0.9.6
+.include "../../security/libgpg-error/buildlink3.mk"
.include "../../security/libksba/buildlink3.mk"
-BUILDLINK_DEPENDS.libassuan+= libassuan>=0.6.5
-.include "../../security/libassuan/buildlink3.mk"
-.include "../../devel/libgetopt/buildlink3.mk"
-.include "../../databases/openldap/buildlink3.mk"
-.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"