mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.8 KiB
Tcl
52 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
|
|
PortGroup github 1.0
|
|
PortGroup perl5 1.0
|
|
|
|
perl5.require_variant yes
|
|
perl5.conflict_variants yes
|
|
perl5.branches 5.28 5.30 5.32 5.34
|
|
perl5.default_branch 5.34
|
|
perl5.create_variants ${perl5.branches}
|
|
|
|
github.setup rodnaph pearl 0.2.0 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 5
|
|
categories devel macports
|
|
maintainers nomaintainer
|
|
license MIT
|
|
description Helper for maintaining Macports Portfiles
|
|
long_description \
|
|
Pearl is a super-simple script to make it a little bit easier to update your \
|
|
Macports Portfile for your project. It just automates the diffing of your \
|
|
current Portfile with the release version from the Macports SVN repository.
|
|
|
|
depends_lib port:p${perl5.major}-ipc-run \
|
|
port:p${perl5.major}-getopt-long-descriptive \
|
|
port:p${perl5.major}-yaml \
|
|
port:p${perl5.major}-lwp-useragent-determined
|
|
|
|
checksums rmd160 8fdfc7cf23bf0b8788a919f26b8ffd2dd7e8c17b \
|
|
sha256 3f12562e2b37bebf0e5ead2d2d3fdeb4faa3a34055fd3dd08cb7f0114bac0582 \
|
|
size 3845
|
|
|
|
use_configure no
|
|
supported_archs noarch
|
|
platforms any
|
|
|
|
post-patch {
|
|
reinplace "s&#!/usr/bin/env perl&#!${perl5.bin}&" ${worksrcpath}/pearl
|
|
}
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/pearl \
|
|
${destroot}${prefix}/bin/pearl
|
|
xinstall -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|