You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
43 lines
1.3 KiB
Tcl
43 lines
1.3 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 string_replace
|
|
version 0.1
|
|
categories textproc perl
|
|
license GPL-2
|
|
platforms any
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
description searches and replaces a text string or regular expression
|
|
long_description This tool was designed to go through text files (meaning: \
|
|
text, html, php, etc.) to search for and replace a \
|
|
particular text string (or regular expression).
|
|
|
|
# original homepage, master_sites are dead
|
|
# only available via MacPorts distfile mirrors
|
|
|
|
homepage http://freecode.com/projects/string_replace
|
|
master_sites macports_distfiles:${name}
|
|
checksums md5 9b855c0b4d0514965f0b175b982fa768
|
|
use_bzip2 yes
|
|
|
|
depends_run bin:perl:perl5
|
|
|
|
patch {
|
|
reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
|
|
${workpath}/${name}/${name}.pl
|
|
}
|
|
|
|
use_configure no
|
|
|
|
build {}
|
|
|
|
destroot {
|
|
xinstall -m 755 ${workpath}/${name}/${name}.pl \
|
|
${destroot}${prefix}/bin/${name}
|
|
}
|
|
|
|
# no updates expected
|
|
livecheck.type none
|