summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-m2r/ALTERNATIVES1
-rw-r--r--textproc/py-m2r/Makefile7
-rw-r--r--textproc/py-m2r/PLIST4
-rw-r--r--textproc/py-m2r/distinfo10
4 files changed, 13 insertions, 9 deletions
diff --git a/textproc/py-m2r/ALTERNATIVES b/textproc/py-m2r/ALTERNATIVES
new file mode 100644
index 00000000000..ac385fcda63
--- /dev/null
+++ b/textproc/py-m2r/ALTERNATIVES
@@ -0,0 +1 @@
+bin/m2r @PREFIX@/bin/m2r@PYVERSSUFFIX@
diff --git a/textproc/py-m2r/Makefile b/textproc/py-m2r/Makefile
index 28cee4b7ba6..233c12bc8c9 100644
--- a/textproc/py-m2r/Makefile
+++ b/textproc/py-m2r/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/02/13 21:10:12 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/06/04 19:23:08 adam Exp $
-DISTNAME= m2r-0.1.5
+DISTNAME= m2r-0.1.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/m2r/}
@@ -15,5 +15,8 @@ USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-mistune-[0-9]*:../../textproc/py-mistune
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && mv m2r m2r${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-m2r/PLIST b/textproc/py-m2r/PLIST
index c5939445685..cdbbcbe5302 100644
--- a/textproc/py-m2r/PLIST
+++ b/textproc/py-m2r/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2017/02/13 21:08:29 adam Exp $
-bin/m2r
+@comment $NetBSD: PLIST,v 1.2 2017/06/04 19:23:08 adam Exp $
+bin/m2r${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/textproc/py-m2r/distinfo b/textproc/py-m2r/distinfo
index 41a5d27233a..b7e01270a99 100644
--- a/textproc/py-m2r/distinfo
+++ b/textproc/py-m2r/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/02/13 21:08:29 adam Exp $
+$NetBSD: distinfo,v 1.2 2017/06/04 19:23:08 adam Exp $
-SHA1 (m2r-0.1.5.tar.gz) = 9c5aa6fa791ff53c5007774159d4d0d2ffb4e36a
-RMD160 (m2r-0.1.5.tar.gz) = c6946405a9bba035bc198f839f5b05b2e1c0d1b0
-SHA512 (m2r-0.1.5.tar.gz) = 78e9e8daa293b2466c95f0adad937fa0bbefaf0dd9663695bb916be13182633e0d462afa5331a595db424420485ef54bbfd4e0625962026fab4ce0c63104bc84
-Size (m2r-0.1.5.tar.gz) = 13202 bytes
+SHA1 (m2r-0.1.6.tar.gz) = 756ab1063a4cd2c9d4127990a3214704b1e0680f
+RMD160 (m2r-0.1.6.tar.gz) = 3698a1ef092cd728c7bfc1814a08c4749c7a4258
+SHA512 (m2r-0.1.6.tar.gz) = 3641cf4013f71fbd43d6cdad530cfd3e909c93709edfbd79d6a51e7121de68e279d3ec4eb7eed391a35902ffa467310bd6b020139b2024c3e80fa44e5f6cc4a7
+Size (m2r-0.1.6.tar.gz) = 13615 bytes