freebsd-ports/net/libproxy-python/Makefile

38 lines
878 B
Makefile
Raw Normal View History

# Created by: Koop Mast <kwm@FreeBSD.org>
2011-08-23 20:29:54 +02:00
# $FreeBSD$
# $MCom: ports/net/libproxy-python/Makefile,v 1.1 2011/01/12 13:10:54 kwm Exp $
PORTREVISION= 0
CATEGORIES= net lang
PKGNAMESUFFIX= -python
MAINTAINER= gnome@FreeBSD.org
COMMENT= python binding for libproxy
2014-04-26 01:03:46 +02:00
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
2011-08-23 20:29:54 +02:00
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
USES+= python
2011-08-23 20:29:54 +02:00
LIBPROXY_SLAVE= python
do-build:
# empty
2011-08-23 20:29:54 +02:00
post-build:
${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/bindings/python
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/bindings/python
do-install:
2014-04-26 01:03:46 +02:00
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
2011-08-23 20:29:54 +02:00
.for file in libproxy.py libproxy.pyc libproxy.pyo
${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \
2014-04-26 01:03:46 +02:00
${STAGEDIR}${PYTHON_SITELIBDIR}
2011-08-23 20:29:54 +02:00
.endfor
.include "${MASTERDIR}/Makefile"