aboutsummaryrefslogtreecommitdiff
path: root/games/violetland/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-24 01:13:06 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-24 01:13:06 +0000
commit8ded2a096b5e607347b147a5026b1583d21a31dc (patch)
treec00c5132d55942a224602f9091e9b8ee3311329a /games/violetland/Makefile
parenta75a5727655e3111720cae8b8b24b439768df508 (diff)
downloadports-8ded2a096b5e607347b147a5026b1583d21a31dc.tar.gz
ports-8ded2a096b5e607347b147a5026b1583d21a31dc.zip
Notes
Diffstat (limited to 'games/violetland/Makefile')
-rw-r--r--games/violetland/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index 5f30fdd54ecc..ffe8c62dcf5f 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -12,7 +12,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Top-down survival shoot 'em up
-LIB_DEPENDS= boost_filesystem:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
USE_ZIP= yes
USE_SDL= sdl mixer image ttf
@@ -23,24 +23,19 @@ CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
-PORTDOCS= CHANGELOG README_EN.TXT README_RU.TXT
+PORTDOCS= *
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/set.libList/ s|)| ${LOCALBASE}/lib/libintl.so&|' \
${WRKSRC}/CMakeLists.txt
post-install:
- ${MKDIR} ${DESKTOPDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
-.endif
+ ${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG README_EN.TXT README_RU.TXT \
+ ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>