blob: b79cb59f2cda976df11dc0bcd7a10bd28c734f91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: libproxy-python
# Date created: 11 Januari 2011
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
# $MCom$
PORTREVISION= 0
CATEGORIES= net lang
PKGNAMESUFFIX= -python
MAINTAINER= gnome@FreeBSD.org
COMMENT= python binding for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
USE_PYTHON= 2.5+
LIBPROXY_SLAVE= python
do-build:
# empty
post-build:
${PYTHON_CMD} -Qold ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/bindings/python
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/bindings/python
do-install:
.for file in libproxy.py libproxy.pyc libproxy.pyo
${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \
${PYTHON_SITELIBDIR}
.endfor
.include "${MASTERDIR}/Makefile"
|