From c835f150cdbac9783953e1dfd940b19cf8b4725f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 25 Dec 2017 01:24:49 +0000 Subject: [PATCH] graphics/waifu2x-converter-cpp: drop misleading manpage The manpage only quotes --help and mentions CUDA, unsupported on FreeBSD. --- graphics/waifu2x-converter-cpp/Makefile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile index 55ceca19da96..1b80d75f2a3c 100644 --- a/graphics/waifu2x-converter-cpp/Makefile +++ b/graphics/waifu2x-converter-cpp/Makefile @@ -3,11 +3,8 @@ PORTNAME= waifu2x-converter-cpp DISTVERSION= 1.0.0-410 DISTVERSIONSUFFIX= -g5e5ac35 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics -MASTER_SITES= https://aur.archlinux.org/cgit/aur.git/plain/${PORTNAME:C/-.*//}.1.gz?h=${PORTNAME:C/-.*//}-git&id=5c150a5&/:manpage -DISTFILES= ${PORTNAME:C/-.*//}.1.gz:manpage -EXTRACT_ONLY= ${DISTFILES:N*\:manpage:C/:.*//} MAINTAINER= jbeich@FreeBSD.org COMMENT= Scale and denoise images using convolutional neural networks @@ -35,7 +32,6 @@ LDFLAGS+= -Wl,--as-needed # avoid overlinking (opencv deps) TEST_TARGET= test ARGS="-V" USE_LDCONFIG= yes PLIST_FILES= bin/${PORTNAME} \ - man/man1/${PORTNAME}.1.gz \ include/w2xconv.h \ lib/libw2xc.so PORTDATA= * @@ -47,23 +43,10 @@ OPTIONS_DEFAULT=SIMD DOCS_CMAKE_ON= -DINSTALL_DOCS=on SIMD_CMAKE_OFF= -DARMOPT=off -DX86OPT=off -post-extract: - @${GZCAT} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \ - >${WRKDIR}/${PORTNAME}.1 - post-patch: @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \ -e 's,".*\(-m[^[:space:]]*\).*","\1",' \ -e 's/$${TS}/${DISTVERSIONFULL}/' \ ${WRKSRC}/CMakeLists.txt -# Undo AUR rename and use version from |git describe --tags| - @${REINPLACE_CMD} -e '/AUTHORS/,$$! { /\.B mai/! \ - s,${PORTNAME:C/-.*//},${PORTNAME},; }' \ - -e '1s,\(version\) [^"]*,\1 ${DISTVERSIONFULL},' \ - ${WRKDIR}/${PORTNAME}.1 - -post-install: - ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 \ - ${STAGEDIR}${MAN1PREFIX}/man/man1 .include