1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/avanor/Makefile
Martin Wilke 3c2b81abaf Avanor is a roguelike game with a easy ADOM-like user interface, it
has countryside and subterranean areas to explore, a quest system, and
some original features.

WWW: http://www.avanor.com/

PR:		ports/109588
Submitted by:	Martin Tournoij <carpetsmoker at xs4all.nl>
2007-02-27 08:21:23 +00:00

36 lines
844 B
Makefile

# New ports collection makefile for: avanor
# Date created: 2007-02-27
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
#
# $FreeBSD$
#
PORTNAME= avanor
PORTVERSION= 0.5.8
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= avanor
DISTFILES= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= carpetsmoker@xs4all.nl
COMMENT= Rogue-like game with easy ADOM-like user interface
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ARGS+= VERSION=${PORTVERSION} DATA_DIR=${DATADIR}/
post-patch:
@${REINPLACE_CMD} -e "s|g++|${CXX}|; \
s|CFLAGS =|CFLAGS+=|;" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|DATA_DIR|\"~/.avanor/\"|" \
${WRKSRC}/helpers/hiscore.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/avanor ${PREFIX}/bin
${MKDIR} ${DATADIR}/manual
${INSTALL_DATA} ${WRKSRC}/manual/* ${DATADIR}/manual/
.include <bsd.port.mk>