aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2011-12-09 03:58:26 +0800
committernovel <novel@FreeBSD.org>2011-12-09 03:58:26 +0800
commit11c9396969a67f26f9b048062cad0fca899984aa (patch)
tree48fbca7c7279cff2e1d5a415aeeb8a80bda5b661
parent5540fdf79c951ecae33df1173d5fa7362c3be7cc (diff)
downloadfreebsd-ports-gnome-11c9396969a67f26f9b048062cad0fca899984aa.tar.gz
freebsd-ports-gnome-11c9396969a67f26f9b048062cad0fca899984aa.tar.zst
freebsd-ports-gnome-11c9396969a67f26f9b048062cad0fca899984aa.zip
Use PLIST_FILES instead of one line pkg-plist.
Suggested by: danfe Feature safe: yes
-rw-r--r--devel/py-prettytable/Makefile3
-rw-r--r--devel/py-prettytable/pkg-plist1
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/py-prettytable/Makefile b/devel/py-prettytable/Makefile
index 69440de69362..a3152447d5c4 100644
--- a/devel/py-prettytable/Makefile
+++ b/devel/py-prettytable/Makefile
@@ -18,6 +18,7 @@ COMMENT= Library for displaying tabular data in an ASCII table format
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_NOEGGINFO= yes
-PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
+
+PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PYEASYINSTALL_EGG}
.include <bsd.port.mk>
diff --git a/devel/py-prettytable/pkg-plist b/devel/py-prettytable/pkg-plist
deleted file mode 100644
index c22f898cbdf7..000000000000
--- a/devel/py-prettytable/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/prettytable-%%VERSION%%-py%%PYVER%%.egg