From 176d9655429188aac10cd229827f99b72982ab10 Mon Sep 17 00:00:00 2001 From: allan Date: Mon, 8 Dec 2014 17:50:39 +0100 Subject: [PATCH] New package: swaks-20130209.0 --- srcpkgs/swaks/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/swaks/template diff --git a/srcpkgs/swaks/template b/srcpkgs/swaks/template new file mode 100644 index 00000000000000..8668923a209e15 --- /dev/null +++ b/srcpkgs/swaks/template @@ -0,0 +1,26 @@ +# Template file for 'swaks' +pkgname="swaks" +version="20130209.0" +revision=1 +short_desc="Swiss Army Knife for SMTP" +maintainer="allan " +license="GPL-2" +homepage="http://www.jetmore.org/john/code/swaks/" +distfiles="http://www.jetmore.org/john/code/$pkgname/files/$pkgname-$version.tar.gz" +checksum="0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c" +hostmakedepends="perl ed" +depends="perl" + +pre_install() { + ed >/dev/null doc/ref.pod <<-EDIT + ,s/^=item \([0-9]\+\)$/=item C<\1>/ + w + q + EDIT + pod2man doc/ref.pod $pkgname.1 +} + +do_install() { + vbin swaks + vman $pkgname.1 +}