aboutsummaryrefslogtreecommitdiff
path: root/x11/glcapsviewer
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-08 12:37:41 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-08 12:37:41 +0000
commit6cf942491c569dd633054be64d4b28da5bc8b934 (patch)
tree43478d5f2a9776be722d7700b1db0a1cdff19467 /x11/glcapsviewer
parent0917bf8d53e78dcf2a548551d21b529df9a22d79 (diff)
downloadports-6cf942491c569dd633054be64d4b28da5bc8b934.tar.gz
ports-6cf942491c569dd633054be64d4b28da5bc8b934.zip
Notes
Diffstat (limited to 'x11/glcapsviewer')
-rw-r--r--x11/glcapsviewer/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11/glcapsviewer/Makefile b/x11/glcapsviewer/Makefile
index f3a1d88a460c..009780f69057 100644
--- a/x11/glcapsviewer/Makefile
+++ b/x11/glcapsviewer/Makefile
@@ -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} \