mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
be19bdfc55
Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D23169
25 lines
560 B
Makefile
25 lines
560 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= portgraph
|
|
PORTVERSION= 0.0.1
|
|
CATEGORIES= ports-mgmt python
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= lbartoletti@FreeBSD.org
|
|
COMMENT= Create a dependencies graph of a(all) port(s)
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphviz>=0.8.2:graphics/py-graphviz@${PY_FLAVOR}
|
|
|
|
USES= python:3.4+
|
|
USE_PYTHON= distutils autoplist noflavors
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|/usr/ports|${PORTSDIR}| ; s|ports-mgmt/py-portgraph|ports-mgmt/portgraph|' \
|
|
${WRKSRC}/portgraph/portgraph.py
|
|
|
|
.include <bsd.port.mk>
|