pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/moss moss: convert to egg.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90235413a695
branches:  trunk
changeset: 374829:90235413a695
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 28 10:06:34 2022 +0000

description:
moss: convert to egg.mk

diffstat:

 audio/moss/Makefile |  12 ++++++------
 audio/moss/PLIST    |   9 +++++----
 2 files changed, 11 insertions(+), 10 deletions(-)

diffs (66 lines):

diff -r 3c9496c81983 -r 90235413a695 audio/moss/Makefile
--- a/audio/moss/Makefile       Mon Feb 28 10:01:18 2022 +0000
+++ b/audio/moss/Makefile       Mon Feb 28 10:06:34 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2020/12/04 20:44:58 nia Exp $
+# $NetBSD: Makefile,v 1.37 2022/02/28 10:06:34 wiz Exp $
 
 DISTNAME=      moss-0.1.13
-PKGREVISION=   8
+PKGREVISION=   9
 CATEGORIES=    audio
 MASTER_SITES=  http://kldp.net/frs/download.php/1580/
 
@@ -15,12 +15,14 @@
 
 PYTHON_VERSIONS_ACCEPTED=      27 # py-ogg, py-vorbis
 
-REPLACE_PYTHON=        ${WRKSRC}/*.py
+REPLACE_PYTHON=        *.py
 
 RCD_SCRIPTS=   moss
 CONF_FILES=    ${PREFIX}/share/moss/moss.conf.sample   \
                ${PKG_SYSCONFDIR}/moss.conf
 
+BUILD_DEFS+=   VARBASE
+
 SUBST_CLASSES+=                path
 SUBST_MESSAGE.path=    Fixing hardcoded paths.
 SUBST_STAGE.path=      pre-configure
@@ -30,8 +32,6 @@
 
 FILES_SUBST+=  INTERPRETER=${PYTHONBIN:Q}
 
-PYDISTUTILSPKG=        yes
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3c9496c81983 -r 90235413a695 audio/moss/PLIST
--- a/audio/moss/PLIST  Mon Feb 28 10:01:18 2022 +0000
+++ b/audio/moss/PLIST  Mon Feb 28 10:06:34 2022 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.6 2014/03/11 14:04:58 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.7 2022/02/28 10:06:34 wiz Exp $
 bin/moss
+${PYSITELIB}/${EGG_INFODIR}
 ${PYSITELIB}/moss/__init__.py
 ${PYSITELIB}/moss/__init__.pyc
 ${PYSITELIB}/moss/__init__.pyo
@@ -12,12 +13,12 @@
 ${PYSITELIB}/moss/live.py
 ${PYSITELIB}/moss/live.pyc
 ${PYSITELIB}/moss/live.pyo
+${PYSITELIB}/moss/mkpasswd.py
+${PYSITELIB}/moss/mkpasswd.pyc
+${PYSITELIB}/moss/mkpasswd.pyo
 ${PYSITELIB}/moss/moss.py
 ${PYSITELIB}/moss/moss.pyc
 ${PYSITELIB}/moss/moss.pyo
-${PYSITELIB}/moss/mkpasswd.py
-${PYSITELIB}/moss/mkpasswd.pyc
-${PYSITELIB}/moss/mkpasswd.pyo
 ${PYSITELIB}/moss/template.py
 ${PYSITELIB}/moss/template.pyc
 ${PYSITELIB}/moss/template.pyo



Home | Main Index | Thread Index | Old Index