freebsd-ports/games/passage/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: passage
# Date created: 23 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= passage
PORTVERSION= 4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/hcsoftware/Passage/v${PORTVERSION}
DISTNAME= Passage_v${PORTVERSION}_UnixSource
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= An experimental video game by Jason Rohrer
USE_SDL= sdl
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/gamma256/gameSource
post-patch:
@${REINPLACE_CMD} -e 's|^\(PLATFORM_LINK_FLAGS =\).*|\1 ${PTHREAD_LIBS}|' \
${WRKSRC}/Makefile.GnuLinux
@${REINPLACE_CMD} -e 's|"graphics"|"${DATADIR}/graphics"|' \
${WRKSRC}/common.cpp
@${REINPLACE_CMD} -e 's|"music"|"${DATADIR}/music"|' \
${WRKSRC}/musicPlayer.cpp
@${REINPLACE_CMD} -e 's|"settings"|"${DATADIR}/settings"|' \
${WRKDIR}/${DISTNAME}/minorGems/util/SettingsManager.cpp
do-configure:
cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.all > Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/Passage ${PREFIX}/bin/
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "graphics music settings" ${DATADIR}/
.include <bsd.port.mk>