summaryrefslogtreecommitdiff
path: root/security/pinentry
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-12-10 02:27:43 +0000
committermef <mef@pkgsrc.org>2014-12-10 02:27:43 +0000
commit0cbcc40e72c9884eadc289c88bd42dddb2b5c89b (patch)
treee0c93892aa7f5ba6450220e42ec212f83d8c2dd9 /security/pinentry
parent001a3ad5673efef3da0303c1568d1a020b191788 (diff)
downloadpkgsrc-0cbcc40e72c9884eadc289c88bd42dddb2b5c89b.tar.gz
Convert security/pinentry* to using Makefile.common style.
No any changes on built binary. Proposed at: http://mail-index.netbsd.org/pkgsrc-users/2014/12/08/msg020735.html Thank you.
Diffstat (limited to 'security/pinentry')
-rw-r--r--security/pinentry/Makefile29
-rw-r--r--security/pinentry/Makefile.common30
2 files changed, 34 insertions, 25 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index fc599988688..f7ea8516310 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -1,28 +1,10 @@
-# $NetBSD: Makefile,v 1.40 2014/01/01 11:52:33 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2014/12/10 02:27:43 mef Exp $
#
-# The following packages use the same distfile, even if they
-# currently do not use a common Makefile fragment. Please look at
-# them when updating this package
-# pkgsrc/security/pinentry-gtk
-# pkgsrc/security/pinentry-gtk2
-# pkgsrc/security/pinentry-qt
-# pkgsrc/security/pinentry-qt4
-
-DISTNAME= pinentry-0.8.3
+#PKGNAME= ${DISTNAME}
PKGREVISION= 2
-CATEGORIES= security
-MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
-LICENSE= gnu-gpl-v2
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
-INFO_FILES= yes
+.include "../../security/pinentry/Makefile.common"
.include "options.mk"
@@ -34,10 +16,7 @@ post-install:
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
.include "../../security/libgpg-error/buildlink3.mk"
.include "../../security/libksba/buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pinentry/Makefile.common b/security/pinentry/Makefile.common
new file mode 100644
index 00000000000..8e215006f6f
--- /dev/null
+++ b/security/pinentry/Makefile.common
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile.common,v 1.1 2014/12/10 02:27:43 mef Exp $
+# -*- Makefile -*-
+# used by security/pinentry/Makefile
+# used by security/pinentry-gtk/Makefile
+# used by security/pinentry-gtk2/Makefile
+# used by security/pinentry-qt/Makefile
+# used by security/pinentry-qt4/Makefile
+
+PINENTRY_VERSION= 0.8.3
+DISTNAME= pinentry-${PINENTRY_VERSION}
+
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
+LICENSE= gnu-gpl-v2
+
+#PATCHDIR= ${.CURDIR}/../../security/pinentry/patches
+DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
+
+INFO_FILES= yes
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"