1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 1.3 to fix build with PHP 5.2.0

Notified by:	krismail
This commit is contained in:
Marcus Alves Grando 2006-11-09 01:17:15 +00:00
parent 351c97209a
commit 5c17e48cf2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176887
2 changed files with 5 additions and 20 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= gnupg
PORTVERSION= 1.2
PORTREVISION= 1
PORTVERSION= 1.3
CATEGORIES= security
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -27,15 +26,6 @@ CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include/gpgme
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PLIST_FILES= %%EXAMPLESDIR%%/clearsign.php %%EXAMPLESDIR%%/decrypt.php \
%%EXAMPLESDIR%%/encrypt.php %%EXAMPLESDIR%%/encryptsign.php \
%%EXAMPLESDIR%%/export.php %%EXAMPLESDIR%%/import.php \
%%EXAMPLESDIR%%/keyinfo.php %%EXAMPLESDIR%%/main.php \
%%EXAMPLESDIR%%/verify.php
PLIST_DIRS= %%EXAMPLESDIR%%
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 && ${PHP_VER} == 5
@ -43,12 +33,7 @@ USE_GCC= 3.2+
.endif
post-patch:
@${REINPLACE_CMD} -e "s|\$$GNUPG_DIR/include|${LOCALBASE}/include/gpgme|" \
-e "s|\$$GNUPG_DIR/lib|${LOCALBASE}/lib|" -e "s|-ldl||g" \
@${REINPLACE_CMD} -e "s|\$$GNUPG_DIR/lib|${LOCALBASE}/lib|" -e "s|-ldl||g" \
${WRKSRC}/config.m4
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.php ${EXAMPLESDIR}
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (PECL/gnupg-1.2.tgz) = 099cf04f93bd2f22b8e2885646f37198
SHA256 (PECL/gnupg-1.2.tgz) = f9c065c8c26c6cc8d06874fc084a17d41d0418bf2795291c093f4d8fa18b6088
SIZE (PECL/gnupg-1.2.tgz) = 20264
MD5 (PECL/gnupg-1.3.tgz) = cab58faebb422fac2e4b95edfe2f99e6
SHA256 (PECL/gnupg-1.3.tgz) = 601aeecfa4a06f9b2436b15e7e36506bbfb5f76f69c890405f8758527e7ae5b4
SIZE (PECL/gnupg-1.3.tgz) = 19253