sync with base pkg qt4: run "moc" at build time to make sure the generated files match the installed qt versiondiff -r1.2 -r1.3 pkgsrc/security/pinentry-gtk/Makefile
(drochner)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2010/02/22 17:20:39 drochner Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2010/08/11 13:29:19 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= pinentry-0.7.6 | 4 | DISTNAME= pinentry-0.8.0 | |
5 | PKGNAME= pinentry-gtk-0.7.6 | 5 | PKGNAME= pinentry-gtk-0.8.0 | |
6 | CATEGORIES= security | 6 | CATEGORIES= security | |
7 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 7 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
8 | 8 | |||
9 | MAINTAINER= shannonjr@NetBSD.org | 9 | MAINTAINER= shannonjr@NetBSD.org | |
10 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 10 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
11 | COMMENT= Applications for entering PINs or Passphrases | 11 | COMMENT= Applications for entering PINs or Passphrases | |
12 | 12 | |||
13 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 13 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
14 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 14 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
16 | 16 | |||
17 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
18 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | 18 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} |
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2010/06/13 22:45:19 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2010/08/11 13:29:19 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= pinentry-0.7.6 | 4 | DISTNAME= pinentry-0.8.0 | |
5 | PKGNAME= pinentry-gtk2-0.7.6 | 5 | PKGNAME= pinentry-gtk2-0.8.0 | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= security | 6 | CATEGORIES= security | |
8 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 7 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
9 | 8 | |||
10 | MAINTAINER= shannonjr@NetBSD.org | 9 | MAINTAINER= shannonjr@NetBSD.org | |
11 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 10 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
12 | COMMENT= Applications for entering PINs or Passphrases | 11 | COMMENT= Applications for entering PINs or Passphrases | |
13 | 12 | |||
14 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 13 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
15 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 14 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
17 | 16 | |||
18 | USE_TOOLS+= pkg-config | 17 | USE_TOOLS+= pkg-config | |
19 | GNU_CONFIGURE= yes | 18 | GNU_CONFIGURE= yes |
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.3 2010/06/13 22:45:19 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.4 2010/08/11 13:29:19 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= pinentry-0.7.6 | 4 | DISTNAME= pinentry-0.8.0 | |
5 | PKGNAME= pinentry-qt-0.7.6 | 5 | PKGNAME= pinentry-qt-0.8.0 | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= security | 6 | CATEGORIES= security | |
8 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 7 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
9 | 8 | |||
10 | MAINTAINER= shannonjr@NetBSD.org | 9 | MAINTAINER= shannonjr@NetBSD.org | |
11 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 10 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
12 | COMMENT= Applications for entering PINs or Passphrases | 11 | COMMENT= Applications for entering PINs or Passphrases | |
13 | 12 | |||
14 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 13 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
15 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 14 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
17 | 16 | |||
18 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
19 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | 18 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} |
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2010/06/13 22:45:19 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2010/08/11 13:29:19 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= pinentry-0.7.6 | 4 | DISTNAME= pinentry-0.8.0 | |
5 | PKGNAME= pinentry-qt4-0.7.6 | 5 | PKGNAME= pinentry-qt4-0.8.0 | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= security | 6 | CATEGORIES= security | |
8 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 7 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
9 | 8 | |||
10 | MAINTAINER= shannonjr@NetBSD.org | 9 | MAINTAINER= shannonjr@NetBSD.org | |
11 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | 10 | HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/ | |
12 | COMMENT= Applications for entering PINs or Passphrases | 11 | COMMENT= Applications for entering PINs or Passphrases | |
13 | 12 | |||
14 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | 13 | PATCHDIR= ${.CURDIR}/../../security/pinentry/patches | |
15 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | 14 | DISTINFO_FILE= ${.CURDIR}/../../security/pinentry/distinfo | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | 15 | PKG_DESTDIR_SUPPORT= user-destdir | |
17 | 16 | |||
18 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
19 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | 18 | CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} | |
@@ -23,20 +22,25 @@ CONFIGURE_ARGS+= --with-qt-includes=${BU | @@ -23,20 +22,25 @@ CONFIGURE_ARGS+= --with-qt-includes=${BU | |||
23 | CONFIGURE_ARGS+= --with-qt-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib | 22 | CONFIGURE_ARGS+= --with-qt-libraries=${BUILDLINK_PREFIX.qt4-libs}/qt4/lib | |
24 | CONFIGURE_ARGS+= --disable-pinentry-curses | 23 | CONFIGURE_ARGS+= --disable-pinentry-curses | |
25 | #CONFIGURE_ARGS+= --disable-fallback-curses | 24 | #CONFIGURE_ARGS+= --disable-fallback-curses | |
26 | CONFIGURE_ARGS+= --disable-pinentry-gtk | 25 | CONFIGURE_ARGS+= --disable-pinentry-gtk | |
27 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | 26 | CONFIGURE_ARGS+= --disable-pinentry-gtk2 | |
28 | CONFIGURE_ARGS+= --disable-pinentry-qt | 27 | CONFIGURE_ARGS+= --disable-pinentry-qt | |
29 | 28 | |||
30 | USE_LANGUAGES+= c c++ | 29 | USE_LANGUAGES+= c c++ | |
31 | USE_TOOLS+= pkg-config gmake | 30 | USE_TOOLS+= pkg-config gmake | |
32 | INFO_FILES= yes | 31 | INFO_FILES= yes | |
33 | 32 | |||
34 | INSTALL_DIRS= qt4 | 33 | INSTALL_DIRS= qt4 | |
35 | 34 | |||
35 | post-configure: | |||
36 | cd $(WRKSRC)/qt4 && \ | |||
37 | $(QTDIR)/bin/moc pinentrydialog.h -o pinentrydialog.moc && \ | |||
38 | $(QTDIR)/bin/moc qsecurelineedit.h -o qsecurelineedit.moc | |||
39 | ||||
36 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | 40 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.0.0 | |
37 | .include "../../x11/qt4-libs/buildlink3.mk" | 41 | .include "../../x11/qt4-libs/buildlink3.mk" | |
38 | .include "../../converters/libiconv/buildlink3.mk" | 42 | .include "../../converters/libiconv/buildlink3.mk" | |
39 | #.include "../../security/libgpg-error/buildlink3.mk" | 43 | #.include "../../security/libgpg-error/buildlink3.mk" | |
40 | #.include "../../security/libksba/buildlink3.mk" | 44 | #.include "../../security/libksba/buildlink3.mk" | |
41 | .include "../../mk/pthread.buildlink3.mk" | 45 | .include "../../mk/pthread.buildlink3.mk" | |
42 | .include "../../mk/bsd.pkg.mk" | 46 | .include "../../mk/bsd.pkg.mk" |