2014-12-08 16:50:39 +00:00
|
|
|
# Template file for 'swaks'
|
|
|
|
pkgname="swaks"
|
|
|
|
version="20130209.0"
|
2014-12-09 08:49:32 +00:00
|
|
|
revision=2
|
|
|
|
noarch=yes
|
2014-12-08 16:50:39 +00:00
|
|
|
short_desc="Swiss Army Knife for SMTP"
|
|
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
|
|
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
|
|
|
|
}
|