aboutsummaryrefslogtreecommitdiff
path: root/games/py-poker-eval
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2007-01-11 01:53:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2007-01-11 01:53:01 +0000
commitfc89022389deac1e6511bcb856a76a1d60f53fab (patch)
tree13a637fcd97de83f733932e5ec4ae9326143d1a0 /games/py-poker-eval
parent3490a021f9c0b90968d84a545e96802ca970c541 (diff)
downloadports-fc89022389deac1e6511bcb856a76a1d60f53fab.tar.gz
ports-fc89022389deac1e6511bcb856a76a1d60f53fab.zip
fix plist
Submitted by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=182051
Diffstat (limited to 'games/py-poker-eval')
-rw-r--r--games/py-poker-eval/Makefile2
-rw-r--r--games/py-poker-eval/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/games/py-poker-eval/Makefile b/games/py-poker-eval/Makefile
index 03264a96b405..9125e654e73b 100644
--- a/games/py-poker-eval/Makefile
+++ b/games/py-poker-eval/Makefile
@@ -22,6 +22,8 @@ USE_GNOME= gnometarget pkgconfig
USE_PYTHON= 2.3+
GNU_CONFIGURE= yes
+PLIST_SUB= PYVER=${_PYTHON_VERSION:S/./_/}
+
post-patch:
@${REINPLACE_CMD} -e \
's|{libdir}/pkgconfig|(prefix)/libdata/pkgconfig|g' \
diff --git a/games/py-poker-eval/pkg-plist b/games/py-poker-eval/pkg-plist
index 872f092b4191..104c0f8526bd 100644
--- a/games/py-poker-eval/pkg-plist
+++ b/games/py-poker-eval/pkg-plist
@@ -1,6 +1,6 @@
-%%PYTHON_SITELIBDIR%%/_pokereval_2_5.a
-%%PYTHON_SITELIBDIR%%/_pokereval_2_5.so
-%%PYTHON_SITELIBDIR%%/_pokereval_2_5.so.1
+%%PYTHON_SITELIBDIR%%/_pokereval_%%PYVER%%.a
+%%PYTHON_SITELIBDIR%%/_pokereval_%%PYVER%%.so
+%%PYTHON_SITELIBDIR%%/_pokereval_%%PYVER%%.so.1
%%PYTHON_SITELIBDIR%%/pokereval.py
%%PYTHON_SITELIBDIR%%/pokereval.pyc
%%PYTHON_SITELIBDIR%%/pokereval.pyo