| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.19 2008/01/18 05:09:37 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2008/04/28 14:21:27 shannonjr Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gnupg-2.0.7 | | 4 | DISTNAME= gnupg-2.0.7 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 3 |
6 | PKGNAME= ${DISTNAME:S/gnupg/gnupg2/} | | 6 | PKGNAME= ${DISTNAME:S/gnupg/gnupg2/} |
7 | CATEGORIES= security | | 7 | CATEGORIES= security |
8 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ | | 8 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} | | 10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} |
11 | DISTFILES+= pth-2.0.7.tar.gz | | 11 | DISTFILES+= pth-2.0.7.tar.gz |
12 | SITES.pth-2.0.7.tar.gz= ${MASTER_SITE_GNU:=pth/} | | 12 | SITES.pth-2.0.7.tar.gz= ${MASTER_SITE_GNU:=pth/} |
13 | DISTFILES+= libassuan-1.0.3.tar.bz2 | | 13 | DISTFILES+= libassuan-1.0.3.tar.bz2 |
14 | SITES.libassuan-1.0.3.tar.bz2= ftp://ftp.gnupg.org/gcrypt/libassuan/ | | 14 | SITES.libassuan-1.0.3.tar.bz2= ftp://ftp.gnupg.org/gcrypt/libassuan/ |
15 | | | 15 | |
16 | MAINTAINER= shannonjr@NetBSD.org | | 16 | MAINTAINER= shannonjr@NetBSD.org |
17 | HOMEPAGE= http://www.gnupg.org/ | | 17 | HOMEPAGE= http://www.gnupg.org/ |
18 | COMMENT= GNUpg with OpenPGP and S/MIME capabilities | | 18 | COMMENT= GNUpg with OpenPGP and S/MIME capabilities |
| @@ -47,27 +47,27 @@ TEST_TARGET= check | | | @@ -47,27 +47,27 @@ TEST_TARGET= check |
47 | | | 47 | |
48 | .include "options.mk" | | 48 | .include "options.mk" |
49 | | | 49 | |
50 | # We are building a static pth library and linking against it | | 50 | # We are building a static pth library and linking against it |
51 | # While this is not very satisfying, gpgme hangs in its gpgsm tests | | 51 | # While this is not very satisfying, gpgme hangs in its gpgsm tests |
52 | # if we depend on the shared (pkgsrc) pth library | | 52 | # if we depend on the shared (pkgsrc) pth library |
53 | # We are also building libassuan here to get libassuan-pth. | | 53 | # We are also building libassuan here to get libassuan-pth. |
54 | pre-configure: | | 54 | pre-configure: |
55 | cd ${WRKDIR}/pth-2.0.7 && \ | | 55 | cd ${WRKDIR}/pth-2.0.7 && \ |
56 | ./configure --prefix=${WRKDIR}/pth --enable-pthread --enable-static --disable-shared && \ | | 56 | ./configure --prefix=${WRKDIR}/pth --enable-pthread --enable-static --disable-shared && \ |
57 | ${MAKE} install | | 57 | ${MAKE} install |
58 | cd ${WRKDIR}/libassuan-1.0.3 && \ | | 58 | cd ${WRKDIR}/libassuan-1.0.3 && \ |
59 | ${SETENV} ${CONFIGURE_ENV} ./autogen.sh && \ | | 59 | ${SETENV} ${CONFIGURE_ENV} ./autogen.sh && \ |
60 | ${SETENV} ${CONFIGURE_ENV} ./configure --enable-maintainer-mode --prefix=${WRKDIR}/libassuan --with-pth-prefix=${WRKDIR}/pth && \ | | 60 | ${SETENV} ${CONFIGURE_ENV} ./configure --prefix=${WRKDIR}/libassuan --with-pth-prefix=${WRKDIR}/pth && \ |
61 | ${SETENV} ${PKGSRC_MAKE_ENV} ${MAKE} install | | 61 | ${SETENV} ${PKGSRC_MAKE_ENV} ${MAKE} install |
62 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh | | 62 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh |
63 | | | 63 | |
64 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.4 | | 64 | BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=1.4 |
65 | BUILDLINK_API_DEPENDS.libksba+= libksba>=1.0.2 | | 65 | BUILDLINK_API_DEPENDS.libksba+= libksba>=1.0.2 |
66 | | | 66 | |
67 | .include "../../databases/openldap-client/buildlink3.mk" | | 67 | .include "../../databases/openldap-client/buildlink3.mk" |
68 | .include "../../converters/libiconv/buildlink3.mk" | | 68 | .include "../../converters/libiconv/buildlink3.mk" |
69 | .include "../../devel/gettext-lib/buildlink3.mk" | | 69 | .include "../../devel/gettext-lib/buildlink3.mk" |
70 | .include "../../devel/zlib/buildlink3.mk" | | 70 | .include "../../devel/zlib/buildlink3.mk" |
71 | .include "../../security/libgcrypt/buildlink3.mk" | | 71 | .include "../../security/libgcrypt/buildlink3.mk" |
72 | .include "../../security/libgpg-error/buildlink3.mk" | | 72 | .include "../../security/libgpg-error/buildlink3.mk" |
73 | .include "../../security/libksba/buildlink3.mk" | | 73 | .include "../../security/libksba/buildlink3.mk" |