aboutsummaryrefslogtreecommitdiff
path: root/devel/libfreefare/Makefile
blob: 1d302633107d166426b3f7fc94fa39493bfba480 (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
PORTNAME=	libfreefare
PORTVERSION=	0.4.0
DISTVERSIONPREFIX=	${PORTNAME}-
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	romain@FreeBSD.org
COMMENT=	MIFARE contactless tag access library
WWW=		https://github.com/nfc-tools/libfreefare/

LICENSE=	LGPL3+

LIB_DEPENDS=	libnfc.so:devel/libnfc

USE_GITHUB=	yes
GH_ACCOUNT=	nfc-tools
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
USE_LDCONFIG=	yes
USES=		autoreconf gmake libtool pathfix pkgconfig ssl
MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
LDFLAGS+=	-L${OPENSSLLIB}
CFLAGS+=	-I${OPENSSLINC}

# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT=	limitw:1,even

.include <bsd.port.mk>