summaryrefslogtreecommitdiff
path: root/sysutils/polysh
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-23 18:30:20 +0000
committerwiz <wiz>2014-01-23 18:30:20 +0000
commite2116fb2d6e507198211f5a6814926ebb1e8233d (patch)
treeee166a3dffb4268a61265c8289be5f7518daf52d /sysutils/polysh
parent9db49210c33213e4f2ebab8aa46efa8a862d3063 (diff)
downloadpkgsrc-e2116fb2d6e507198211f5a6814926ebb1e8233d.tar.gz
Convert to distutils.mk. Fix interpreter path in installed file
Mark as not for python-3.x. Bump PKGREVISION.
Diffstat (limited to 'sysutils/polysh')
-rw-r--r--sysutils/polysh/Makefile9
-rw-r--r--sysutils/polysh/PLIST3
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/polysh/Makefile b/sysutils/polysh/Makefile
index fdc8bdb62e9..92efe5f7d8d 100644
--- a/sysutils/polysh/Makefile
+++ b/sysutils/polysh/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2012/12/04 06:23:27 asau Exp $
-#
+# $NetBSD: Makefile,v 1.3 2014/01/23 18:30:20 wiz Exp $
DISTNAME= polysh-0.4
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://guichaz.free.fr/polysh/files/
EXTRACT_SUFX= .tar.bz2
@@ -13,7 +13,8 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
-PYDISTUTILSPKG= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.4
+REPLACE_PYTHON= polysh/rb_tree.py
SUBST_CLASSES+= setup
SUBST_STAGE.setup= post-patch
@@ -21,5 +22,5 @@ SUBST_FILES.setup= setup.py
SUBST_SED.setup+= -e 's,share/man,${PKGMANDIR},'
.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/polysh/PLIST b/sysutils/polysh/PLIST
index 960efbb4887..46d2280c157 100644
--- a/sysutils/polysh/PLIST
+++ b/sysutils/polysh/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2012/11/25 11:14:14 imil Exp $
+@comment $NetBSD: PLIST,v 1.2 2014/01/23 18:30:20 wiz Exp $
bin/polysh
+${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/polysh/__init__.py
${PYSITELIB}/polysh/__init__.pyc
${PYSITELIB}/polysh/__init__.pyo