You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
775a161a7f
The configure script auto-enables -std=gnu23 when it's available, but the header that defines the boolean constants doesn't support C23, breaking compilation. Drop the unnecessary platforms line as suggested by 'port lint'.
49 lines
1.5 KiB
Tcl
49 lines
1.5 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 plotutils
|
|
epoch 1
|
|
version 2.6
|
|
revision 5
|
|
conflicts bsd-plotutils
|
|
categories graphics
|
|
maintainers {snc @nerdling} openmaintainer
|
|
license GPL-3+
|
|
|
|
description GNU plotting utilities
|
|
long_description \
|
|
GNU plotting utilities package, including GNU libplot: a thread-safe \
|
|
function library for exporting two-dimensional vector graphics files, \
|
|
and for displaying animated vector graphics under the X Window System.
|
|
|
|
homepage https://www.gnu.org/software/plotutils/
|
|
master_sites gnu
|
|
|
|
depends_lib port:libpng \
|
|
port:m4 \
|
|
port:zlib
|
|
|
|
checksums rmd160 2a32244eb20e00b82a0742dde7b690f688e82774 \
|
|
sha256 4f4222820f97ca08c7ea707e4c53e5a3556af4d8f1ab51e0da6ff1627ff433ab \
|
|
size 3657562
|
|
|
|
patchfiles patch-configure.ac.diff \
|
|
patch-libpng-1.5.diff \
|
|
patch-sys-defines.h-c23-compat.diff
|
|
|
|
use_autoreconf yes
|
|
|
|
configure.args --without-x \
|
|
--enable-libplotter \
|
|
--mandir=${prefix}/share/man \
|
|
--infodir=${prefix}/share/info
|
|
|
|
variant x11 {
|
|
depends_lib-append port:xorg-libXaw
|
|
configure.args-delete --without-x
|
|
configure.args-append --with-x
|
|
}
|
|
|
|
use_parallel_build yes
|