From owner-svn-ports-all@FreeBSD.ORG Thu Nov 7 02:51:33 2013 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 ESMTP id 3245794A; Thu, 7 Nov 2013 02:51:33 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) 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 053992384; Thu, 7 Nov 2013 02:51:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA72pWJp065058; Thu, 7 Nov 2013 02:51:32 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA72pWdC065057; Thu, 7 Nov 2013 02:51:32 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311070251.rA72pWdC065057@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 7 Nov 2013 02:51:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333052 - head/games/krank 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.14 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: Thu, 07 Nov 2013 02:51:33 -0000 Author: nemysis Date: Thu Nov 7 02:51:32 2013 New Revision: 333052 URL: http://svnweb.freebsd.org/changeset/ports/333052 Log: - Change Makefile header - Change maintainer email to @FreeBSD.org - Support STAGEDIR - Simplify post-extract Approved by: pawel / wg (mentors, implicit) Modified: head/games/krank/Makefile Modified: head/games/krank/Makefile ============================================================================== --- head/games/krank/Makefile Thu Nov 7 02:04:11 2013 (r333051) +++ head/games/krank/Makefile Thu Nov 7 02:51:32 2013 (r333052) @@ -1,3 +1,4 @@ +# Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= krank @@ -6,7 +7,7 @@ PORTREVISION= 4 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Little casual game LICENSE= GPLv2 @@ -23,30 +24,24 @@ PORTDOCS= CHANGELOG.txt README DESKTOP_ENTRIES="Krank" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" false -NO_STAGE= yes -.include - post-extract: - @${FIND} ${WRKSRC} -name .cvsignore -type f -print0 -or -name .DS_Store -type f -print0 | \ - ${XARGS} -0 ${RM} -rf + @${FIND} ${WRKSRC} -name .cvsignore -delete -or -name .DS_Store -delete post-patch: ${REINPLACE_CMD} -e 's|`dirname.*|${DATADIR}|' ${WRKSRC}/${PORTNAME} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/krank ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/krank ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${DATADIR} .for d in art fonts html levels sounds src - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor - ${INSTALL_DATA} ${WRKSRC}/krank.iss ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/logo.xcf ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/html/gfx/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_DATA} ${WRKSRC}/krank.iss ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/logo.xcf ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/html/gfx/logo.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include