aboutsummaryrefslogtreecommitdiff
path: root/security/rubygem-gpgme/Makefile
blob: ee74cc85f2b58893026cf82400e5f484bc891673 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	gpgme
PORTVERSION=	2.0.20
CATEGORIES=	security rubygems
MASTER_SITES=	RG

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Ruby interface to GnuPG Made Easy (GPGME)

LICENSE=	LGPL21+

BUILD_DEPENDS=	gpgme-config:security/gpgme
LIB_DEPENDS=	libassuan.so:security/libassuan \
		libgpg-error.so:security/libgpg-error
RUN_DEPENDS=	gpgme-config:security/gpgme

USES=		gem shebangfix
USE_RUBY=	yes

CONFIGURE_ARGS=	--use-system-libraries

SHEBANG_FILES=	test/pinentry

post-patch:
	@${REINPLACE_CMD} -e '/mini_portile2/d' ${WRKSRC}/gpgme.gemspec ${WRKSRC}/ext/gpgme/extconf.rb

.include <bsd.port.mk>