source: trunk/dports/perl/p5-mecab/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4PortGroup       perl5 1.0
5perl5.setup     MeCab 0.96
6
7platforms       darwin
8maintainers     gmail.com:rsky0711
9description     a Perl module for MeCab
10long_description ${description}
11
12homepage        http://mecab.sourceforge.net/
13master_sites    sourceforge:mecab
14distname        mecab-perl-${version}
15checksums       md5    ad3ab1ecd917cd765ec54009fcc62c0c \
16                sha1   79eec3056690343a6286106cb3aedd7770208c43 \
17                rmd160 2c614b1d78afd1cf783a8ad00af6e549d316f4b6
18
19categories-append   textproc japanese
20depends_lib-append  port:mecab
21
22platform darwin 7 {
23    build.env       MACOSX_DEPLOYMENT_TARGET=10.3
24}
25
26platform darwin 8 {
27    build.env       MACOSX_DEPLOYMENT_TARGET=10.4
28}
29
30post-extract {
31    reinplace s|\#!/usr/bin/perl|\#!${perl5.bin}|g \
32        ${worksrcpath}/test.pl
33}
34
35post-destroot {
36    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
37    xinstall -m 644 ${worksrcpath}/test.pl \
38        ${destroot}${prefix}/share/doc/${name}/examples
39}
Note: See TracBrowser for help on using the repository browser.