pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/love09 love09: blindly commit the same changes a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1dff5a8e8134
branches:  trunk
changeset: 446316:1dff5a8e8134
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Feb 06 13:50:20 2021 +0000

description:
love09: blindly commit the same changes as the other love packages

create a binary in PREFIX/bin, for the convenience of users who use
non-pkgsrc love games.

Add ALTERNATIVES, in case there is only one love game.
PKGREVISION++

diffstat:

 games/love09/ALTERNATIVES |  1 +
 games/love09/Makefile     |  8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 8b6ae4343b92 -r 1dff5a8e8134 games/love09/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/love09/ALTERNATIVES Sat Feb 06 13:50:20 2021 +0000
@@ -0,0 +1,1 @@
+bin/love @PREFIX@/bin/love0.9
diff -r 8b6ae4343b92 -r 1dff5a8e8134 games/love09/Makefile
--- a/games/love09/Makefile     Sat Feb 06 13:02:45 2021 +0000
+++ b/games/love09/Makefile     Sat Feb 06 13:50:20 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 13:50:20 maya Exp $
 
 DISTNAME=      love-0.9.2-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love09/}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    games lua
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -23,6 +23,10 @@
 BUILDLINK_PASSTHRU_DIRS+=      ${PREFIX}/love0.9/lib
 BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.9/lib
 
+INSTALLATION_DIRS+=    bin
+post-install:
+       ${LN} -sf ../love0.9/bin/love ${DESTDIR}${PREFIX}/bin/love0.9
+
 .include "options.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"



Home | Main Index | Thread Index | Old Index