blob: 5f30fdd54ecc6830bacaa19a27ddce5f4bed23dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= violetland
PORTVERSION= 0.4.3
PORTREVISION= 1
CATEGORIES= games
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= boost_filesystem:${PORTSDIR}/devel/boost-libs
USE_ZIP= yes
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
USES= cmake gettext
USE_DOS2UNIX= yes
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}
PORTDOCS= CHANGELOG README_EN.TXT README_RU.TXT
NO_STAGE= yes
.include <bsd.port.options.mk>
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
.include <bsd.port.mk>
|