svn commit: r331467 - head/games/aop
Rusmir Dusko
nemysis at FreeBSD.org
Thu Oct 24 08:37:25 UTC 2013
Author: nemysis
Date: Thu Oct 24 08:37:24 2013
New Revision: 331467
URL: http://svnweb.freebsd.org/changeset/ports/331467
Log:
- Change master sites to SF/nemysisfreebsdp
- Change maintainer email to @FreeBSD.org
- Add dependency for x11/xterm
- Support STAGEDIR
Approved by: pawel / wg (mentors, implicit)
Modified:
head/games/aop/Makefile (contents, props changed)
Modified: head/games/aop/Makefile
==============================================================================
--- head/games/aop/Makefile Thu Oct 24 08:34:29 2013 (r331466)
+++ head/games/aop/Makefile Thu Oct 24 08:37:24 2013 (r331467)
@@ -5,36 +5,33 @@ PORTNAME= aop
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://raffi.at/code/aop/ \
- SF/nemysisfreebsdp/:icons
+MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}.png:icons
+ ${PORTNAME}.png
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-MAINTAINER= nemysis at gmx.ch
+MAINTAINER= nemysis at FreeBSD.org
COMMENT= Ncurses based arcade game with only 64 lines of code
LICENSE= GPLv2
+RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm
+
ALL_TARGET= #empty
PORTDOCS= README
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+DESKTOP_ENTRIES+="Ambassador of Pain" "${COMMENT}" ${PORTNAME} \
+ "xterm -e ${PORTNAME}" "Game;LogicGame;" false
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|g' \
${WRKSRC}/Makefile
-.include <bsd.port.options.mk>
-
post-install:
- ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list