1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/libplist/Makefile
Adam Weinberger bbc8c4d740 Convert a bunch of USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 18:41:15 +00:00

47 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= libplist
PORTVERSION= 1.10
PORTREVISION?= 1
CATEGORIES?= devel
MASTER_SITES= http://www.libimobiledevice.org/downloads/
MAINTAINER?= avilla@FreeBSD.org
COMMENT?= Library to handle Apple Property List format
LICENSE?= LGPL21
SLAVE_PORT?= no
USES= cmake pkgconfig tar:bzip2
.if ${SLAVE_PORT} == "no"
USE_GNOME= libxml2
CMAKE_ARGS= -DENABLE_CYTHON:BOOL=False \
-DENABLE_SWIG:BOOL=False
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= ${LOCALBASE}/lib
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
# Required for iconv headers (included by libxml2). Do not add to
# CFLAGS as it may break updates from old versions.
@${REINPLACE_CMD} -e 's,$${LIBXML2_INCLUDE_DIR},$${LIBXML2_INCLUDE_DIR} ${LOCALBASE}/include,' \
${WRKSRC}/src/CMakeLists.txt
@${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_LIBDIR}/pkgconfig,libdata/pkgconfig,' \
${WRKSRC}/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif # ${SLAVE_PORT} == "no"
.include <bsd.port.mk>