Skip to content
Permalink
Browse files

-added missing 'platforms' key

-replaced 'system' cmds with 'file' equivalent

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4189 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 10, 2003
1 parent e128278 commit 0422e2827960af983d805e393aa36a68898cecf8
Showing with 12 additions and 8 deletions.
  1. +12 −8 mail/sendemail/Portfile
@@ -1,9 +1,10 @@
# $Id: Portfile,v 1.1 2003/10/29 18:09:51 mww Exp $
# $Id: Portfile,v 1.2 2003/12/10 21:41:20 mww Exp $
PortSystem 1.0
name sendemail
version 1.42
categories mail
maintainers mww@opendarwin.org
platforms darwin freebsd
description lightweight, completly command line based SMTP email agent
long_description sendemail is a lightweight, completly command line \
based, SMTP email agent. If you have the need to send email \
@@ -20,13 +21,16 @@ checksums md5 38464b9c9b017b65a3ed7bad8eeaddbc

depends_run bin:perl:perl5.8

configure { reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
${worksrcpath}/sendEmail }
configure {
reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
${worksrcpath}/sendEmail
}

build {}

destroot { system "cd ${worksrcpath} \
&& install -m 755 sendEmail ${destroot}${prefix}/bin/sendemail \
&& install -m 755 -d ${destroot}${prefix}/share/doc/sendemail \
&& install -m 644 CHANGELOG README TODO \
${destroot}${prefix}/share/doc/sendemail/" }
destroot {
file mkdir ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/sendEmail ${destroot}${prefix}/bin/sendemail
file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/README \
${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
}

0 comments on commit 0422e28

Please sign in to comment.
You can’t perform that action at this time.