Files

46 lines
1.4 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup qmake 1.0
categories graphics
platforms darwin
name GLC_lib
version 2.2.0
revision 0
license LGPL-2.1
maintainers nomaintainer
description C++ class library that enables the quick creation of an OpenGL application based on QT4.
long_description ${description}
homepage http://www.glc-lib.net/
master_sites sourceforge:glc-lib
distname ${name}_src_${version}
checksums rmd160 00e563a89133cac97588cca36b5bf14c2594bab2 \
sha256 2e5c79513f17c9b4f6a9204e3d7f7590363efbd856e7c37d3d4d37734bbbaad9 \
size 4585670
use_zip yes
worksrcdir glc_lib
#https://trac.macports.org/ticket/47418
patchfiles-append patch-glc_lib-glu-header-fixes.diff
patchfiles-append patch-GLC_lib.pro.diff
post-patch {
reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/GLC_lib.pro
}
configure.args GLC_lib.pro
# https://github.com/laumaya/GLC_lib/issues/30
compiler.cxx_standard 1998
configure.cxxflags-append -std=c++98
livecheck.type regex
livecheck.url http://sourceforge.net/api/file/index/project-id/153150/mtime/desc/rss?path=%2Fglc-lib
livecheck.regex ${name}_(\\d+(\\.\\d+)+)