1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/wrogue/Makefile
Martin Wilke 76c0ce7726 - Remove CVS-tag from previous maintainer
- use SF macro

Submitted by:	maintainer via irc
2009-07-19 10:57:08 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: warp-rogue
# Date created: 2007-02-26
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
# $FreeBSD$
#
PORTNAME= wrogue
PORTVERSION= 0.8.0
CATEGORIES= games
MASTER_SITES= SF/todoom
MAINTAINER= steinex@nognu.de
COMMENT= A gothic science fantasy roguelike game
USE_BZIP2= yes
USE_SDL= yes
USE_GMAKE= yes
MAKEFILE= unix.mak
ALL_TARGET= release
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKDIR}
PORTDOCS= changes.txt license.txt readme.txt scenario_guide.txt
post-patch:
@${REINPLACE_CMD} -e "s|-march=i586||; \
s|gcc|${CC}|; \
s|CFLAGS=|CFLAGS+=|" \
${WRKSRC}/src/unix.mak
@${REINPLACE_CMD} -e "s|\./data/|${DATADIR}/|" \
${WRKSRC}/src/platform/unix/platform_unix.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wrogue ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC}/data && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC}/data && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>