6fb621dd1a
- Change maintainer email to @FreeBSD.org - Change Desktop entry file - Support STAGEDIR - Mute dir install - Add patch, fix build with Clang Approved by: wg/pawel (mentors)
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# Created by: nemysis <nemysis@gmx.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= twind
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 3
|
|
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 TODO
|
|
|
|
DESKTOP_ENTRIES="Twin Distress" "${COMMENT}" "${PORTNAME}" \
|
|
"${PORTNAME}" "Game;ArcadeGame;" false
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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>
|