From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 20:37:34 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 ESMTPS id 52B843DF; Mon, 18 Nov 2013 20:37:34 +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 4165C25EE; Mon, 18 Nov 2013 20:37:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIKbYTD058024; Mon, 18 Nov 2013 20:37:34 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIKbX3b058022; Mon, 18 Nov 2013 20:37:33 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311182037.rAIKbX3b058022@svn.freebsd.org> From: Rusmir Dusko Date: Mon, 18 Nov 2013 20:37:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334261 - head/games/3dpong 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.16 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: Mon, 18 Nov 2013 20:37:34 -0000 Author: nemysis Date: Mon Nov 18 20:37:33 2013 New Revision: 334261 URL: http://svnweb.freebsd.org/changeset/ports/334261 Log: - Change master sites - Change maintainer email to @FreeBSD.org - USES gmake instead of USE_GMAKE - Add DOCS and EXAMPLES Options - Support STAGEDIR - Use pkg-plist instead of PLIST_FILES and PLIST_DIRS Approved by: pawel / wg (mentors, implicit) Added: head/games/3dpong/pkg-plist (contents, props changed) Modified: head/games/3dpong/Makefile Modified: head/games/3dpong/Makefile ============================================================================== --- head/games/3dpong/Makefile Mon Nov 18 20:34:39 2013 (r334260) +++ head/games/3dpong/Makefile Mon Nov 18 20:37:33 2013 (r334261) @@ -6,58 +6,44 @@ PORTREVISION= 6 CATEGORIES= games MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/3dpong/src/ \ ftp://ftp.billsgames.com/unix/x/3dpong/src/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= X Window 3D Pong game for 1 or 2 players LICENSE= GPLv2 +USES= gmake USE_XORG= x11 -USE_GMAKE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ XLIB="-L${LOCALBASE}/lib -lX11" -MAN6= ${PORTNAME}.6 - -PLIST_FILES= bin/${PORTNAME} \ - share/pixmaps/${PORTNAME}.png \ - %%DATADIR%%/hit.au \ - %%DATADIR%%/score.au \ - %%DATADIR%%/wall.au -PLIST_DIRS= %%DATADIR%% - PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt PORTEXAMPLES= * DESKTOP_ENTRIES="3D Pong" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Game;ArcadeGame;" false -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's|cat sounds/|cat ${DATADIR}/|g' ${WRKSRC}/src/3dpong.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/src/${MAN6} ${MAN6PREFIX}/man/man6 - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} -.endif - -.if ${PORT_OPTIONS:MEXAMPLES} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Added: head/games/3dpong/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/3dpong/pkg-plist Mon Nov 18 20:37:33 2013 (r334261) @@ -0,0 +1,7 @@ +bin/3dpong +man/man6/3dpong.6.gz +%%DATADIR%%/hit.au +%%DATADIR%%/score.au +%%DATADIR%%/wall.au +share/pixmaps/3dpong.png +@dirrm %%DATADIR%%