aboutsummaryrefslogtreecommitdiffstats
path: root/games/py-poker-eval
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2007-01-11 09:53:01 +0800
committerijliao <ijliao@FreeBSD.org>2007-01-11 09:53:01 +0800
commit55e5c693b3c95d51e45f825aabccbd7d8d773403 (patch)
tree9a41ca82292b175fb5d70e5ff15cd5b438f3f288 /games/py-poker-eval
parent50d4c30b243377ea242b391817fb993c8e846fe9 (diff)
downloadfreebsd-ports-gnome-55e5c693b3c95d51e45f825aabccbd7d8d773403.tar.gz
freebsd-ports-gnome-55e5c693b3c95d51e45f825aabccbd7d8d773403.tar.zst
freebsd-ports-gnome-55e5c693b3c95d51e45f825aabccbd7d8d773403.zip
fix plist
Submitted by: pointyhat via kris
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