summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorler <ler@FreeBSD.org>2017-04-26 01:01:28 +0000
committerler <ler@FreeBSD.org>2017-04-26 01:01:28 +0000
commitafb17df85ce5a98b44ecbb7771c18774c55caa13 (patch)
treecd97afbcd1f29a13c5cc170c925106c61d92d5fe
parentb2a7dcd25066473b9b4be2f8aceb5ffe40ed6f3f (diff)
downloadFreeBSD-ports-afb17df85ce5a98b44ecbb7771c18774c55caa13.zip
FreeBSD-ports-afb17df85ce5a98b44ecbb7771c18774c55caa13.tar.gz
games/fairymax: Improve regex conformance
PR: 218606 Submitted by: Kyle Evans <bsdports@kyle-evans.net> Approved by: Kalten <kalten@gmx.at> (maintainer), adamw (mentor) Differential Revision: https://reviews.freebsd.org/D10502
-rw-r--r--games/fairymax/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile
index a603896..c28695a 100644
--- a/games/fairymax/Makefile
+++ b/games/fairymax/Makefile
@@ -3,6 +3,7 @@
PORTNAME= fairymax
PORTVERSION= 5.0b.20160316.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://freeheimdall.spdns.org/files/
# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=${COMMIT_HASH};sf=tgz
@@ -34,11 +35,11 @@ post-patch:
${WRKSRC}/fairymax.c
@${REINPLACE_CMD} -E 's|^(prefix\|bindir\|mandir\|datadir\|plugindir\|fairydir) =|\1 ?=|' \
${WRKSRC}/Makefile
- @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/fairymax .{srcdir}/shamax .{srcdir}/maxqi .\(DESTDIR\).\(bindir\))| ${INSTALL_PROGRAM} \1|' \
+ @${REINPLACE_CMD} -E 's|^ cp (.\{srcdir\}/fairymax .\{srcdir\}/shamax .\{srcdir\}/maxqi .\(DESTDIR\).\(bindir\))| ${INSTALL_PROGRAM} \1|' \
${WRKSRC}/Makefile
- @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/data/)| ${INSTALL_DATA} \1|' \
+ @${REINPLACE_CMD} -E 's|^ cp (.\{srcdir\}/data/)| ${INSTALL_DATA} \1|' \
${WRKSRC}/Makefile
- @${REINPLACE_CMD} -E 's|^ cp (.{srcdir}/fairymax.6.gz)| ${INSTALL_MAN} \1|' \
+ @${REINPLACE_CMD} -E 's|^ cp (.\{srcdir\}/fairymax.6.gz)| ${INSTALL_MAN} \1|' \
${WRKSRC}/Makefile
post-install-DOCS-on:
OpenPOWER on IntegriCloud