1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/security/gpgme03/Makefile
Ade Lovett 771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00

50 lines
984 B
Makefile

# New ports collection makefile for: gpgme
# Date created: 15 June 2001
# Whom: teramoto@comm.eng.osaka-u.ac.jp
#
# $FreeBSD$
#
PORTNAME= gpgme
PORTVERSION= 0.3.16
PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= gpgme
MAINTAINER= markun@onohara.to
COMMENT= A library to make access to GnuPG easier
BUILD_DEPENDS= gpgv:${PORTSDIR}/security/gnupg1
LIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth
LATEST_LINK= gpgme03
USE_AUTOTOOLS= autoconf:262 libtool:15
USE_GMAKE= yes
USE_LDCONFIG= yes
INFO= gpgme03
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gpgme03
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/gpgsm)
WITH_GPGSM= yes
.endif
.if defined(WITH_GPGSM)
BUILD_DEPENDS+= gpgsm:${PORTSDIR}/security/gnupg
.else
CONFIGURE_ARGS+= --without-gpgsm
.endif
post-patch:
.for i in tests tests/gpg tests/gpgsm
@${REINPLACE_CMD} -e 's/libgpgme.la/libgpgme03.la/' \
${WRKSRC}/${i}/Makefile.in
.endfor
.include <bsd.port.post.mk>