summaryrefslogtreecommitdiff
path: root/textproc/erlang-fast_xml/Makefile
blob: afbdd4fb18c5f9aae4bb1de69a0e62350824ed40 (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
26
27
28
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>