svn commit: r457202 - head/graphics/waifu2x-converter-cpp
Jan Beich
jbeich at FreeBSD.org
Mon Dec 25 01:24:50 UTC 2017
Author: jbeich
Date: Mon Dec 25 01:24:49 2017
New Revision: 457202
URL: https://svnweb.freebsd.org/changeset/ports/457202
Log:
graphics/waifu2x-converter-cpp: drop misleading manpage
The manpage only quotes --help and mentions CUDA, unsupported on FreeBSD.
Modified:
head/graphics/waifu2x-converter-cpp/Makefile (contents, props changed)
Modified: head/graphics/waifu2x-converter-cpp/Makefile
==============================================================================
--- head/graphics/waifu2x-converter-cpp/Makefile Mon Dec 25 00:04:46 2017 (r457201)
+++ head/graphics/waifu2x-converter-cpp/Makefile Mon Dec 25 01:24:49 2017 (r457202)
@@ -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 at FreeBSD.org
COMMENT= Scale and denoise images using convolutional neural networks
@@ -35,7 +32,6 @@ LDFLAGS+= -Wl,--as-needed # avoid overlinking (opencv
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 <bsd.port.mk>
More information about the svn-ports-all
mailing list