freebsd-ports/games/py-sgfsummary/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

30 lines
676 B
Makefile

# Created by: Leland Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= sgfsummary
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= http://gotools.sourceforge.net/sgfsummary/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= SGF Summarizer
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/sgflib.py:games/py-sgflib@${PY_FLAVOR}
USES= python shebangfix tar:tgz
USE_PYTHON= flavors
SHEBANG_FILES= sgfsummary.py
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/sgfsummary.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sgfsummary.py ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>