mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.4 KiB
Tcl
50 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
|
|
|
|
name g2
|
|
version 0.72
|
|
revision 3
|
|
categories graphics
|
|
platforms darwin
|
|
maintainers ryandesign
|
|
license LGPL-2.1+
|
|
|
|
description simple 2-D graphics library
|
|
|
|
long_description ${name} is a ${description}.
|
|
|
|
homepage https://g2gl.sourceforge.io
|
|
master_sites sourceforge:project/g2gl/${name}/${name}-${version}
|
|
|
|
checksums sha1 38a6865a7456ef12dda5aae8085f9347e8c77e4c \
|
|
rmd160 946a2752a7cfe90c6594953c383d710b2b80561c
|
|
|
|
depends_lib port:gd2 \
|
|
port:xorg-libX11 \
|
|
port:xorg-libXext
|
|
|
|
patchfiles patch-configure.in.diff \
|
|
patch-Makefile.in.diff
|
|
|
|
use_autoreconf yes
|
|
|
|
configure.universal_args-delete --disable-dependency-tracking
|
|
|
|
build.target-append shared
|
|
|
|
post-destroot {
|
|
set docdir ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -d ${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} \
|
|
CHANGES \
|
|
COPYING \
|
|
README \
|
|
TODO \
|
|
${docdir}
|
|
}
|
|
|
|
livecheck.type sourceforge
|
|
livecheck.name g2gl
|
|
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
|