mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
6506e45d69
- Update audio/sdl_mixer to version 1.2.11. - Update graphics/sdl_gfx to version 2.0.20. - Update graphics/sdl_image to version 1.2.10. - Bump portrevisions for all ports depending on audio/sdl_mixer and graphics/sdl_image. - Update Mk/bsd.sdl.mk accordingly for the new shared lib versions. PR: ports/142147 ports/142248 ports/142249 Approved by: miwi (mentor implicit)
46 lines
1.0 KiB
Makefile
46 lines
1.0 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= 1
|
|
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>
|