mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
aa53d5d4e7
PR: 111009 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> Approved by: maintainer
43 lines
1013 B
Makefile
43 lines
1013 B
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://www.amdmi3.ru/distfiles/
|
|
DISTNAME= phear-${PORTVERSION}
|
|
|
|
MAINTAINER= tlp@liquidx.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
|
|
|
|
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>
|