blob: 037ba1271bf0c60ef06ad09232f69acd2487de59 (
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
47
48
49
50
51
52
|
PORTNAME= meandmyshadow
PORTVERSION= 0.5a
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Me and My Shadow puzzle/platform game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake compiler:c++11-lang dos2unix libarchive lua:53 sdl
DOS2UNIX_FILES= CMakeLists.txt src/Functions.cpp
USE_SDL= sdl2 image2 ttf2 mixer2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTSCOUT= skipv:0.5
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="Me and My Shadow" \
"Puzzle/platform game" \
"${PREFIX}/share/pixmaps/meandmyshadow.png" \
"meandmyshadow" \
"Game;LogicGame;" \
false
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/FindSDL_gfx.cmake
post-install:
${INSTALL_DATA} ${WRKSRC}/icons/64x64/meandmyshadow.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS ChangeLog docs/*
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|