Files

34 lines
1.1 KiB
Tcl
Raw Permalink Normal View History

2022-07-31 12:48:13 +03:00
# -*- 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 github 1.0
2024-12-13 15:26:54 +08:00
PortGroup makefile 1.0
2022-07-31 12:48:13 +03:00
2026-02-26 20:23:43 +01:00
github.setup manugarg pacparser 1.5.0 v
2022-07-31 12:48:13 +03:00
github.tarball_from archive
revision 0
categories net devel
license LGPL-3
maintainers {judaew @judaew} openmaintainer
description A library to parse proxy auto-config (PAC) files
long_description {*}${description}
homepage https://pacparser.manugarg.com
2026-02-26 20:23:43 +01:00
checksums rmd160 332dcf751586ef7038f257ed0021576830191c06 \
sha256 2601a0e58e87caba6f4866aebefde2f5a44a277c05f01f17541ba8857c7a566e \
size 586068
2022-07-31 12:48:13 +03:00
worksrcdir ${worksrcpath}/src
2024-12-13 15:26:54 +08:00
2026-02-26 20:23:43 +01:00
build.args-append VERSION=v${version}
2024-12-13 15:26:54 +08:00
# https://github.com/manugarg/pacparser/issues/211
if {[string match *gcc-4.* ${configure.compiler}]} {
build.cmd-prepend \
CFLAGS=-std=c99
}
2022-07-31 12:48:13 +03:00
destroot.args PREFIX=${destroot}${prefix}