Date: Tue, 29 Oct 2013 01:37:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331920 - head/games/chapping Message-ID: <201310290137.r9T1bFnj029435@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Oct 29 01:37:14 2013 New Revision: 331920 URL: http://svnweb.freebsd.org/changeset/ports/331920 Log: - Support staging - Convert USE_GMAKE to USES Deleted: head/games/chapping/pkg-plist Modified: head/games/chapping/Makefile Modified: head/games/chapping/Makefile ============================================================================== --- head/games/chapping/Makefile Tue Oct 29 01:26:51 2013 (r331919) +++ head/games/chapping/Makefile Tue Oct 29 01:37:14 2013 (r331920) @@ -13,15 +13,17 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Turn based board football game USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake USE_SDL= sdl image gfx ttf WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source ALL_TARGET= linux -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} +PORTDATA= * + post-patch: - @${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|make|$${MAKE}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXX=/ d; s|^SDL=.*|SDL=${SDL_CONFIG}|; \ /\.o:/ d; /^CXXFLAGS=/ s|=-g -Wall -O2|+=|' \ ${WRKSRC}/library/Makefile ${WRKSRC}/game/Makefile @@ -29,8 +31,7 @@ post-patch: ${WRKSRC}/game/*.cpp do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/chapping ${PREFIX}/bin - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "menuimg themes" ${DATADIR}/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + cd ${WRKSRC} && ${COPYTREE_SHARE} "menuimg themes" ${STAGEDIR}${DATADIR}/ .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310290137.r9T1bFnj029435>