source: trunk/dports/textproc/string_replace/Portfile

Last change on this file was 136982, checked in by devans@…, 2 years ago

string_replace: original homepage, master_sites are dead, only available via MacPorts distfile mirrors, no updates expected, disable livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 136982 2015-06-01 21:51:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                string_replace
7version             0.1
8categories          textproc perl
9license             GPL-2
10platforms           darwin
11supported_archs     noarch
12maintainers         nomaintainer
13description         searches and replaces a text string or regular expression
14long_description    This tool was designed to go through text files (meaning: \
15                    text, html, php, etc.) to search for and replace a \
16                    particular text string (or regular expression).
17
18# original homepage, master_sites are dead
19# only available via MacPorts distfile mirrors
20
21homepage            http://freecode.com/projects/string_replace
22master_sites        macports_distfiles:${name}
23checksums           md5 9b855c0b4d0514965f0b175b982fa768
24use_bzip2           yes
25
26depends_run         bin:perl:perl5
27
28patch   {
29    reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
30        ${workpath}/${name}/${name}.pl
31}
32
33use_configure       no
34
35build               {}
36
37destroot    {
38    xinstall -m 755 ${workpath}/${name}/${name}.pl \
39        ${destroot}${prefix}/bin/${name}
40}
41
42# no updates expected
43livecheck.type      none
Note: See TracBrowser for help on using the repository browser.