freebsd-ports/games/untahris/Makefile
Marcus von Appen 3c5a29be3d - Update graphics/sdl_ttf to version 2.0.10
- Bump portrevisions for all ports depending on graphics/sdl_ttf
- Update Mk/bsd.sdl.mk for the new shared library version.
2010-08-11 06:57:34 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: untahris
# Date created: 08 Sep 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= untahris
PORTVERSION= 3.1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF
EXTRACT_SUFX= -src.tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Play several classic fun, simple arcade games in multiplayer mode
USE_SDL= sdl net ttf mixer
PORTDOCS= *
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|VeraBd.ttf|${DATADIR}/VeraBd.ttf|; \
s|graph%d|${DATADIR}/&|; s|[a-z]*\.wav|${DATADIR}/&|' \
${WRKSRC}/intface.cpp
do-build:
cd ${WRKSRC} && ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --libs --cflags` \
-lSDL_net -lSDL_ttf -lSDL_mixer untahris.cpp -o untahris
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/untahris ${PREFIX}/bin/
${MKDIR} ${DATADIR}
.for f in VeraBd.ttf graph16*.unt *.wav
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>