diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-24 09:13:06 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-24 09:13:06 +0800 |
commit | 19c8f3c92b2d0cade909324e5806a6bc24c6a2b9 (patch) | |
tree | c00c5132d55942a224602f9091e9b8ee3311329a /games/violetland/Makefile | |
parent | 62e1381225f8bf569c9c361b6bbd00ef3b0d9b15 (diff) | |
download | freebsd-ports-gnome-19c8f3c92b2d0cade909324e5806a6bc24c6a2b9.tar.gz freebsd-ports-gnome-19c8f3c92b2d0cade909324e5806a6bc24c6a2b9.tar.zst freebsd-ports-gnome-19c8f3c92b2d0cade909324e5806a6bc24c6a2b9.zip |
- Support staging
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'games/violetland/Makefile')
-rw-r--r-- | games/violetland/Makefile | 21 |
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> |