diff options
-rw-r--r-- | games/aop/Makefile | 8 | ||||
-rw-r--r-- | games/aop/files/aop.desktop | 10 | ||||
-rw-r--r-- | games/aop/pkg-plist | 1 |
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%% |