diff options
author | mef <mef@pkgsrc.org> | 2014-12-10 02:27:43 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-12-10 02:27:43 +0000 |
commit | 0cbcc40e72c9884eadc289c88bd42dddb2b5c89b (patch) | |
tree | e0c93892aa7f5ba6450220e42ec212f83d8c2dd9 | |
parent | 001a3ad5673efef3da0303c1568d1a020b191788 (diff) | |
download | pkgsrc-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.
-rw-r--r-- | security/pinentry-gtk/Makefile | 24 | ||||
-rw-r--r-- | security/pinentry-gtk2/Makefile | 24 | ||||
-rw-r--r-- | security/pinentry-qt/Makefile | 22 | ||||
-rw-r--r-- | security/pinentry-qt4/Makefile | 23 | ||||
-rw-r--r-- | security/pinentry/Makefile | 29 | ||||
-rw-r--r-- | security/pinentry/Makefile.common | 30 |
6 files changed, 53 insertions, 99 deletions
diff --git a/security/pinentry-gtk/Makefile b/security/pinentry-gtk/Makefile index 81a27de2ec2..b1ecceaacbf 100644 --- a/security/pinentry-gtk/Makefile +++ b/security/pinentry-gtk/Makefile @@ -1,22 +1,12 @@ -# $NetBSD: Makefile,v 1.11 2014/01/01 11:52:33 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2014/12/10 02:27:43 mef Exp $ # -DISTNAME= pinentry-0.8.3 -PKGNAME= pinentry-gtk-0.8.3 +PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk-/} PKGREVISION= 1 -CATEGORIES= security -MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ -EXTRACT_SUFX= .tar.bz2 +COMMENT= Applications for entering PINs or Passphrases, gtk enabled -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ -COMMENT= Applications for entering PINs or Passphrases +.include "../../security/pinentry/Makefile.common" -PATCHDIR= ${.CURDIR}/../../security/pinentry/patches -DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --enable-pinentry-gtk CONFIGURE_ARGS+= --disable-pinentry-curses #CONFIGURE_ARGS+= --disable-fallback-curses @@ -24,15 +14,11 @@ CONFIGURE_ARGS+= --disable-pinentry-gtk2 CONFIGURE_ARGS+= --disable-pinentry-qt CONFIGURE_ARGS+= --disable-pinentry-qt4 -INFO_FILES= yes - INSTALL_DIRS= gtk BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 .include "../../x11/gtk/buildlink3.mk" -.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-gtk2/Makefile b/security/pinentry-gtk2/Makefile index 284940761e2..43cd33db001 100644 --- a/security/pinentry-gtk2/Makefile +++ b/security/pinentry-gtk2/Makefile @@ -1,23 +1,13 @@ -# $NetBSD: Makefile,v 1.30 2014/05/05 00:48:19 ryoon Exp $ +# $NetBSD: Makefile,v 1.31 2014/12/10 02:27:44 mef Exp $ # -DISTNAME= pinentry-0.8.3 -PKGNAME= pinentry-gtk2-0.8.3 +PKGNAME= ${DISTNAME:S/pinentry-/pinentry-gtk2-/} PKGREVISION= 4 -CATEGORIES= security -MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ -EXTRACT_SUFX= .tar.bz2 +COMMENT= Applications for entering PINs or Passphrases, gtk2 enabled -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ -COMMENT= Applications for entering PINs or Passphrases - -PATCHDIR= ${.CURDIR}/../../security/pinentry/patches -DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo +.include "../../security/pinentry/Makefile.common" USE_TOOLS+= pkg-config -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --enable-pinentry-gtk2 CONFIGURE_ARGS+= --disable-pinentry-curses #CONFIGURE_ARGS+= --disable-fallback-curses @@ -25,15 +15,11 @@ CONFIGURE_ARGS+= --disable-pinentry-gtk CONFIGURE_ARGS+= --disable-pinentry-qt CONFIGURE_ARGS+= --disable-pinentry-qt4 -INFO_FILES= yes - INSTALL_DIRS= gtk+-2 BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 .include "../../x11/gtk2/buildlink3.mk" -.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-qt/Makefile b/security/pinentry-qt/Makefile index 85e01d97de4..0f2f6841a3b 100644 --- a/security/pinentry-qt/Makefile +++ b/security/pinentry-qt/Makefile @@ -1,22 +1,12 @@ -# $NetBSD: Makefile,v 1.20 2014/01/01 11:52:33 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2014/12/10 02:27:44 mef Exp $ # -DISTNAME= pinentry-0.8.3 -PKGNAME= pinentry-qt-0.8.3 +PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt-/} PKGREVISION= 2 -CATEGORIES= security -MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ -EXTRACT_SUFX= .tar.bz2 +COMMENT= Applications for entering PINs or Passphrases, qt3 enabled -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ -COMMENT= Applications for entering PINs or Passphrases +.include "../../security/pinentry/Makefile.common" -PATCHDIR= ${.CURDIR}/../../security/pinentry/patches -DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --enable-pinentry-qt CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q} CONFIGURE_ARGS+= --with-qt-includes=${BUILDLINK_PREFIX.qt3-libs}/qt3/include @@ -29,15 +19,11 @@ CONFIGURE_ARGS+= --disable-pinentry-qt4 USE_LANGUAGES+= c c++ USE_TOOLS+= gmake -INFO_FILES= yes INSTALL_DIRS= qt BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 .include "../../x11/qt3-libs/buildlink3.mk" -.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-qt4/Makefile b/security/pinentry-qt4/Makefile index 8cb92e2c616..bfbf56aa26c 100644 --- a/security/pinentry-qt4/Makefile +++ b/security/pinentry-qt4/Makefile @@ -1,22 +1,12 @@ -# $NetBSD: Makefile,v 1.29 2014/02/12 23:18:35 tron Exp $ +# $NetBSD: Makefile,v 1.30 2014/12/10 02:27:44 mef Exp $ # -DISTNAME= pinentry-0.8.3 -PKGNAME= pinentry-qt4-0.8.3 +PKGNAME= ${DISTNAME:S/pinentry-/pinentry-qt4-/} PKGREVISION= 2 -CATEGORIES= security -MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ -EXTRACT_SUFX= .tar.bz2 +COMMENT= Applications for entering PINs or Passphrases, qt4 enabled -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ -COMMENT= Applications for entering PINs or Passphrases +.include "../../security/pinentry/Makefile.common" -PATCHDIR= ${.CURDIR}/../../security/pinentry/patches -DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo - -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} CONFIGURE_ARGS+= --enable-pinentry-qt4 CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q} CONFIGURE_ARGS+= --with-qt-includes=${BUILDLINK_PREFIX.qt4-libs}/qt4/include @@ -29,7 +19,6 @@ CONFIGURE_ARGS+= --disable-pinentry-qt USE_LANGUAGES+= c c++ USE_TOOLS+= pkg-config gmake -INFO_FILES= yes INSTALL_DIRS= qt4 @@ -40,9 +29,7 @@ post-configure: BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 .include "../../x11/qt4-libs/buildlink3.mk" -.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 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" |