1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/games/twind/Makefile
Lars Engels e25988554c - Add a desktop entry
- Move plist to pkg-plist
- Remove comments in Makefile
- Bump PORTREVISION

PR:		ports/174537
Submitted by:	nemysis@gmx.ch (maintainer)
2012-12-18 13:09:11 +00:00

46 lines
1.1 KiB
Makefile

# New Ports collection makefile for: twind
# Date created: 2012-04-11
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= twind
PORTVERSION= 1.1.0
PORTREVISION= 2
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>