freebsd-ports/textproc/erlang-fast_xml/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

30 lines
546 B
Makefile

# $FreeBSD$
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>