mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Changelogs: - https://mailman.caida.org/pipermail/scamper-announce/2024-July/000043.html - https://mailman.caida.org/pipermail/scamper-announce/2024-August/000044.html - https://mailman.caida.org/pipermail/scamper-announce/2024-September/000045.html - https://mailman.caida.org/pipermail/scamper-announce/2024-September/000046.html - https://mailman.caida.org/pipermail/scamper-announce/2024-November/000047.html PR: 282769
36 lines
880 B
Makefile
36 lines
880 B
Makefile
PORTREVISION= 0
|
|
CATEGORIES= net python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= mjl@luckie.org.nz
|
|
COMMENT= Python bindings for scamper
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libscamperfile.so:${MASTER_PORT}
|
|
|
|
USES= python localbase:ldflags
|
|
USE_PYTHON= flavors
|
|
CONFIGURE_ARGS= --with-python
|
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
SLAVE_PORT= yes
|
|
MASTERDIR= ${.CURDIR}/../scamper
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
BUILD_WRKSRC= ${WRKSRC}/lib/python
|
|
INSTALL_WRKSRC= ${BUILD_WRKSRC}
|
|
|
|
PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.a \
|
|
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/scamper.so
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's/$$(scamper_la_DEPENDENCIES)//' \
|
|
-e 's,../libscamperfile/libscamperfile.la,-lscamperfile,' \
|
|
-e 's,../libscamperctrl/libscamperctrl.la,-lscamperctrl,' \
|
|
${BUILD_WRKSRC}/Makefile.in
|
|
|
|
.include "${MASTERDIR}/Makefile"
|