openbsd-ports/devel/libplist/Makefile
mpi c13635d78c Import libplist-1.4
Library for handling Apple binary and XML property lists.

ok sthen@
2011-11-15 11:05:22 +00:00

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/11/15 11:05:22 mpi Exp $
COMMENT-main = library to handle Apple Property List format
COMMENT-python = python bindings for libplist
SHARED_ONLY = Yes
VERSION = 1.4
DISTNAME = libplist-${VERSION}
PKGNAME-main = ${DISTNAME}
PKGNAME-python = py-plist-${VERSION}
SHARED_LIBS += plist 0.0 # 1.1
SHARED_LIBS += plist++ 0.0 # 1.1
CATEGORIES = devel audio
HOMEPAGE = http://www.libimobiledevice.org
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}/downloads/
EXTRACT_SUFX = .tar.bz2
MULTI_PACKAGES = -main -python
MODULES = devel/cmake \
lang/python
BUILD_DEPENDS = devel/swig
LIB_DEPENDS-python = ${LIB_DEPENDS} \
${BUILD_PKGPATH},-main
LIB_DEPENDS = devel/glib2 \
textproc/libxml
WANTLIB += glib-2.0 m stdc++ xml2
WANTLIB-main += c ${WANTLIB}
WANTLIB-python += ${WANTLIB} plist plist++ python${MODPY_VERSION}
CONFIGURE_ARGS = -DCMAKE_C_FLAGS="${CFLAGS} -I${LOCALBASE}/include"
.include <bsd.port.mk>