22 lines
608 B
Bash
22 lines
608 B
Bash
# Template file for 'pod2mdoc'
|
|
pkgname=pod2mdoc
|
|
version=0.2
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
short_desc="Convert perl documentation (POD) into man pages (mdoc)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="ISC"
|
|
homepage="http://mdocml.bsd.lv/pod2mdoc"
|
|
distfiles="http://mdocml.bsd.lv/pod2mdoc/snapshots/${pkgname}-${version}.tgz"
|
|
checksum=74f1fe31f61dc876ae0a5703ecdd73c23c3810f76db7db90182521f4ea26b0fc
|
|
|
|
post_extract() {
|
|
sed -i 's,<sys/time.h>,<time.h>,g' pod2mdoc.c
|
|
}
|
|
do_install() {
|
|
vbin pod2mdoc
|
|
vman pod2mdoc.1
|
|
sed -n '/Copyright/,/CONNECTION\./p' pod2mdoc.c > LICENSE
|
|
vlicense LICENSE
|
|
}
|