summaryrefslogtreecommitdiff
path: root/security/gpgme03/buildlink3.mk
blob: 66d0259054d3f683ca6fefea08feec544d0a84a4 (plain)
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
# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:06 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
GPGME03_BUILDLINK3_MK:=	${GPGME03_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	gpgme03
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ngpgme03}
BUILDLINK_PACKAGES+=	gpgme03
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpgme03

.if !empty(GPGME03_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gpgme03+=	gpgme03>=0.3.16
BUILDLINK_ABI_DEPENDS.gpgme03+=	gpgme03>=0.3.16nb2
BUILDLINK_PKGSRCDIR.gpgme03?=	../../security/gpgme03

BUILDLINK_FILES.gpgme03+=	bin/gpgme03-config
BUILDLINK_TRANSFORM.gpgme03+=	-e 's|/gpgme03-config|/gpgme-config|g'
BUILDLINK_TRANSFORM.gpgme03+=	-e 's|/gpgme03.h|/gpgme.h|g'
BUILDLINK_TRANSFORM+=		l:gpgme:gpgme03
.endif	# GPGME03_BUILDLINK3_MK

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}