1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/textproc/simplexml/Makefile
Mathieu Arnold 8b8bd51def * Convert to staging
* Convert to new LIB_DEPENDS format

Sponsored by:	Absolight
2014-01-20 20:47:32 +00:00

31 lines
677 B
Makefile

# Created by: Konstantin Lepa <konstantin.lepa@gmail.com>
# $FreeBSD$
PORTNAME= simplexml
PORTVERSION= 1.0.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
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
USES= cmake iconv
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.if defined(WITH_DEBUG)
CMAKE_ARGS+= -DDEBUG_MODE:BOOL=ON
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; \
/set.*CMAKE_BUILD_TYPE/d' ${WRKSRC}/CMakeLists.txt \
${WRKSRC}/cmake/FindIconv.cmake
.include <bsd.port.mk>