mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Change jpeg port to install in a location that does not conflict with libjpeg-turbo or mozjpeg. Change all jpeg dependencies to use libjpeg-turbo by default while allowing mozjpeg as a drop-in replacement. Rev bump dependent ports due to differing library version. Fixes: https://trac.macports.org/ticket/38907
54 lines
1.8 KiB
Tcl
54 lines
1.8 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 testdisk
|
|
version 7.1
|
|
revision 1
|
|
categories sysutils
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
description TestDisk is a powerful free data recovery utility.
|
|
long_description \
|
|
TestDisk was primarily designed to help recover \
|
|
lost partitions and/or make non-booting disks bootable \
|
|
again when these symptoms are caused by faulty \
|
|
software, certain types of viruses or human error \
|
|
(such as accidentally erasing your Partition Table). \
|
|
Partition table recovery using TestDisk is really easy.
|
|
installs_libs no
|
|
|
|
depends_build port:ncurses
|
|
|
|
depends_lib port:libcomerr \
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:ntfs-3g \
|
|
port:zlib \
|
|
port:libewf
|
|
|
|
# e2fsprogs is not universal
|
|
universal_variant no
|
|
|
|
use_bzip2 yes
|
|
|
|
homepage http://www.cgsecurity.org/wiki/TestDisk
|
|
master_sites http://www.cgsecurity.org/
|
|
|
|
checksums rmd160 481f3ec24e3d2ed3b15a8efb038abf88db9bc55d \
|
|
sha256 1413c47569e48c5b22653b943d48136cb228abcbd6f03da109c4df63382190fe \
|
|
size 742006
|
|
|
|
configure.cppflags-append -I${prefix}/include/ossp
|
|
|
|
configure.args-append --with-ncurses-lib=${prefix}/lib \
|
|
--with-ncurses-includes=${prefix}/include/ncurses \
|
|
--with-iconv-lib=${prefix}/lib \
|
|
--with-iconv-includes=${prefix}/include
|
|
|
|
# needed for testdisk 6.11's configure script
|
|
configure.cflags-append -fnested-functions
|
|
|
|
livecheck.type regex
|
|
livecheck.regex {href="/wiki/TestDisk_Download".*>([0-9.]+)<}
|