blob: 7ca9e767d9f58ba714e5023a082414bd456e94ab (
plain) (
tree)
|
|
# New Ports collection makefile for: twind
# Date created: 2012-04-11
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= twind
PORTVERSION= 1.1.0
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= Match and remove all of the blocks before time runs out
LICENSE= GPLv2
USE_SDL= sdl image mixer
MAKE_JOBS_SAFE= yes
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} ${PREFIX}/bin
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music sound" ${DATADIR})
${INSTALL_DATA} ${WRKSRC}/graphics/${PORTNAME}.png ${PREFIX}/share/pixmaps
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|