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