blob: f9ccbc987a7a84436cf0e822d20a7d3656cbe974 (
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
|
# Created by: Leland Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= sgflib
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games python
MASTER_SITES= http://gotools.sourceforge.net/sgflib/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Smart Game Format parser library for Python
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/lgpl.txt
USES= python shebangfix
USE_PYTHON= flavors
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}
do-patch:
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
${WRKSRC}/*.py
@${FIND} ${WRKSRC} -name "*.bak" -delete
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
(cd ${WRKSRC} && ${INSTALL_SCRIPT} sgflib.py typelib.py \
${STAGEDIR}${PYTHON_SITELIBDIR})
.include <bsd.port.mk>
|