From 7d20fd4f5c27440b92b2ce952cb70c843be06609 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 4 Jan 2016 17:34:09 +0100 Subject: [PATCH] New package: mdoclint-1.36 --- srcpkgs/mdoclint/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/mdoclint/template diff --git a/srcpkgs/mdoclint/template b/srcpkgs/mdoclint/template new file mode 100644 index 00000000000..4b609774102 --- /dev/null +++ b/srcpkgs/mdoclint/template @@ -0,0 +1,27 @@ +# Template file for 'mdoclint' +pkgname=mdoclint +version=1.36 +revision=1 +create_wrksrc=yes +build_style=fetch +depends="perl" +short_desc="Verify man page correctness" +maintainer="Christian Neukirchen " +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.55&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="e3b8d83d7db48b80595df1d51d74fc7913003ba1217c403d8a0f78bcdab43669 + c392be588b9a5d6c98732925b2ddad625dbb56cc112cbff7e902a34419d641b0" +noarch=yes + +post_extract() { + sed -i 's,@PERL5@,/usr/bin/perl,' mdoclint + sed '1d; /^$/q' LICENSE +} + +do_install() { + vbin mdoclint + vman mdoclint.1 + vlicense LICENSE +}