pkgsrc-WIP-changes archive

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

openhexagon: install wrapper to ${PREFIX}/bin



Module Name:	pkgsrc-wip
Committed By:	Iain Hibbert <plunky%netbsd.org@localhost>
Pushed By:	plunky
Date:		Mon May 4 12:50:16 2020 +0100
Changeset:	df46476280f972e0a476afdbaeaafecc6d76b718

Modified Files:
	openhexagon/Makefile
	openhexagon/PLIST

Log Message:
openhexagon: install wrapper to ${PREFIX}/bin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df46476280f972e0a476afdbaeaafecc6d76b718

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 openhexagon/Makefile | 4 ++--
 openhexagon/PLIST    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/openhexagon/Makefile b/openhexagon/Makefile
index 145db6ab02..5d1fc1d85f 100644
--- a/openhexagon/Makefile
+++ b/openhexagon/Makefile
@@ -41,7 +41,7 @@ CMAKE_ARGS+=	-DPKGBASE=${PKGBASE}
 
 WRKSRC=	${WRKDIR}/${MODULES:MSSVOpenHexagon-*}
 
-INSTALLATION_DIRS+=	games lib/${PKGBASE}
+INSTALLATION_DIRS+=	bin lib/${PKGBASE}
 
 post-extract:
 	${CP} ${FILESDIR}/${PKGBASE}.sh ${WRKSRC}/${PKGBASE}
@@ -52,7 +52,7 @@ post-build:
 	done
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/games
+	${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin
 	cd ${WRKDIR}/${MODULES:MSSVOpenHexagonAssets-*}/_RELEASE && \
 	    ${PAX} -rwpm Assets Packs ${DESTDIR}${PREFIX}/lib/${PKGBASE}
 
diff --git a/openhexagon/PLIST b/openhexagon/PLIST
index ecbb0f4502..2287904726 100644
--- a/openhexagon/PLIST
+++ b/openhexagon/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-games/openhexagon
+bin/openhexagon
 lib/openhexagon/Assets/assets.json
 lib/openhexagon/Assets/beep.ogg
 lib/openhexagon/Assets/bottomBar.png


Home | Main Index | Thread Index | Old Index