Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/694

Submitted by:   self

new port, sendemail (NOT sendmail)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3851 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 29, 2003
1 parent a992fb5 commit 152f2b7d8aa84d2e0613e20309ec602322c11cf4
Showing with 32 additions and 0 deletions.
  1. +32 −0 mail/sendemail/Portfile
@@ -0,0 +1,32 @@
# $Id: Portfile,v 1.1 2003/10/29 18:09:51 mww Exp $
PortSystem 1.0
name sendemail
version 1.42
categories mail
maintainers mww@opendarwin.org
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 \
from a command prompt this tool is perfect. It was designed to \
be used in bash scripts, Perl programs, and web sites, but it \
is also quite useful in many other contexts. sendemail is \
written in Perl and is unique in that it requires no special \
modules.

homepage http://caspian.dotconf.net/menu/Software/SendEmail/
master_sites ${homepage}
distname sendEmail-v${version}
checksums md5 38464b9c9b017b65a3ed7bad8eeaddbc

depends_run bin:perl:perl5.8

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/" }

0 comments on commit 152f2b7

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