From owner-svn-ports-head@FreeBSD.ORG Wed Dec 25 21:23:13 2013 Return-Path: Delivered-To: svn-ports-head@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 43CDCA96; Wed, 25 Dec 2013 21:23:13 +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 159BA1435; Wed, 25 Dec 2013 21:23:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBPLNCQm016179; Wed, 25 Dec 2013 21:23:12 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBPLNCvw016178; Wed, 25 Dec 2013 21:23:12 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312252123.rBPLNCvw016178@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 25 Dec 2013 21:23:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337456 - head/games/tuxkart X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 21:23:13 -0000 Author: nemysis Date: Wed Dec 25 21:23:12 2013 New Revision: 337456 URL: http://svnweb.freebsd.org/changeset/ports/337456 Log: - Change master sites - USES gmake instead of USE_GMAKE - Support STAGEDIR - Change Desktop entry file Approved by: pawel / wg (mentors, implicit) Modified: head/games/tuxkart/Makefile (contents, props changed) Modified: head/games/tuxkart/Makefile ============================================================================== --- head/games/tuxkart/Makefile Wed Dec 25 21:08:15 2013 (r337455) +++ head/games/tuxkart/Makefile Wed Dec 25 21:23:12 2013 (r337456) @@ -6,7 +6,7 @@ PORTVERSION= 0.4.0 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://tuxkart.sourceforge.net/dist/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} @@ -18,10 +18,10 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib +USES= gmake USE_GL= gl GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -lusbhid" -USE_GMAKE= yes CONFIGURE_ARGS= --with-plib=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include @@ -34,18 +34,15 @@ DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= *.png *.html -DESKTOP_ENTRIES="TuxKart" "${COMMENT}" ${PORTNAME} \ - "${PORTNAME}" "Game;ArcadeGame;" false - OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include +DESKTOP_ENTRIES="TuxKart" "" ${PORTNAME} \ + "${PORTNAME}" "Game;SportsGame;" "" post-patch: @${REINPLACE_CMD} -e 's|-O6|${PTHREAD_CFLAGS}|g ; \ - s|-lpthread|${PTHREAD_LIBS}|g ; \ - s|datadir/games|datadir|g' ${WRKSRC}/configure + s|-lpthread|${PTHREAD_LIBS}|g ; \ + s|datadir/games|datadir|g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(prefix)/games|@bindir@|g ; \ s|$$(datadir)/games|$$(datadir)|g' @@ -53,13 +50,12 @@ post-patch: ${WRKSRC}/Makefile.in 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} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - @${MKDIR} ${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} .include