From 90b065220832c608e4f208c6213b31e45a086b8b Mon Sep 17 00:00:00 2001 From: Larry Rosenman Date: Wed, 26 Apr 2017 01:01:28 +0000 Subject: [PATCH] games/fairymax: Improve regex conformance PR: 218606 Submitted by: Kyle Evans Approved by: Kalten (maintainer), adamw (mentor) Differential Revision: https://reviews.freebsd.org/D10502 --- games/fairymax/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile index a60389646afb..c28695a9ce28 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: