1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/games/netrek-client-cow/Makefile
Bernhard Froehlich 6c8b10209c - Stagify
- Update dependencies to new shlib format
- Add LICENSE
- Bump PORTREVISION

PR:		ports/185556
Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (maintainer)
2014-01-27 16:31:54 +00:00

39 lines
975 B
Makefile

# Created by: Kevin Zheng <kevinz5000@gmail.com>
# $FreeBSD$
PORTNAME= netrek-client-cow
PORTVERSION= 3.3.1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.netrek.org/files/COW/ \
http://quozl.us.netrek.org/netrek/
MAINTAINER= kevinz5000@gmail.com
COMMENT= Multi-player battle simulation with a Star Trek theme
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gmake
USE_SDL= sdl mixer
CONFIGURE_ARGS+= NORSA='\#'
post-patch:
${REINPLACE_CMD} -e 's|ushort damage|unsigned short damage|' \
${WRKSRC}/short.c
${REINPLACE_CMD} -e 's|inline void|void|' \
${WRKSRC}/local.[ch]
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \
${WRKSRC}/netrek-client-cow.desktop \
${WRKSRC}/sound.c \
${WRKSRC}/x11sprite.c
${REINPLACE_CMD} -e 's|8000, AUDIO_U8, 1|22050, AUDIO_U8, 2|' \
${WRKSRC}/sound.c
${REINPLACE_CMD} -e 's|games|bin|' \
${WRKSRC}/netrek-client-cow.desktop
.include <bsd.port.mk>