Skip to content

Commit

Permalink
New package: swaks-20130209.0
Browse files Browse the repository at this point in the history
  • Loading branch information
allan committed Dec 9, 2014
1 parent aa302ce commit 176d965
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions srcpkgs/swaks/template
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 176d965

Please sign in to comment.