2001-07-06 20:15:29 +02:00
|
|
|
# New ports collection makefile for: gpgme
|
|
|
|
# Date created: 15 June 2001
|
|
|
|
# Whom: teramoto@comm.eng.osaka-u.ac.jp
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gpgme
|
2004-01-06 15:18:02 +01:00
|
|
|
PORTVERSION= 0.3.16
|
2004-12-21 09:59:42 +01:00
|
|
|
PORTREVISION= 2
|
2001-07-06 20:15:29 +02:00
|
|
|
CATEGORIES= security
|
2003-02-15 13:17:21 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
|
|
MASTER_SITE_SUBDIR= gpgme
|
2001-07-06 20:15:29 +02:00
|
|
|
|
2002-12-12 09:44:23 +01:00
|
|
|
MAINTAINER= markun@onohara.to
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= A library to make access to GnuPG easier
|
2001-07-06 20:15:29 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
2003-02-17 19:14:00 +01:00
|
|
|
LIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth
|
2001-07-06 20:15:29 +02:00
|
|
|
|
2004-12-17 09:07:07 +01:00
|
|
|
LATEST_LINK= gpgme03
|
|
|
|
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER=13
|
2001-07-06 20:15:29 +02:00
|
|
|
USE_GMAKE= yes
|
2004-12-21 09:59:42 +01:00
|
|
|
USE_AUTOCONF_VER= 259
|
2001-07-06 20:15:29 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-12-21 09:59:42 +01:00
|
|
|
USE_REINPLACE= YES
|
2001-07-06 20:15:29 +02:00
|
|
|
|
2004-12-21 09:59:42 +01:00
|
|
|
INFO= gpgme03
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/gpgme03
|
2004-01-06 15:18:02 +01:00
|
|
|
|
2003-05-19 01:28:15 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${LOCALBASE}/bin/gpgsm)
|
|
|
|
WITH_GPGSM= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GPGSM)
|
2004-05-03 21:22:04 +02:00
|
|
|
BUILD_DEPENDS+= gpgsm:${PORTSDIR}/security/gnupg-devel
|
2003-05-19 01:28:15 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gpgsm
|
|
|
|
.endif
|
|
|
|
|
2004-12-21 09:59:42 +01:00
|
|
|
post-patch:
|
|
|
|
.for i in tests tests/gpg tests/gpgsm
|
|
|
|
@${REINPLACE_CMD} -e 's/libgpgme.la/libgpgme03.la/' \
|
|
|
|
${WRKSRC}/${i}/Makefile.in
|
|
|
|
.endfor
|
|
|
|
|
2003-05-19 01:28:15 +02:00
|
|
|
.include <bsd.port.post.mk>
|