svn commit: r547980 - head/x11/glcapsviewer

Alexey Dokuchaev danfe at FreeBSD.org
Tue Sep 8 12:37:42 UTC 2020


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} \


More information about the svn-ports-all mailing list