Date: Tue, 8 Sep 2020 12:37:41 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547980 - head/x11/glcapsviewer Message-ID: <202009081237.088CbfdP058185@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Sep 8 12:37:41 2020 New Revision: 547980 URL: https://svnweb.freebsd.org/changeset/ports/547980 Log: Throw in couple of cosmetic fixes and add explanatory comments for the sed(1) calls while I'm comfortable converting them to patches just yet. Modified: head/x11/glcapsviewer/Makefile Modified: head/x11/glcapsviewer/Makefile ============================================================================== --- head/x11/glcapsviewer/Makefile Tue Sep 8 11:50:59 2020 (r547979) +++ head/x11/glcapsviewer/Makefile Tue Sep 8 12:37:41 2020 (r547980) @@ -31,8 +31,14 @@ post-patch: @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__, ; /ifstream\ enumListxml/s,[^"]*ist\.xml",${DATADIR}/&,' \ ${WRKSRC}/glCapsViewer.cpp ${WRKSRC}/glCapsViewerCore.cpp +# We install provided `capslist.xml' in the ${DATADIR}, hence disable +# checking for ./capslist.xml and needlessly downloading it @${REINPLACE_CMD} -e 's,!capsXmlFile\.exists,false \&\& &,' \ ${WRKSRC}/main.cpp +# Spell XML correctly (it is an abbreviation) + @${REINPLACE_CMD} -e 's, xml, XML,' ${WRKSRC}/glCapsViewer.ui +# Copyright information does not belong in the window title + @${REINPLACE_CMD} -e 's, - [^"]*,,' ${WRKSRC}/glCapsViewerCore.h do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009081237.088CbfdP058185>