blob: 60d49b75a85ce95eb8c2466001c4bfedd4b4141f (
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
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= twind
PORTVERSION= 1.1.0
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Match and remove all of the blocks before time runs out
LICENSE= GPLv2
USE_SDL= sdl image mixer
PORTDOCS= AUTHORS CREDITS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Twin Distress" "" "${PORTNAME}" \
"${PORTNAME}" "Game;ArcadeGame;" ""
do-build:
cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
-DDATA_PREFIX=\"${DATADIR}/\" -DAUDIO -DLINUX \
-lm `${SDL_CONFIG} --cflags --libs` -lSDL_mixer -lSDL_image twind.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${STAGEDIR}${DATADIR})
${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|