1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/x11-clocks/glclock/Makefile
Tobias C. Berner 8426708b4e x11-clocks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alexey Dokuchaev <danfe@regency.nsu.ru>
  *  Anders Nordby <anders@fix.no>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Brian Handy <handy@physics.montana.edu>
  *  Chris D. Faulhaber <jedgar@FreeBSD.org>
  *  Chris Piazza <cpiazza@FreeBSD.org>
  *  David Leonard <leonard@dstc.edu.au>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  FURUSAWA, Kazuhisa <kazu@jp.freebsd.org>
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Harold Gutch <logix@foobar.franken.de>
  *  Hendrik Scholz <hscholz@raisdorf.net>
  *  J Han <hjh@best.com>
  *  KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
  *  Kris Kennaway <kris@FreeBSD.org>
  *  Lars Koeller <lkoeller@cc.fh-lippe.de>
  *  Martin Wilke (miwi@FreeBSD.org)
  *  Nobuhiro Yasutomi
  *  Patrick Li <pat@databits.net> et al
  *  Per Otterstr=F6m <pelle@fukt.bth.se>
  *  Randall Hopper <aa8vb@ipass.net>
  *  Rich Neswold <rneswold@mcs.net>
  *  Roman Bogorodskiy <bogorodskiy@inbox.ru>
  *  Ulrich Spoerlein <uspoerlein@gmail.com>
  *  Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
  *  desmo@bandwidth.org
  *  gpalmer
  *  gurkan@phys.ethz.ch
  *  obrien@NUXI.com

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

50 lines
1.4 KiB
Makefile

PORTNAME= glclock
DISTVERSION= 6.0b6.0
PORTREVISION= 7
CATEGORIES= x11-clocks
MASTER_SITES= http://www.daionet.gr.jp/~masa/archives/
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL spinning pocket watch demo and benchmark utility
USES= gl xorg
USE_XORG= xi xmu xext x11
USE_GL= gl glu glut
MAKEFILE= makefile
CFLAGS+= -DIMAGE_PATH="\\\"${PREFIX}/lib/X11/glclock/\\\""
PLIST_FILES= ${PROGRAMS:S,^,bin/,} ${SCRIPTS:S,^,bin/,} \
${TEXTURES:S,^,lib/X11/glclock/,}
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
OPTIMIZED_CFLAGS_CFLAGS=\
-O3 -fexpensive-optimizations -ffast-math \
-fomit-frame-pointer
PROGRAMS= glclock glclockmark
SCRIPTS= chromeclock chromeclock_L crystalclock crystalclock_L \
glclock_L glclockmark_ALL marbleclock marbleclock_L \
metalclock metalclock_L mwclock mwclock_L woodclock \
woodclock_L
TEXTURES= light.ppm marble.ppm sky.ppm wood.ppm detail.pgm \
detail2.pgm detail_b.pgm filter.pgm
post-patch:
@${REINPLACE_CMD} -e \
's|g\+\+|$${CXX}| ; \
s|-O2|$${CXXFLAGS}| ; \
s|/usr/X11R6|$${LOCALBASE}|' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|glPolygonOffsetEXT|glPolygonOffset|' \
${WRKSRC}/GLextensions.cpp
do-install:
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/glclock
${INSTALL_DATA} ${TEXTURES:S,^,${WRKSRC}/,} \
${STAGEDIR}${PREFIX}/lib/X11/glclock
.include <bsd.port.mk>