pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/pysolfc pysolfc: set EGG_NAME to simplify PLIST



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b3c4e7b88ee
branches:  trunk
changeset: 444437:8b3c4e7b88ee
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 07 21:58:08 2021 +0000

description:
pysolfc: set EGG_NAME to simplify PLIST

diffstat:

 games/pysolfc/Makefile |  3 ++-
 games/pysolfc/PLIST    |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 9873bbfb6724 -r 8b3c4e7b88ee games/pysolfc/Makefile
--- a/games/pysolfc/Makefile    Thu Jan 07 21:42:50 2021 +0000
+++ b/games/pysolfc/Makefile    Thu Jan 07 21:58:08 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/12/24 12:44:58 mef Exp $
+# $NetBSD: Makefile,v 1.32 2021/01/07 21:58:08 wiz Exp $
 
 DISTNAME=      PySolFC-2.6.4
 PKGNAME=       ${DISTNAME:tl}
@@ -33,6 +33,7 @@
 PLIST_SRC=     PLIST ${WRKDIR}/PLIST.CS
 PLIST_SUBST+=  PYVERSSUFFIX=${PYVERSSUFFIX:Q}
 
+EGG_NAME=      ${DISTNAME}
 
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/docs/pysol.6 \
diff -r 9873bbfb6724 -r 8b3c4e7b88ee games/pysolfc/PLIST
--- a/games/pysolfc/PLIST       Thu Jan 07 21:42:50 2021 +0000
+++ b/games/pysolfc/PLIST       Thu Jan 07 21:58:08 2021 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.6 2020/12/24 12:44:15 mef Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/01/07 21:58:08 wiz Exp $
 bin/pysol.py
-${PYSITELIB}/PySolFC-2.6.4-py${PYVERSSUFFIX}.egg-info
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/pysollib/__init__.py
 ${PYSITELIB}/pysollib/__init__.pyc
 ${PYSITELIB}/pysollib/__init__.pyo



Home | Main Index | Thread Index | Old Index