- Bump PORTREVISION

- Remove dependency for x11/xterm
- Add files/aop.desktop

Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-12-04 10:30:24 +00:00
parent 6ef8020587
commit 135a87779b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335616
3 changed files with 13 additions and 6 deletions

View File

@ -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}

View File

@ -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

View File

@ -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%%