2013-09-21 00:10:23 +02:00
|
|
|
# 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
|
2014-10-24 18:21:26 +02:00
|
|
|
USES+= python
|
2011-08-23 20:29:54 +02:00
|
|
|
|
|
|
|
LIBPROXY_SLAVE= python
|
|
|
|
|
|
|
|
do-build:
|
2015-10-08 17:12:22 +02:00
|
|
|
# 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"
|