pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-mido: Added ALTERNATIVES.
Module Name: pkgsrc-wip
Committed By: Aleksej Lebedev <root%zta.lk@localhost>
Pushed By: zhtw
Date: Wed Sep 18 16:54:48 2019 +0200
Changeset: 859a2166b5e27614203217e01ea4c3ac048914cb
Modified Files:
py-mido/Makefile
py-mido/PLIST
Added Files:
py-mido/ALTERNATIVES
Log Message:
py-mido: Added ALTERNATIVES.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=859a2166b5e27614203217e01ea4c3ac048914cb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-mido/ALTERNATIVES | 4 ++++
py-mido/Makefile | 5 +++++
py-mido/PLIST | 8 ++++----
3 files changed, 13 insertions(+), 4 deletions(-)
diffs:
diff --git a/py-mido/ALTERNATIVES b/py-mido/ALTERNATIVES
new file mode 100644
index 0000000000..3d08df4f91
--- /dev/null
+++ b/py-mido/ALTERNATIVES
@@ -0,0 +1,4 @@
+bin/mido-connect @PREFIX@/bin/mido-connect-@PYVERSSUFFIX@
+bin/mido-play @PREFIX@/bin/mido-play-@PYVERSSUFFIX@
+bin/mido-ports @PREFIX@/bin/mido-ports-@PYVERSSUFFIX@
+bin/mido-serve @PREFIX@/bin/mido-serve-@PYVERSSUFFIX@
diff --git a/py-mido/Makefile b/py-mido/Makefile
index 5e301e8916..06007ca091 100644
--- a/py-mido/Makefile
+++ b/py-mido/Makefile
@@ -13,5 +13,10 @@ LICENSE= mit
WRKSRC= ${WRKDIR}/mido-1.2.9
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && for b in mido-connect mido-play mido-ports mido-serve; do \
+ ${MV} $$b $$b-${PYVERSSUFFIX}; \
+ done
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-mido/PLIST b/py-mido/PLIST
index 99749578b3..d2ce79b4a0 100644
--- a/py-mido/PLIST
+++ b/py-mido/PLIST
@@ -1,8 +1,8 @@
@comment $NetBSD$
-bin/mido-connect
-bin/mido-play
-bin/mido-ports
-bin/mido-serve
+bin/mido-connect-${PYVERSSUFFIX}
+bin/mido-play-${PYVERSSUFFIX}
+bin/mido-ports-${PYVERSSUFFIX}
+bin/mido-serve-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index