You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.7 KiB
Tcl
50 lines
1.7 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
|
|
PortGroup perl5 1.0
|
|
|
|
name ccdiff
|
|
perl5.branches 5.34
|
|
perl5.setup App-ccdiff 0.34 ../by-authors/id/H/HM/HMBRAND/
|
|
revision 0
|
|
checksums rmd160 705ac02a424848b2a9e61bb5de31a5b75a834e14 \
|
|
sha256 8f5c15ba8b07c8622c3efb16feebe4a5a75cb04c2a52de6e8e23338ae531dd16 \
|
|
size 36235
|
|
|
|
categories textproc
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license Artistic-2
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
|
|
|
description Colored Character Diff
|
|
|
|
long_description {*}${description}
|
|
|
|
extract.suffix .tgz
|
|
|
|
depends_build-append \
|
|
port:p${perl5.major}-extutils-makemaker
|
|
|
|
depends_lib-append \
|
|
port:p${perl5.major}-algorithm-diff \
|
|
port:p${perl5.major}-getopt-long \
|
|
port:p${perl5.major}-scalar-list-utils \
|
|
port:p${perl5.major}-term-ansicolor
|
|
|
|
depends_test-append \
|
|
port:p${perl5.major}-capture-tiny \
|
|
port:p${perl5.major}-test-simple
|
|
|
|
post-patch {
|
|
reinplace "1s|^#!.*perl|#!${perl5.bin}|g" ${worksrcpath}/Files/git-ccdiff
|
|
}
|
|
|
|
perl5.link_binaries_suffix
|
|
|
|
post-destroot {
|
|
xinstall ${worksrcpath}/Files/git-ccdiff ${destroot}${prefix}/bin
|
|
ln -s ${prefix}/share/perl${perl5.major}/man/man1/ccdiff.1pm ${destroot}${prefix}/share/man/man1
|
|
ln -s ${prefix}/share/perl${perl5.major}/man/man3/App::ccdiff.3pm ${destroot}${prefix}/share/man/man3
|
|
}
|