1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/textproc/simplexml/Makefile
2019-11-06 16:26:34 +00:00

31 lines
648 B
Makefile

# Created by: Konstantin Lepa <konstantin.lepa@gmail.com>
# $FreeBSD$
PORTNAME= simplexml
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://bitbucket.org/klepa/simplexml/get/
DISTNAME= ${PORTVERSION}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= konstantin.lepa@gmail.com
COMMENT= C++ XML parser library
BROKEN= unfetchable
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= cmake iconv
USE_LDCONFIG= yes
CMAKE_ARGS= -DIconv_LIBRARY=${ICONV_LIB_PATH}
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \
/set.*CMAKE_BUILD_TYPE/d' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>