Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2013 08:37:25 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331467 - head/games/aop
Message-ID:  <201310240837.r9O8bPvg082529@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@gmx.ch
+MAINTAINER=	nemysis@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310240837.r9O8bPvg082529>