source: trunk/dports/sysutils/parallel/Portfile

Last change on this file was 154256, checked in by ciserlohn@…, 11 months ago

parallel: update to version 20161022

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 154256 2016-10-25 12:52:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                parallel
7version             20161022
8categories          sysutils
9platforms           darwin
10license             GPL-3+
11maintainers         ciserlohn
12supported_archs     noarch
13
14description         GNU parallel: Shell command parallelization utility
15
16long_description    Build and execute shell command lines from standard input in parallel
17
18homepage            http://savannah.gnu.org/projects/parallel
19master_sites        gnu
20use_bzip2           yes
21
22depends_lib         port:perl5
23
24checksums           rmd160  bf540eb22308b27cf08a069b19c6d56ad4656c88 \
25                    sha256  5937b9d8e31af482b6eac174a981aa849fbcd4ef93b14c0c345be1522113e8d7
26
27post-patch {
28    set perl_bin ${prefix}/bin/perl
29    set src_dir ${worksrcpath}/src/
30    foreach f [list ${src_dir}niceload ${src_dir}sql ${src_dir}sem \
31                   ${src_dir}parallel.pod ${src_dir}niceload.pod \
32                   ${src_dir}parallel ${src_dir}sem.pod ] {
33        reinplace "s|/usr/bin/perl|${perl_bin}|" ${f}
34    }
35    foreach f [list ${src_dir}parallel ${src_dir}parallel.1 \
36                   ${src_dir}parallel.pod ${src_dir}parallel.html \
37                   ${src_dir}sql ${src_dir}sem ${worksrcpath}/NEWS] {
38        reinplace "s|/usr/bin/parallel|${prefix}/bin/parallel|" ${f}
39    }
40}
41
42build.env-append    HOME=${workpath} SHELL=sh
Note: See TracBrowser for help on using the repository browser.