aboutsummaryrefslogtreecommitdiff
path: root/textproc/erlang-fast_xml/Makefile
blob: 089f4a04f098a1b6245c07eb941ab9add8371209 (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
29

PORTNAME=	fast_xml
PORTVERSION=	1.1.32
CATEGORIES=	textproc
PKGNAMEPREFIX=	erlang-

MAINTAINER=	erlang@FreeBSD.org
COMMENT=	Erlang XML parsing and manipulation library

LICENSE=	APACHE20

LIB_DEPENDS=	libexpat.so:textproc/expat2

USES=		erlang:rebar
USE_GITHUB=	yes
GH_ACCOUNT=	processone

ERL_BUILD_DEPS=	textproc/erlang-p1_utils
ERL_RUN_DEPS:=	${ERL_BUILD_DEPS}

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -l expat

OPTIONS_DEFINE=	DOCS

pre-install:
	${STRIP_CMD} ${WRKSRC}/priv/lib/*.so

.include <bsd.port.mk>