pkgsrc-WIP-changes archive

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

arx-libertatis: Small fixes



Module Name:	pkgsrc-wip
Committed By:	Jonathan Schleifer <js%heap.zone@localhost>
Pushed By:	js
Date:		Tue Aug 30 00:31:07 2016 +0200
Changeset:	a3325a9d54d4950a7b780155b5e48c918a3299eb

Modified Files:
	arx-libertatis/Makefile
	arx-libertatis/PLIST
Added Files:
	arx-libertatis/PLIST.NotDarwin

Log Message:
arx-libertatis: Small fixes

 * Move .desktop file and icon to PLIST.NotDarwin.
 * Do not depend on boost-libs - boost-headers is enough.

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

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

diffstat:
 arx-libertatis/Makefile        | 8 +++++++-
 arx-libertatis/PLIST           | 4 +---
 arx-libertatis/PLIST.NotDarwin | 3 +++
 3 files changed, 11 insertions(+), 4 deletions(-)

diffs:
diff --git a/arx-libertatis/Makefile b/arx-libertatis/Makefile
index b90e020..9cf90b4 100644
--- a/arx-libertatis/Makefile
+++ b/arx-libertatis/Makefile
@@ -18,8 +18,14 @@ CMAKE_ARGS+=	-D CMAKE_INSTALL_MANDIR:STRING:=${PKGMANDIR}
 CMAKE_ARGS+=	-D USE_QT4:BOOL=OFF
 CMAKE_ARGS+=	-D USE_QT5:BOOL=OFF
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+PLIST.NotDarwin= yes
+.endif
+
 .include "../../audio/openal-soft/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/glew/buildlink3.mk"
diff --git a/arx-libertatis/PLIST b/arx-libertatis/PLIST
index 840302c..aadc4cf 100644
--- a/arx-libertatis/PLIST
+++ b/arx-libertatis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/08/18 20:14:58 yhardy Exp $
+@comment $NetBSD$
 bin/arx
 bin/arx-install-data
 bin/arxsavetool
@@ -6,5 +6,3 @@ bin/arxunpak
 man/man1/arxsavetool.1
 man/man1/arxunpak.1
 man/man6/arx.6
-share/applications/arx-libertatis.desktop
-share/pixmaps/arx-libertatis.png
diff --git a/arx-libertatis/PLIST.NotDarwin b/arx-libertatis/PLIST.NotDarwin
new file mode 100644
index 0000000..5064b10
--- /dev/null
+++ b/arx-libertatis/PLIST.NotDarwin
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+share/applications/arx-libertatis.desktop
+share/pixmaps/arx-libertatis.png


Home | Main Index | Thread Index | Old Index