summaryrefslogtreecommitdiff
path: root/security/gpgme03/buildlink3.mk
blob: e6622f55f456a254babf5047638fee8a05781a60 (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
# $NetBSD: buildlink3.mk,v 1.4 2004/10/03 00:18:09 tv 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

.if !empty(GPGME03_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.gpgme03+=	gpgme03>=0.3.16
BUILDLINK_RECOMMENDED.gpgme03+=	gpgme03>=0.3.16nb1
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/+$//}