freebsd-ports/games/violetland/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= violetland
PORTVERSION= 0.4.3
PORTREVISION= 5
CATEGORIES= games
2010-01-27 23:29:04 +01:00
MASTER_SITES= GOOGLE_CODE \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-v${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Top-down survival shoot 'em up
LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
2011-05-16 15:04:54 +02:00
2014-05-08 05:58:56 +02:00
USES= cmake gettext zip dos2unix
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
2014-05-08 05:58:56 +02:00
DOS2UNIX_FILES= CMakeLists.txt src/system/utility/FileUtility.cpp
2010-01-10 18:07:51 +01:00
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
2014-09-22 13:57:43 +02:00
PLIST_FILES= bin/violetland \
share/applications/violetland.desktop
PORTDOCS= *
2014-09-22 13:57:43 +02:00
PORTDATA= *
OPTIONS_DEFINE= DOCS
2011-04-16 12:04:20 +02:00
post-patch:
@${REINPLACE_CMD} -e '/set.libList/ s|)| ${LOCALBASE}/lib/libintl.so&|' \
${WRKSRC}/CMakeLists.txt
post-install:
${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>