mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
788ecc7243
- STAGEify. - Update LIB_DEPENDS format. - Add directory to plist.
30 lines
707 B
Makefile
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"
|