Merge pull request #694 from allan/t

New package: swaks-20130209.0
This commit is contained in:
Juan RP 2014-12-09 09:47:01 +01:00
commit ff60cd7271
1 changed files with 26 additions and 0 deletions

26
srcpkgs/swaks/template Normal file
View File

@ -0,0 +1,26 @@
# Template file for 'swaks'
pkgname="swaks"
version="20130209.0"
revision=1
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
}