1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/freesynd/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: freesynd
# Date created: 2007-05-27
# Whom: Lars Engels <lars.engels@0x20.net>
#
# $FreeBSD$
#
PORTNAME= freesynd
PORTVERSION= 0.2
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= FreeSynd GPLed reimplementation of the classic Bullfrog game Syndicate
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
USE_GMAKE= yes
USE_ZIP= yes
USE_SDL= sdl mixer
WRKSRC= ${WRKDIR}/${PORTNAME}/src
SUB_FILES= freesynd.sh
post-patch:
@${REINPLACE_CMD} 's|-lpng|-lpng -L${LOCALBASE}/lib|g; \
s|g++|${CXX}|g; \
s|CXXFLAGS +=|CXXFLAGS=${CXXFLAGS} -DSYSTEM_SDL -DUSE_RWOPS|;' \
${WRKSRC}/Makefile
do-install:
${MKDIR} ${DATADIR}/data
${INSTALL_PROGRAM} ${WRKSRC}/freesynd ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/freesynd.sh ${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/*.mp3 ${DATADIR}
.for datafile in ${WRKDIR}/${PORTNAME}/data/*
${INSTALL_DATA} ${WRKDIR}/${datafile} ${DATADIR}/data
.endfor
.include <bsd.port.mk>