blob: 80d9c79beaff09092722d3279bb5a8ced3afc063 (
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
|
PORTNAME= wizznic
PORTVERSION= 1.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Implementation of the arcade classic Puzznic
WWW= https://dustedgames.blogspot.com/p/wizznic.html
LICENSE= GPLv3+
LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= DusteDdk
GH_PROJECT= Wizznic
USES= gmake sdl tar:bzip2
USE_SDL= image mixer sdl
MAKE_ENV= DATADIR=${DATADIR}/
MAKEFILE= Makefile.linux
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/wizznic share/man/man6/wizznic.6.gz
DESKTOP_ENTRIES="Wizznic!" "" "${DATADIR}/packs/001_wizznic/icon.png" \
"${PORTNAME}" "Game;LogicGame;" false
OPTIONS_DEFINE= OPENGL DOCS
OPTIONS_DEFAULT=OPENGL
OPENGL_USES= gl
OPENGL_USE= GL=gl
OPENGL_MAKE_ENV_OFF= WITH_OPENGL=false
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wizznic ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${COPYTREE_SHARE} "data packs" ${STAGEDIR}${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/wizznic.6 ${STAGEDIR}${MAN6PREFIX}/share/man/man6
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.for f in changelog.txt credits.txt music-score-credits.txt ports.txt readme.txt
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|