Date: Sun, 29 Sep 2013 21:46:23 +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: r328738 - head/games/kartofel Message-ID: <201309292146.r8TLkNhR072820@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Sep 29 21:46:22 2013 New Revision: 328738 URL: http://svnweb.freebsd.org/changeset/ports/328738 Log: - Support staging - Use new LIB_DEPENDS syntax - Convert USE_GMAKE to USES Modified: head/games/kartofel/Makefile Modified: head/games/kartofel/Makefile ============================================================================== --- head/games/kartofel/Makefile Sun Sep 29 21:43:08 2013 (r328737) +++ head/games/kartofel/Makefile Sun Sep 29 21:46:22 2013 (r328738) @@ -11,9 +11,9 @@ MASTER_SITES= http://kartofel.jfedor.org MAINTAINER= amdmi3@FreeBSD.org COMMENT= Connect the dots in order without crossing over yourself -LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl -USE_GMAKE= yes +USES= gmake USE_SDL= sdl gfx mixer image ttf ALL_TARGET= default @@ -30,7 +30,6 @@ DESKTOP_ENTRIES="Kartofel" \ "Game;LogicGame;ArcadeGame;" \ false -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e '/^CXXOPTIONS/ d; s|g++|${CXX} ${CXXFLAGS}|; \ s|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile @@ -39,10 +38,8 @@ post-patch: .endfor do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${PREFIX}/bin -.if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${DATADIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${STAGEDIR}${DATADIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309292146.r8TLkNhR072820>