From owner-svn-ports-all@FreeBSD.ORG Fri Jan 24 19:04:51 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AD1ACF1; Fri, 24 Jan 2014 19:04:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F07AD1F69; Fri, 24 Jan 2014 19:04:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0OJ4oU1078308; Fri, 24 Jan 2014 19:04:50 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0OJ4omW078307; Fri, 24 Jan 2014 19:04:50 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401241904.s0OJ4omW078307@svn.freebsd.org> From: Rusmir Dusko Date: Fri, 24 Jan 2014 19:04:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340924 - in head/games/xgalaga++: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 19:04:51 -0000 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 +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