Added
Link Here
|
1 |
PORTREVISION= 0 |
2 |
CATEGORIES= net python |
3 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
4 |
|
5 |
MAINTAINER= mjl@luckie.org.nz |
6 |
COMMENT= Python bindings for scamper |
7 |
|
8 |
LICENSE= GPLv2 |
9 |
LICENSE_FILE= ${WRKSRC}/COPYING |
10 |
|
11 |
LIB_DEPENDS= libscamperfile.so:${MASTER_PORT} |
12 |
|
13 |
USES= python localbase:ldflags |
14 |
USE_PYTHON= flavors |
15 |
CONFIGURE_ARGS= --with-python |
16 |
|
17 |
PORTSCOUT= ignore:1 |
18 |
|
19 |
SLAVE_PORT= yes |
20 |
MASTERDIR= ${.CURDIR}/../scamper |
21 |
|
22 |
PLIST= ${.CURDIR}/pkg-plist |
23 |
BUILD_WRKSRC= ${WRKSRC}/lib/python |
24 |
INSTALL_WRKSRC= ${BUILD_WRKSRC} |
25 |
|
26 |
PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.a \ |
27 |
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.so |
28 |
|
29 |
post-patch: |
30 |
@${REINPLACE_CMD} \ |
31 |
-e 's/$$(scamper_la_DEPENDENCIES)//' \ |
32 |
-e 's,../../scamper/libscamperfile.la,-lscamperfile,' \ |
33 |
-e 's,../libscamperctrl/libscamperctrl.la,-lscamperctrl,' \ |
34 |
${BUILD_WRKSRC}/Makefile.in |
35 |
|
36 |
.include "${MASTERDIR}/Makefile" |