1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11/glcapsviewer/Makefile
Tobias C. Berner d357bca4f0 x11: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Adam Weinberger <adam@vectors.cx>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexander Matey <matey@cis.ohio-state.edu>
  *  Alexander Nedotsukov <bland@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@regency.nsu.ru>
  *  Alexey Mikhailov <karma@ez.pereslavl.ru>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Anton Berezin <tobez@FreeBSD.org>
  *  Anton Toernqvist <antont@inbox.lv>
  *  Anton Tornqvist <antont@inbox.lv>
  *  Ashish Shukla <wahjava@gmail.com>
  *  Ben Woods <woodsb02@FreeBSD.org>
  *  Bert Burgemeister <trebbu@googlemail.com>
  *  Bruce A. Mah <bmah@ca.sandia.gov>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Chris Hutchinson <portmaster@BSDforge.com>
  *  Cy SChubert <cy@FreeBSD.org>
  *  Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
  *  Cy Schubert <cy@FreeBSD.org>
  *  DaJoob
  *  Daniel Roethlisberger <daniel@roe.ch>
  *  Daniel Walter <sahne@0x90.at>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org>
  *  Dave Grochowski
  *  David Mackay <davidjx8p@gmail.com>
  *  David Yeske <dyeske@gmail.com>
  *  Dejan Lesjak <lesi@FreeBSD.org>
  *  Denis Shaposhnikov <dsh@vlink.ru>
  *  Dennis Herrmann <dhn@FreeBSD.org>
  *  Dmitri Goutnik <dg@syrec.org>
  *  Dominik Rothert <dr@domix.de>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Eric Anholt <anholt@FreeBSD.org>
  *  Eric Blood <eblood@cs.unr.edu>
  *  Eric L. Hernes <erich@rrnet.com>
  *  Eric Turgeon <ericbsd@FreeBSD.org>
  *  Eric Turgeon <ericturgeon.bsd@gmail.com>
  *  Evgeni Dimitrov <evgeni.dimitrov@gmail.com>
  *  FURUSAWA,Kazuhisa <kazu@jp.freebsd.org>
  *  Florent Thoumie <flz@xbsd.org>
  *  Foxfair Hu <foxfair@FreeBSD.org>
  *  Francis Bacque <idroxid01@yahoo.fr>
  *  Franz Klammer <klammer@webonaut.com>
  *  Gerrit Beine <tux@pinguru.net>
  *  Grzegorz Blach <gblach@FreeBSD.org>
  *  Gustau Perez i Querol <gustau.perez@gmail.com>
  *  Gvozdikov Veniamin <g.veniamin@googlemail.com>
  *  Hendrik Scholz <hendrik@scholz.net>
  *  Jacob House <jacob@jwfh.ca>
  *  James Earl <jdearl@telus.net>
  *  Jean-Baptiste Quenot <jb.quenot@caraldi.com>
  *  Jeroen Schot <schot@a-eskwadraat.nl>
  *  Jim Mock <jim@FreeBSD.org>
  *  Joe Marcus Clarke <marcus@FreeBSD.org>
  *  Julien Laffaye <kimelto@gmail.com>
  *  KIMURA Yasuhiro <yasu@utahime.org>
  *  Ka Ho Ng <khng300@gmail.com>
  *  Kelly Yancey <kbyanc@posi.net>
  *  Ken Moore <ken@pcbsd.org>
  *  Koop Mast <einekoai@chello.nl>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Kris Moore <kmoore@FreeBSD.org>
  *  Lars Engels <lars.engels@0x20.net>
  *  Lin, Cheng-Tao <b89605222@ntu.edu.tw>
  *  MANTANI Nobutaka <nobutaka@nobutaka.com>
  *  Markus Brueffer <markus@FreeBSD.org>
  *  Martin Ranne <gasp@ridcully.dnsalias.org>
  *  Martin Tournoij <carpetsmoker@xs4all.nl>
  *  Martin Wilke (miwi@FreeBSD.org)
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Matt Lancereau
  *  Matt Lancereau <matt@rimasec.net>
  *  Matt Peterson <matt@peterson.org>
  *  Matthew Donovan <kitchetech@gmail.com>
  *  Matthew Fuller <fullermd@futuresouth.com>
  *  Matthew Hunt <mph@pobox.com>
  *  Matthew West <mwest@uct.ac.za>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Michael Johnson <ahze@FreeBSD.org>
  *  Michiel Overtoom <motoom@xs4all.nl>
  *  Mikhail Teterin <mi@aldan.algebra.com>
  *  Morten Slot Kristensen
  *  Murray Stokely <murray@FreeBSD.org>
  *  NAKATA, Maho <maho@FreeBSD.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nikos Ntarmos <ntarmos@ceid.upatras.gr>
  *  Nikos Ntarmos <ntarmos@cs.uoi.gr>
  *  Oleg Pudeyev <oleg@bsdpower.com>
  *  Oliver Breuninger <ob@breuninger.org>
  *  Oliver Breuninger <ob@seicom.NET>
  *  Oliver Lehmann <oliver@FreeBSD.org>
  *  Olivier Cochard-Labbe <olivier@FreeBSD.org>
  *  Olivier Duchateau
  *  Patrick Li <pat@databits.net>
  *  Pawel Worach <pawel.worach@gmail.com>
  *  Pedro Giffuni
  *  Per Otterstr=F6m <pelle@fukt.bth.se>
  *  Petr Holub <hopet@ics.muni.cz>
  *  Pietro Cerutti <gahr@FreeBSD.org>
  *  Piotr Kubaj <pkubaj@anongoth.pl>
  *  Roman Bogorodskiy <novel@FreeBSD.org>
  *  Sakai Hiroaki <sakai@miya.ee.kagu.sut.ac.jp>
  *  Sakai Hiroaki <sakai@seki.ee.kagu.sut.ac.jp>
  *  Samy Al Bahra <samy@kerneled.org>
  *  Samy Al Bahra <sbahra@kerneled.org>
  *  Sascha Holzleiter <sascha@root-login.org>
  *  Satoshi Asami <asami@FreeBSD.org>
  *  Satoshi TAOKA
  *  Scott Mace <smace@FreeBSD.org>
  *  Sean Farley <sean-freebsd@farley.org>
  *  Sebastian Yepes <esn@x123.info>
  *  Serge Gagnon <gagnon__s@videotron.ca>
  *  Sergei Kolobov <sergei@kolobov.com>
  *  Sofian Brabez <sbz@FreeBSD.org>
  *  Stanislav Sedov <stas@FreeBSD.org>
  *  Stepan Zastupov [RedChrom] <redchrom@gmail.com>
  *  Stephen Montgomery-Smith <stephen@math.missouri.edu>
  *  Stijn Hoop <stijn@win.tue.nl>
  *  Tatsumi Hosokawa
  *  Theron Tarigo <theron.tarigo@gmail.com>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Thomas Hurst <tom@hur.st>
  *  Tim Bishop <tim@bishnet.net>
  *  Timothy Beyer <beyert@cs.ucr.edu>
  *  Tobias Roth <ports@fsck.ch>
  *  UMENO Takashi <umeno@rr.iij4u.or.jp>
  *  Vincent Tantardini <vinc@freebsd-fr.org>
  *  Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
  *  Winston Weinert <winstonw@lavabit.com>
  *  Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
  *  Yinghong Liu <relaxbsd@gmail.com>
  *  Yoshiro MIHIRA <sanpei@sanpei.org>
  *  Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
  *  Zane C. Bowers
  *  Zhihao Yuan <lichray@gmail.com>
  *  asami
  *  chinsan
  *  dirk.meyer@dinoex.sub.org
  *  dom@myrddin.demon.co.uk
  *  eimar.koort
  *  gpalmer
  *  gpalmer@FreeBSD.org
  *  grog
  *  gurkan@phys.ethz.ch
  *  hemi@puresimplicity.net
  *  ijliao
  *  incabulos@mac.com
  *  jacs
  *  janek
  *  jhb
  *  jkh
  *  jkh@FreeBSD.org
  *  jmz
  *  joerg
  *  johalun0@gmail.com
  *  jonny
  *  jsellens
  *  krion
  *  matt@bdd.net
  *  michael johnson <ahze@ahze.net>
  *  nkazushi@highway.or.jp
  *  od <od@iclub.nsu.ru>
  *  oleg@bsdpower.com
  *  roam@FreeBSD.org
  *  trevor
  *  will

With hat:	portmgr
2022-07-20 16:23:32 +02:00

48 lines
1.4 KiB
Makefile

PORTNAME= glcapsviewer
DISTVERSION= g20190521
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= danfe@FreeBSD.org
COMMENT= OpenGL hardware capability viewer
LICENSE= LGPL3
LIB_DEPENDS= libglfw.so:graphics/glfw
USE_GITHUB= yes
GH_ACCOUNT= SaschaWillems
GH_PROJECT= glCapsViewer
GH_TAGNAME= 26e160c
USES= cmake compiler:c++11-lang gl qt:5 xorg
USE_GL= gl glew glu
USE_QT= buildtools_build qmake_build core gui network widgets
USE_XORG= ice sm x11 xext
PLIST_FILES= bin/glcapsviewer ${DATADIR_REL}/capslist.xml \
${DATADIR_REL}/enumList.xml
post-patch:
@${REINPLACE_CMD} -e '/target_link_libraries/s,glfw ,,' \
${WRKSRC}/CMakeLists.txt
@${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} \
${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.xml ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>