aboutsummaryrefslogtreecommitdiffstats
path: root/games/cavezofphear
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-08-05 13:03:39 +0800
committermiwi <miwi@FreeBSD.org>2012-08-05 13:03:39 +0800
commitb0424cc2acbce58852d91662691debc8d7c3d5c6 (patch)
treef7ce4a05ef7d12386847cffaa2ee51eae50659ed /games/cavezofphear
parentc57043c89d6253bb3ed8b707e087f92652dd7d98 (diff)
downloadfreebsd-ports-gnome-b0424cc2acbce58852d91662691debc8d7c3d5c6.tar.gz
freebsd-ports-gnome-b0424cc2acbce58852d91662691debc8d7c3d5c6.tar.zst
freebsd-ports-gnome-b0424cc2acbce58852d91662691debc8d7c3d5c6.zip
- Update to 0.5.1
PR: 170148 Submitted by: Ports Fury
Diffstat (limited to 'games/cavezofphear')
-rw-r--r--games/cavezofphear/Makefile25
-rw-r--r--games/cavezofphear/distinfo4
2 files changed, 17 insertions, 12 deletions
diff --git a/games/cavezofphear/Makefile b/games/cavezofphear/Makefile
index a566b95bda0a..f43347a45956 100644
--- a/games/cavezofphear/Makefile
+++ b/games/cavezofphear/Makefile
@@ -6,35 +6,40 @@
#
PORTNAME= cavezofphear
-PORTVERSION= 0.5
+PORTVERSION= 0.5.1
CATEGORIES= games
-MASTER_SITES= http://www.x86.no/cavezofphear/ \
- http://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= http://www.x86.no/cavezofphear/
DISTNAME= phear-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Boulder Dash / Digger-like game written using ncurses
+LICENSE= GPLv3 # (or later)
+
+OPTIONS_DEFINE= DOCS
+
+BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
USE_BZIP2= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
-BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/src
-MAKE_JOBS_UNSAFE= yes
+ALL_TARGET= phear
+MAKE_JOBS_SAFE= yes
PORTDOCS= ChangeLog README README-EDITOR TODO
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|\./data|${DATADIR}/data|' ${WRKSRC}/src/chk.c
@${REINPLACE_CMD} -e 's|\./phear|phear|' ${WRKSRC}/README-EDITOR
do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/phear ${PREFIX}/bin
${MKDIR} ${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/phear ${PREFIX}/bin
@(cd ${WRKSRC}; ${COPYTREE_SHARE} data ${DATADIR})
-
-.if !defined(NOPORTDOCS)
-post-install:
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
diff --git a/games/cavezofphear/distinfo b/games/cavezofphear/distinfo
index 19536168d7c9..9e7ef7381a54 100644
--- a/games/cavezofphear/distinfo
+++ b/games/cavezofphear/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phear-0.5.tar.bz2) = 1087c04347ff60d153ffceb91363a31643337ed71b4a40b68160392d32d68bb7
-SIZE (phear-0.5.tar.bz2) = 20502
+SHA256 (phear-0.5.1.tar.bz2) = 9af83c2246dc05531e3d1d11ea931fe38e7086b513fb8e295c7e95b54c68e687
+SIZE (phear-0.5.1.tar.bz2) = 25750