1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/py-libplist/Makefile
Alberto Villa 788ecc7243 - Remove py-setuptools from BUILD_DEPENDS.
- STAGEify.
- Update LIB_DEPENDS format.
- Add directory to plist.
2014-01-05 23:08:44 +00:00

30 lines
707 B
Makefile

# $FreeBSD$
PORTREVISION= 0
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= avilla@FreeBSD.org
COMMENT= Python bindings for libplist
LIB_DEPENDS= libplist.so:${PORTSDIR}/${MASTER_PORT}
BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython \
swig2.0:${PORTSDIR}/devel/swig20
USE_PYTHON= yes
SLAVE_PORT= yes
MASTERDIR= ${.CURDIR:H:H}/devel/libplist
# Required to reference installed libplist.
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST= ${.CURDIR}/pkg-plist
FILESDIR= ${.CURDIR}/files
post-patch:
@${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \
${WRKSRC}/CMakeLists.txt
.include "${MASTERDIR}/Makefile"