aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-tofu
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-09 06:55:25 +0800
committermnag <mnag@FreeBSD.org>2005-10-09 06:55:25 +0800
commit2df42ce32f93764fb164bdc29e4f13543ab1c865 (patch)
treecea60c20f5af3d8e5516b96fa358a9ecbcc25d2f /net/py-tofu
parent77c1daeae22511c5343ee7e80ad4bc42dc94708a (diff)
downloadfreebsd-ports-gnome-2df42ce32f93764fb164bdc29e4f13543ab1c865.tar.gz
freebsd-ports-gnome-2df42ce32f93764fb164bdc29e4f13543ab1c865.tar.zst
freebsd-ports-gnome-2df42ce32f93764fb164bdc29e4f13543ab1c865.zip
Use %%PYTHON_SITELIBDIR%%
Remove bsd.port.pre.mk
Diffstat (limited to 'net/py-tofu')
-rw-r--r--net/py-tofu/Makefile5
-rw-r--r--net/py-tofu/pkg-plist32
2 files changed, 17 insertions, 20 deletions
diff --git a/net/py-tofu/Makefile b/net/py-tofu/Makefile
index 3e5a36e144b3..0c18bf249051 100644
--- a/net/py-tofu/Makefile
+++ b/net/py-tofu/Makefile
@@ -11,7 +11,6 @@ CATEGORIES= net python
MASTER_SITES= http://download.gna.org/soya/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Tofu-${PORTVERSION}
-EXTRACT_SUFX= .tar.bz2
MAINTAINER= acardenas@bsd.org.pe
COMMENT= Tofu is a practical high-level network game engine
@@ -24,12 +23,10 @@ USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/Tofu-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-tofu
-.include <bsd.port.pre.mk>
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/py-tofu/pkg-plist b/net/py-tofu/pkg-plist
index 6a95764c0e48..bd2ee758c44e 100644
--- a/net/py-tofu/pkg-plist
+++ b/net/py-tofu/pkg-plist
@@ -1,19 +1,19 @@
-lib/%%PYTHON_VERSION%%/site-packages/tofu/__init__.py
-lib/%%PYTHON_VERSION%%/site-packages/tofu/client.py
-lib/%%PYTHON_VERSION%%/site-packages/tofu/pickle_sec.py
-lib/%%PYTHON_VERSION%%/site-packages/tofu/server.py
-lib/%%PYTHON_VERSION%%/site-packages/tofu/single.py
-lib/%%PYTHON_VERSION%%/site-packages/tofu/__init__.pyc
-lib/%%PYTHON_VERSION%%/site-packages/tofu/client.pyc
-lib/%%PYTHON_VERSION%%/site-packages/tofu/pickle_sec.pyc
-lib/%%PYTHON_VERSION%%/site-packages/tofu/server.pyc
-lib/%%PYTHON_VERSION%%/site-packages/tofu/single.pyc
-lib/%%PYTHON_VERSION%%/site-packages/tofu/__init__.pyo
-lib/%%PYTHON_VERSION%%/site-packages/tofu/client.pyo
-lib/%%PYTHON_VERSION%%/site-packages/tofu/pickle_sec.pyo
-lib/%%PYTHON_VERSION%%/site-packages/tofu/server.pyo
-lib/%%PYTHON_VERSION%%/site-packages/tofu/single.pyo
+%%PYTHON_SITELIBDIR%%/tofu/__init__.py
+%%PYTHON_SITELIBDIR%%/tofu/client.py
+%%PYTHON_SITELIBDIR%%/tofu/pickle_sec.py
+%%PYTHON_SITELIBDIR%%/tofu/server.py
+%%PYTHON_SITELIBDIR%%/tofu/single.py
+%%PYTHON_SITELIBDIR%%/tofu/__init__.pyc
+%%PYTHON_SITELIBDIR%%/tofu/client.pyc
+%%PYTHON_SITELIBDIR%%/tofu/pickle_sec.pyc
+%%PYTHON_SITELIBDIR%%/tofu/server.pyc
+%%PYTHON_SITELIBDIR%%/tofu/single.pyc
+%%PYTHON_SITELIBDIR%%/tofu/__init__.pyo
+%%PYTHON_SITELIBDIR%%/tofu/client.pyo
+%%PYTHON_SITELIBDIR%%/tofu/pickle_sec.pyo
+%%PYTHON_SITELIBDIR%%/tofu/server.pyo
+%%PYTHON_SITELIBDIR%%/tofu/single.pyo
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.py
%%PORTDOCS%%%%EXAMPLESDIR%%/run_demo.py
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@dirrm lib/%%PYTHON_VERSION%%/site-packages/tofu
+@dirrm %%PYTHON_SITELIBDIR%%/tofu