aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-12-02 11:25:18 +0800
committerjbeich <jbeich@FreeBSD.org>2015-12-02 11:25:18 +0800
commit3ca498fc5b563e410518a385d966a7ff25cef1b4 (patch)
tree86794a150ca51619620d49a1c2a223f6488688f6 /graphics
parent1dd103116d19e25895664fffd3ff0166d8431b13 (diff)
downloadfreebsd-ports-gnome-3ca498fc5b563e410518a385d966a7ff25cef1b4.tar.gz
freebsd-ports-gnome-3ca498fc5b563e410518a385d966a7ff25cef1b4.tar.zst
freebsd-ports-gnome-3ca498fc5b563e410518a385d966a7ff25cef1b4.zip
graphics/waifu2x-converter-cpp: update to 1.0.0.400
Changes: https://github.com/tanakamura/waifu2x-converter-cpp/compare/007e7b1...6dbdc24
Diffstat (limited to 'graphics')
-rw-r--r--graphics/waifu2x-converter-cpp/Makefile11
-rw-r--r--graphics/waifu2x-converter-cpp/distinfo4
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile
index 79710a9bfa44..05e5ed77bd62 100644
--- a/graphics/waifu2x-converter-cpp/Makefile
+++ b/graphics/waifu2x-converter-cpp/Makefile
@@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= waifu2x-converter-cpp
-DISTVERSION= 1.0.0-377
-DISTVERSIONSUFFIX= -g007e7b1
+DISTVERSION= 1.0.0-400
+DISTVERSIONSUFFIX= -g6dbdc24
CATEGORIES= graphics
MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/:manpage
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -52,11 +52,10 @@ post-extract:
>${WRKDIR}/${PORTNAME}.1
post-patch:
- @${REINPLACE_CMD} -e 's,-O2,,; /SYMBOL/s,-s,,' \
+ @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \
+ -e 's,".*\(-m[^[:space:]]*\).*","\1",' \
+ -e 's/$${TS}/${DISTVERSIONFULL}/' \
${WRKSRC}/CMakeLists.txt
- @${REINPLACE_CMD} \
- -e '/CmdLine/s,[^"]*"),${DISTVERSIONFULL}"),' \
- ${WRKSRC}/src/main.cpp
# Undo AUR rename and use version from |git describe --tags|
@${REINPLACE_CMD} -e '/AUTHORS/,$$! { /\.B mai/! \
s,${PORTNAME:C/-.*//},${PORTNAME},; }' \
diff --git a/graphics/waifu2x-converter-cpp/distinfo b/graphics/waifu2x-converter-cpp/distinfo
index 92606bc0c524..df8f2de633f5 100644
--- a/graphics/waifu2x-converter-cpp/distinfo
+++ b/graphics/waifu2x-converter-cpp/distinfo
@@ -1,4 +1,4 @@
-SHA256 (tanakamura-waifu2x-converter-cpp-1.0.0-377-g007e7b1_GH0.tar.gz) = 6dab337f83e088889f10444da9ceb87153d91d3edc60fc91410896dc6f0cff29
-SIZE (tanakamura-waifu2x-converter-cpp-1.0.0-377-g007e7b1_GH0.tar.gz) = 14870285
+SHA256 (tanakamura-waifu2x-converter-cpp-1.0.0-400-g6dbdc24_GH0.tar.gz) = d99c35b67ea27c75876fee669a48ea97c56f98d06c591b9b2e017e132db3c8f1
+SIZE (tanakamura-waifu2x-converter-cpp-1.0.0-400-g6dbdc24_GH0.tar.gz) = 14875056
SHA256 (waifu2x.1.gz?h=waifu2x-git&id=5c150a5) = bfad3e87e43f20573ab068c386e150f93fb4cc37400b8f4aaf4734c9afbd1489
SIZE (waifu2x.1.gz?h=waifu2x-git&id=5c150a5) = 1242