mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
55 lines
1.9 KiB
Tcl
55 lines
1.9 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 pxlib
|
|
version 0.6.8
|
|
revision 0
|
|
set branch [join [lrange [split ${version} .] 0 1] .]
|
|
categories databases
|
|
maintainers nomaintainer
|
|
license GPL-2
|
|
|
|
description A utility for reading and writing Paradox DB files.
|
|
|
|
long_description {*}${description}
|
|
|
|
homepage https://pxlib.sourceforge.net
|
|
master_sites sourceforge:project/${name}/${name}/${version}/
|
|
|
|
# Ignore 2019-11-22 stealth update which mainly regenerated the autotools
|
|
# files with a newer version of automake. We already autoreconf in the port.
|
|
livecheck.url https://sourceforge.net/projects/${name}/rss
|
|
livecheck.regex /${name}-(\\d+(?:\\.\\d+)*)
|
|
master_sites macports_distfiles
|
|
|
|
checksums rmd160 1bf8b7e14c92f47058aebd1a675b34a76b720660 \
|
|
sha256 4d0a84a36d46a81ff8c629c4a00de3e7b6e7327d5d56c0a2ae44c1ea715ae63f \
|
|
size 532895
|
|
|
|
depends_build port:autoconf \
|
|
port:automake \
|
|
port:gettext \
|
|
port:intltool \
|
|
port:libtool \
|
|
path:bin/pkg-config:pkgconfig
|
|
|
|
depends_lib port:libgsf \
|
|
port:libiconv
|
|
|
|
# reconfigure using autogen.sh for intltool 0.51 compatibility
|
|
|
|
patchfiles patch-autogen.sh.diff \
|
|
patch-configure.ac.diff
|
|
|
|
configure.cmd ./autogen.sh && ./configure
|
|
|
|
configure.args --disable-silent-rules \
|
|
--enable-option-checking \
|
|
--with-gsf=${prefix}
|
|
|
|
if {[string match *clang* ${configure.compiler}]} {
|
|
configure.cflags-append \
|
|
-Wno-error=incompatible-function-pointer-types
|
|
}
|