aboutsummaryrefslogtreecommitdiff
path: root/games/aop
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-12-04 10:30:24 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-12-04 10:30:24 +0000
commit135a87779b81fd1b47ec38bc9a88f8cfeb5ecd34 (patch)
tree3aed04ab0b7d3fcc20b24c216ee737f5cc8ed5d8 /games/aop
parent6ef8020587c2d993a98ed808260414784d373359 (diff)
downloadports-135a87779b81fd1b47ec38bc9a88f8cfeb5ecd34.tar.gz
ports-135a87779b81fd1b47ec38bc9a88f8cfeb5ecd34.zip
Notes
Diffstat (limited to 'games/aop')
-rw-r--r--games/aop/Makefile8
-rw-r--r--games/aop/files/aop.desktop10
-rw-r--r--games/aop/pkg-plist1
3 files changed, 13 insertions, 6 deletions
diff --git a/games/aop/Makefile b/games/aop/Makefile
index 9dd84113451d..1211f50fc9b7 100644
--- a/games/aop/Makefile
+++ b/games/aop/Makefile
@@ -3,7 +3,7 @@
PORTNAME= aop
PORTVERSION= 0.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
@@ -15,21 +15,17 @@ COMMENT= Ncurses based arcade game with only 64 lines of code
LICENSE= GPLv2
-RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm
-
ALL_TARGET= #empty
PORTDOCS= README
-DESKTOP_ENTRIES+="Ambassador of Pain" "${COMMENT}" ${PORTNAME} \
- "xterm -e ${PORTNAME}" "Game;LogicGame;" false
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \
${WRKSRC}/Makefile
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+ ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/games/aop/files/aop.desktop b/games/aop/files/aop.desktop
new file mode 100644
index 000000000000..930da98ba891
--- /dev/null
+++ b/games/aop/files/aop.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Ambassador of Pain
+GenericName=Ambassador of Pain game
+Comment=
+Icon=aop
+Exec=aop
+Categories=Game;LogicGame;
+Terminal=true
diff --git a/games/aop/pkg-plist b/games/aop/pkg-plist
index 4a4c09cc11e2..50d7a0cc9588 100644
--- a/games/aop/pkg-plist
+++ b/games/aop/pkg-plist
@@ -10,5 +10,6 @@ bin/aop
%%DATADIR%%/aop-level-09.txt
%%DATADIR%%/aop-level-10.txt
%%DATADIR%%/aop-level-11.txt
+share/applications/aop.desktop
share/pixmaps/aop.png
@dirrm %%DATADIR%%