void-packages/srcpkgs/mdoclint/template
2017-06-09 13:06:31 +02:00

27 lines
901 B
Bash

# Template file for 'mdoclint'
pkgname=mdoclint
version=1.55
revision=1
create_wrksrc=yes
build_style=fetch
depends="perl"
short_desc="Verify man page correctness"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="2-clause-BSD"
homepage="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/textproc/mdoclint/"
distfiles="http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/textproc/mdoclint/files/mdoclint?rev=1.77&content-type=text/plain>mdoclint
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/textproc/mdoclint/files/mdoclint.1?rev=1.23&content-type=text/plain>mdoclint.1"
checksum="551451f7de6558a81a7988be3db8fcf7c3aec6808f9618d9677697ab8eb82ed4
0fc127b02cea0387495019429370eb84348c58b247f10ac44c29eba94583ce45"
noarch=yes
post_extract() {
sed -i 's,@PERL5@,/usr/bin/perl,' mdoclint
sed '1d; /^$/q' <mdoclint >LICENSE
}
do_install() {
vbin mdoclint
vman mdoclint.1
vlicense LICENSE
}