1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/cavezofphear/Makefile
Pav Lucistnik 07b2788864 - Mark MAKE_JOBS_UNSAFE
Reported by:	pointyhat
2009-11-19 22:07:43 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: cavezofphear
# Date created: 23 July 2005
# Whom: Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#
PORTNAME= cavezofphear
PORTVERSION= 0.5
CATEGORIES= games
MASTER_SITES= http://www.x86.no/cavezofphear/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= phear-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Boulder Dash / Digger-like game written using ncurses
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKE_JOBS_UNSAFE= yes
PORTDOCS= ChangeLog README README-EDITOR TODO
post-patch:
@${REINPLACE_CMD} -e 's|\./data|${DATADIR}/data|' ${WRKSRC}/src/chk.c
@${REINPLACE_CMD} -e 's|\./phear|phear|' ${WRKSRC}/README-EDITOR
do-install:
${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/phear ${PREFIX}/bin
@(cd ${WRKSRC}; ${COPYTREE_SHARE} data ${DATADIR})
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>