diff options
author | lofi <lofi@FreeBSD.org> | 2004-11-05 00:49:10 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-11-05 00:49:10 +0800 |
commit | 56a2dcf20463421727f01ea39c3be9e318495dd5 (patch) | |
tree | 59861207503f820b4f6f149a22f8aeaa731a67fc /security/pinentry | |
parent | f4edad395f0546bc2cf39f64299fe0540e90f410 (diff) | |
download | freebsd-ports-gnome-56a2dcf20463421727f01ea39c3be9e318495dd5.tar.gz freebsd-ports-gnome-56a2dcf20463421727f01ea39c3be9e318495dd5.tar.zst freebsd-ports-gnome-56a2dcf20463421727f01ea39c3be9e318495dd5.zip |
Add hooks for new -gtk2 slaveport.
Diffstat (limited to 'security/pinentry')
-rw-r--r-- | security/pinentry/Makefile | 43 | ||||
-rw-r--r-- | security/pinentry/distinfo | 2 | ||||
-rw-r--r-- | security/pinentry/pkg-plist | 1 |
3 files changed, 42 insertions, 4 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile index 7c838bf4b8b5..f4f8186770c9 100644 --- a/security/pinentry/Makefile +++ b/security/pinentry/Makefile @@ -30,13 +30,17 @@ INFO= pinentry CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} -.if defined(PINENTRY_QT) || defined(PINENTRY_GTK) || defined(PINENTRY_CURSES) +.if defined(PINENTRY_QT) || defined(PINENTRY_GTK) || defined(PINENTRY_GTK2) || defined(PINENTRY_CURSES) .if defined(PINENTRY_QT) USE_QT_VER= 3 PLIST_SUB+= WITH_QT="" .else CONFIGURE_ARGS+=--disable-pinentry-qt PLIST_SUB+= WITH_QT="@comment " + +pre-configure: + ${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" \ + ${WRKSRC}/acinclude.m4 ${WRKSRC}/configure .endif .if defined(PINENTRY_GTK) @@ -47,6 +51,24 @@ CONFIGURE_ARGS+=--disable-pinentry-gtk PLIST_SUB+= WITH_GTK="@comment " .endif +.if defined(PINENTRY_GTK2) +USE_GNOME+= gtk20 +PLIST_SUB+= WITH_GTK2="" + +PATCH_SITES= http://home.arcor.de/dralbrecht.dress/GnuPG/ +PATCHFILES= pinentry-0.7.1-gtk+-2.4.diff.bz2 +PATCH_DIST_STRIP= -p1 + +USE_AUTOCONF_VER= 259 +USE_AUTOMAKE_VER= 19 + +pre-configure: + @cd ${WRKSRC}; ${ACLOCAL} +.else +CONFIGURE_ARGS+=--disable-pinentry-gtk2 +PLIST_SUB+= WITH_GTK2="@comment " +.endif + .if defined(PINENTRY_CURSES) PLIST_SUB+= WITH_CURSES="" .else @@ -54,15 +76,28 @@ CONFIGURE_ARGS+=--disable-pinentry-curses PLIST_SUB+= WITH_CURSES="@comment " .endif .else +PATCH_SITES= http://home.arcor.de/dralbrecht.dress/GnuPG/ +PATCHFILES= pinentry-0.7.1-gtk+-2.4.diff.bz2 +PATCH_DIST_STRIP= -p1 +USE_AUTOCONF_VER= 259 +USE_AUTOMAKE_VER= 19 USE_QT_VER= 3 -USE_GNOME+= gtk12 +USE_GNOME+= gtk12 gtk20 PLIST_SUB+= WITH_QT="" PLIST_SUB+= WITH_GTK="" +PLIST_SUB+= WITH_GTK2="" PLIST_SUB+= WITH_CURSES="" -.endif pre-configure: + @cd ${WRKSRC}; ${ACLOCAL} +.endif + +run-autotools: + @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} \ + ${AUTOMAKE_ARGS}) + @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} \ + ${AUTOCONF_ARGS}) ${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" \ - ${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure + ${WRKSRC}/acinclude.m4 ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/security/pinentry/distinfo b/security/pinentry/distinfo index 3492788ca8b7..359ea3a7b7c8 100644 --- a/security/pinentry/distinfo +++ b/security/pinentry/distinfo @@ -1,2 +1,4 @@ MD5 (pinentry-0.7.1.tar.gz) = 7861d63dea6434a5a05da84e83f209e6 SIZE (pinentry-0.7.1.tar.gz) = 347047 +MD5 (pinentry-0.7.1-gtk+-2.4.diff.bz2) = 824144322bcfbba4d291e293b352610a +SIZE (pinentry-0.7.1-gtk+-2.4.diff.bz2) = 26267 diff --git a/security/pinentry/pkg-plist b/security/pinentry/pkg-plist index af02303c0488..94452016f9ab 100644 --- a/security/pinentry/pkg-plist +++ b/security/pinentry/pkg-plist @@ -1,3 +1,4 @@ %%WITH_CURSES%%bin/pinentry-curses %%WITH_GTK%%bin/pinentry-gtk +%%WITH_GTK2%%bin/pinentry-gtk-2 %%WITH_QT%%bin/pinentry-qt |