svn commit: r328738 - head/games/kartofel
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 29 21:46:23 UTC 2013
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 at 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>
More information about the svn-ports-head
mailing list