pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games love{07,08,010,11}: install a binary called "lov...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73bac7f78840
branches:  trunk
changeset: 446312:73bac7f78840
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Feb 06 11:18:25 2021 +0000

description:
love{07,08,010,11}: install a binary called "loveN.NN" for convenience
And add a PKG_ALTERNATIVES to call it bin/love for extra convenience.

love09 is skipped because I am failing to build it right now (might look
later on...)
bump PKGREVISION

diffstat:

 games/love010/ALTERNATIVES |  1 +
 games/love010/Makefile     |  8 ++++++--
 games/love010/PLIST        |  3 ++-
 games/love07/ALTERNATIVES  |  1 +
 games/love07/Makefile      |  8 ++++++--
 games/love07/PLIST         |  3 ++-
 games/love08/ALTERNATIVES  |  1 +
 games/love08/Makefile      |  8 ++++++--
 games/love08/PLIST         |  3 ++-
 games/love11/ALTERNATIVES  |  1 +
 games/love11/Makefile      |  8 ++++++--
 games/love11/PLIST         |  3 ++-
 12 files changed, 36 insertions(+), 12 deletions(-)

diffs (156 lines):

diff -r b0269d0f9676 -r 73bac7f78840 games/love010/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love010/ALTERNATIVES        Sat Feb 06 11:18:25 2021 +0000
@@ -0,0 +1,1 @@
+bin/love @PREFIX@/bin/love0.10
diff -r b0269d0f9676 -r 73bac7f78840 games/love010/Makefile
--- a/games/love010/Makefile    Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love010/Makefile    Sat Feb 06 11:18:25 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2020/11/06 12:15:54 nia Exp $
+# $NetBSD: Makefile,v 1.9 2021/02/06 11:18:25 maya Exp $
 
 DISTNAME=      love-0.10.2-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love010/}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    games lua
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -23,6 +23,10 @@
 BUILDLINK_PASSTHRU_DIRS+=      ${PREFIX}/love0.10/lib
 BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.10/lib
 
+INSTALLATION_DIRS+=    bin
+post-install:
+       ${LN} -sf ../love0.10/bin/love ${DESTDIR}${PREFIX}/bin/love0.10
+
 .include "options.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
diff -r b0269d0f9676 -r 73bac7f78840 games/love010/PLIST
--- a/games/love010/PLIST       Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love010/PLIST       Sat Feb 06 11:18:25 2021 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:21:18 maya Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/02/06 11:18:25 maya Exp $
+bin/love0.10
 love0.10/bin/love
 love0.10/lib/liblove.la
 love0.10/man/man1/love.1
diff -r b0269d0f9676 -r 73bac7f78840 games/love07/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love07/ALTERNATIVES Sat Feb 06 11:18:25 2021 +0000
@@ -0,0 +1,1 @@
+bin/love @PREFIX@/bin/love0.7
diff -r b0269d0f9676 -r 73bac7f78840 games/love07/Makefile
--- a/games/love07/Makefile     Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love07/Makefile     Sat Feb 06 11:18:25 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2020/07/02 10:16:02 nia Exp $
+# $NetBSD: Makefile,v 1.7 2021/02/06 11:18:25 maya Exp $
 
 DISTNAME=      love-0.7.2-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love07/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    games lua
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -26,6 +26,10 @@
 
 GNU_CONFIGURE_PREFIX=          ${PREFIX}/love0.7
 
+INSTALLATION_DIRS+=    bin
+post-install:
+       ${LN} -sf ../love0.7/bin/love ${DESTDIR}${PREFIX}/bin/love0.7
+
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
diff -r b0269d0f9676 -r 73bac7f78840 games/love07/PLIST
--- a/games/love07/PLIST        Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love07/PLIST        Sat Feb 06 11:18:25 2021 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:10:10 maya Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/02/06 11:18:25 maya Exp $
+bin/love0.7
 love0.7/bin/love
diff -r b0269d0f9676 -r 73bac7f78840 games/love08/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love08/ALTERNATIVES Sat Feb 06 11:18:25 2021 +0000
@@ -0,0 +1,1 @@
+bin/love @PREFIX@/bin/love0.8
diff -r b0269d0f9676 -r 73bac7f78840 games/love08/Makefile
--- a/games/love08/Makefile     Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love08/Makefile     Sat Feb 06 11:18:25 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2020/07/02 10:16:02 nia Exp $
+# $NetBSD: Makefile,v 1.7 2021/02/06 11:18:26 maya Exp $
 
 DISTNAME=      love-0.8.0-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love08/}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    games lua
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -26,6 +26,10 @@
 
 GNU_CONFIGURE_PREFIX=          ${PREFIX}/love0.8
 
+INSTALLATION_DIRS+=    bin
+post-install:
+       ${LN} -sf ../love0.8/bin/love ${DESTDIR}${PREFIX}/bin/love0.8
+
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
diff -r b0269d0f9676 -r 73bac7f78840 games/love08/PLIST
--- a/games/love08/PLIST        Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love08/PLIST        Sat Feb 06 11:18:25 2021 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/30 19:12:48 maya Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/02/06 11:18:26 maya Exp $
+bin/love0.8
 love0.8/bin/love
diff -r b0269d0f9676 -r 73bac7f78840 games/love11/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love11/ALTERNATIVES Sat Feb 06 11:18:25 2021 +0000
@@ -0,0 +1,1 @@
+bin/love @PREFIX@/bin/love11
diff -r b0269d0f9676 -r 73bac7f78840 games/love11/Makefile
--- a/games/love11/Makefile     Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love11/Makefile     Sat Feb 06 11:18:25 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2020/11/06 12:15:54 nia Exp $
+# $NetBSD: Makefile,v 1.5 2021/02/06 11:18:26 maya Exp $
 
 DISTNAME=      love-11.3-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love11/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    games lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=love2d/}
 GITHUB_PROJECT=        love
@@ -28,6 +28,10 @@
 BUILDLINK_PASSTHRU_DIRS+=      ${PREFIX}/love11/lib
 BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love11/lib
 
+INSTALLATION_DIRS+=    bin
+post-install:
+       ${LN} -sf ../love11/bin/love ${DESTDIR}${PREFIX}/bin/love11
+
 .include "options.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
diff -r b0269d0f9676 -r 73bac7f78840 games/love11/PLIST
--- a/games/love11/PLIST        Sat Feb 06 11:07:52 2021 +0000
+++ b/games/love11/PLIST        Sat Feb 06 11:18:25 2021 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2020/06/29 13:04:14 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/02/06 11:18:26 maya Exp $
+bin/love11
 love11/bin/love
 love11/lib/liblove.la
 love11/man/man1/love.1



Home | Main Index | Thread Index | Old Index