Date: Fri, 24 Jan 2014 19:04:50 +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: r340924 - in head/games/xgalaga++: . files Message-ID: <201401241904.s0OJ4omW078307@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Fri Jan 24 19:04:50 2014 New Revision: 340924 URL: http://svnweb.freebsd.org/changeset/ports/340924 QAT: https://qat.redports.org/buildarchive/r340924/ Log: - Bump PORTREVISION - Disable all warnings with -w - Support STAGEDIR - Change Desktop entry file - Add REINPLACE_CMD to store highscore in $HOME - Remove not needed pkg-install.in Reviewed by: horia Deleted: head/games/xgalaga++/files/ Modified: head/games/xgalaga++/Makefile Modified: head/games/xgalaga++/Makefile ============================================================================== --- head/games/xgalaga++/Makefile Fri Jan 24 19:02:47 2014 (r340923) +++ head/games/xgalaga++/Makefile Fri Jan 24 19:04:50 2014 (r340924) @@ -3,6 +3,7 @@ PORTNAME= xgalaga++ PORTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://marc.mongenet.ch/OSS/XGalaga/ \ SF/nemysisfreebsdp/:icons @@ -20,39 +21,32 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER USES= gmake ALL_TARGET= ${PORTNAME} USE_XORG= x11 xpm -MAN6= xgalaga++.6 - -SUB_FILES= pkg-install +CFLAGS+= -w PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz \ share/pixmaps/${PORTNAME}.png PORTDOCS= README -DESKTOP_ENTRIES="XGalaga++" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" false - OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> +DESKTOP_ENTRIES="XGalaga++" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" post-patch: - @${REINPLACE_CMD} -e '/^CXX =/ d; s|/usr/local|${LOCALBASE}|' \ + @${REINPLACE_CMD} -e 's|CXX =|CXX ?=|; \ + s|HIGH_SCORES_FILE=/|#HIGH_SCORES_FILE=/|; \ + s|#HIGH_SCORES_FILE=.|HIGH_SCORES_FILE=.|; \ + s|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/xgalaga++.6x ${MAN6PREFIX}/man/man6/xgalaga++.6 - @${CHGRP} games ${PREFIX}/bin/${PORTNAME} - @${CHMOD} g+s ${PREFIX}/bin/${PORTNAME} - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/ - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/xgalaga++.6x ${STAGEDIR}${MAN6PREFIX}/man/man6/xgalaga++.6 + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ - @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${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?201401241904.s0OJ4omW078307>