aboutsummaryrefslogtreecommitdiff
path: root/graphics/waifu2x-converter-cpp/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-09-23 18:14:16 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-09-23 18:14:16 +0000
commit0fdf645ce653b4e3015793b31cfb511d92d2310a (patch)
tree0d72ceb38bdda3ac65b719d6d87b606714423406 /graphics/waifu2x-converter-cpp/Makefile
parent2375b57452e140394641fb7ee783a388e6141130 (diff)
downloadports-0fdf645ce653b4e3015793b31cfb511d92d2310a.tar.gz
ports-0fdf645ce653b4e3015793b31cfb511d92d2310a.zip
Notes
Diffstat (limited to 'graphics/waifu2x-converter-cpp/Makefile')
-rw-r--r--graphics/waifu2x-converter-cpp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile
index 6eda053334de..2268756d2b27 100644
--- a/graphics/waifu2x-converter-cpp/Makefile
+++ b/graphics/waifu2x-converter-cpp/Makefile
@@ -56,7 +56,7 @@ post-patch:
@${REINPLACE_CMD} -e '/"models/s,","${DATADIR}/,' \
-e '/CmdLine/s,${PORTVERSION:R},${DISTVERSIONFULL},' \
${WRKSRC}/src/main.cpp
- @${REINPLACE_CMD} -e 's,${PORTNAME:C/-.*//},${PORTNAME},' \
+ @${REINPLACE_CMD} -e 's,[^"]*"),${PORTNAME}"),' \
-e 's,\(version\) [^"]*,\1 ${DISTVERSIONFULL},' \
${WRKDIR}/${PORTNAME}.1