aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xsc/Makefile19
-rw-r--r--games/xsc/distinfo2
2 files changed, 18 insertions, 3 deletions
diff --git a/games/xsc/Makefile b/games/xsc/Makefile
index afe73571dca1..66593c9c5846 100644
--- a/games/xsc/Makefile
+++ b/games/xsc/Makefile
@@ -3,14 +3,27 @@
PORTNAME= xsc
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://www.panix.com/~mbh/xsc/
+MASTER_SITES= http://www.panix.com/~mbh/xsc/ \
+ SF/nemysisfreebsdp/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}.png:icons
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= danilogondolfo@gmail.com
-COMMENT= A vector graphics space shoot'em up game
+COMMENT= Vector graphics space shoot'em up game
USE_XORG= x11
GNU_CONFIGURE= yes
-PLIST_FILES= bin/xsc
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+DESKTOP_ENTRIES="Xce" "${COMMENT}" ${PORTNAME} \
+ "${PORTNAME}" "Game;ArcadeGame;" false
+
+post-install:
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
.include <bsd.port.mk>
diff --git a/games/xsc/distinfo b/games/xsc/distinfo
index 0a53739c7321..3f9a4e5bdf1f 100644
--- a/games/xsc/distinfo
+++ b/games/xsc/distinfo
@@ -1,2 +1,4 @@
SHA256 (xsc-1.6.tar.gz) = f271300c10423150562a290ed2a67910db804c7f11fbfd3e3f67016c039af8fa
SIZE (xsc-1.6.tar.gz) = 140106
+SHA256 (xsc.png) = 4ae93202eb1df542fa559a3d46f7f5e687e8816efad56cc6b32111a17cb26d2e
+SIZE (xsc.png) = 381