void-packages/srcpkgs/mdoclint/template

28 lines
915 B
Bash

# Template file for 'mdoclint'
pkgname=mdoclint
version=1.39
revision=1
create_wrksrc=yes
build_style=fetch
depends="perl"
short_desc="Verify man page correctness"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
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.58&content-type=text/plain>mdoclint
http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/pkgsrc/textproc/mdoclint/files/mdoclint.1?rev=1.13&content-type=text/plain>mdoclint.1"
checksum="8f8ee13ece9255ff3e80b78b7fbccb1a3f28c3c7bcba513e84c783c82af65f8a
c392be588b9a5d6c98732925b2ddad625dbb56cc112cbff7e902a34419d641b0"
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
}