From afb17df85ce5a98b44ecbb7771c18774c55caa13 Mon Sep 17 00:00:00 2001 From: ler Date: Wed, 26 Apr 2017 01:01:28 +0000 Subject: 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 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: -- cgit v1.1