Permalink
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (50 sloc) 2.54 KB
# -*- 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 eperl
version 2.2.14
revision 6
maintainers {cal @neverpanic} openmaintainer
categories perl www
platforms darwin
homepage http://www.ossp.org/pkg/tool/eperl/
license {Artistic-1 GPL}
description Embedded Perl Language
long_description ePerl interprets an ASCII file bristled with Perl 5 \
program statements by evaluating the Perl 5 code while \
passing through the plain ASCII data.
master_sites http://distcache.freebsd.org/ports-distfiles/
checksums rmd160 708c72d4a2bc494e9b3e953aa13efd0fe7933b98 \
sha256 a9add61ed59e3030027e0ff5c00195627d7309be48162c9b315f57d27730a295
perl5.require_variant yes
perl5.conflict_variants yes
perl5.branches 5.26
perl5.create_variants ${perl5.branches}
use_configure yes
## Most patches are copied from the Debian distribution, which uses patch
## files with a prefix
patch.pre_args -p1
patchfiles 0001-copyright-updates.diff \
0002-eperl_2.2.14-15.2.diff \
0003-fix-spelling-errors.diff \
0004-document-double-shebang.diff \
0005-fix-preprocessor-comments-to-behave-as-documented.diff \
0006-fix-format-string-error-in-perl-stderr.diff \
0007-debian-2.2.14-16-modified-and-added-shtool.diff \
0008-wml-2.0.11-merge.diff \
0009-configure-use-correct-perl.diff \
0010-redhat-with-thr.diff
post-patch {
# this file is added by 0007-*.diff, but must be executable
file attributes "${worksrcpath}/etc/shtool" -permissions +x
}
configure.args --enable-debug \
--with-perl=${perl5.bin} \
CC=\"${configure.cc} [get_canonical_archflags cc]\" \
LD=\"${configure.cc} [get_canonical_archflags ld]\"
destroot.destdir prefix=${destroot}${prefix} \
mandir=${destroot}${prefix}/share/man/man1
test.run yes
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {class="heavy">(\d+(?:\.\d+)*)<}