svn commit: r397629 - head/graphics/waifu2x-converter-cpp

Jan Beich jbeich at FreeBSD.org
Wed Sep 23 18:14:17 UTC 2015


Author: jbeich
Date: Wed Sep 23 18:14:16 2015
New Revision: 397629
URL: https://svnweb.freebsd.org/changeset/ports/397629

Log:
  graphics/waifu2x-converter-cpp: oops, use proper regexp
  
  No change in --version output.

Modified:
  head/graphics/waifu2x-converter-cpp/Makefile   (contents, props changed)

Modified: head/graphics/waifu2x-converter-cpp/Makefile
==============================================================================
--- head/graphics/waifu2x-converter-cpp/Makefile	Wed Sep 23 18:12:57 2015	(r397628)
+++ head/graphics/waifu2x-converter-cpp/Makefile	Wed Sep 23 18:14:16 2015	(r397629)
@@ -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
 


More information about the svn-ports-head mailing list