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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup perl5 1.0 |
---|
5 | |
---|
6 | name p5-eperl |
---|
7 | version 2.2.16 |
---|
8 | revision 1 |
---|
9 | |
---|
10 | platforms darwin |
---|
11 | categories www perl |
---|
12 | maintainers nomaintainer |
---|
13 | |
---|
14 | description Embedded Perl Language |
---|
15 | long_description ePerl interprets an ASCII file bristled with Perl 5 \ |
---|
16 | program statements by evaluating the Perl 5 code while \ |
---|
17 | passing through the plain ASCII data. |
---|
18 | |
---|
19 | homepage http://www.ossp.org/pkg/tool/eperl/ |
---|
20 | |
---|
21 | distname eperl-2.2.14 |
---|
22 | |
---|
23 | master_sites ftp://ftp.ossp.org/pkg/tool/eperl/ \ |
---|
24 | http://ftp.ossp.org/pkg/tool/eperl/ \ |
---|
25 | ftp://freebsd.isc.org/pub/FreeBSD/ports/distfiles/ |
---|
26 | |
---|
27 | checksums md5 0213580b6711b5312d1873f9732ae8d6 \ |
---|
28 | sha1 cf05566602d93019a38638a6958739a1e192ead7 |
---|
29 | |
---|
30 | use_configure yes |
---|
31 | |
---|
32 | ## Most patches are copied from the Debian distribution, which uses patch |
---|
33 | ## files with a prefix |
---|
34 | ## |
---|
35 | patch.pre_args -p1 |
---|
36 | |
---|
37 | patchfiles copyright-updates.diff \ |
---|
38 | eperl_2.2.14-15.2.diff \ |
---|
39 | fix-spelling-errors.diff \ |
---|
40 | document-double-shebang.diff \ |
---|
41 | fix-preprocessor-comments-to-behave-as-documented.diff \ |
---|
42 | fix-format-string-error-in-perl-stderr.diff \ |
---|
43 | \ |
---|
44 | debian-2.2.14-16.diff \ |
---|
45 | wml-2.0.11-merge.diff \ |
---|
46 | \ |
---|
47 | patch-etc_shtool |
---|
48 | |
---|
49 | configure.args --with-perl=${perl5.bin} \ |
---|
50 | --enable-debug |
---|
51 | |
---|
52 | destroot.destdir prefix=${destroot}${prefix} \ |
---|
53 | mandir=${destroot}${prefix}/share/man |
---|
54 | |
---|
55 | test.run yes |
---|
56 | |
---|
57 | pre-build { |
---|
58 | if ![exec ${perl5.bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] { |
---|
59 | ui_error "${name} requires perl5 to be installed with the +shared variant." |
---|
60 | return -code error "perl5 must be +shared" |
---|
61 | } |
---|
62 | } |
---|