lsof: add homepage, license, install in correct dir.

This commit is contained in:
Juan RP 2011-06-20 11:23:59 +02:00
parent d712879ee7
commit d54074c7d5

View File

@ -1,12 +1,14 @@
# Template file for 'lsof' # Template file for 'lsof'
pkgname=lsof pkgname=lsof
version=4.84 version=4.84
revision=1
wrksrc=lsof_${version} wrksrc=lsof_${version}
#build_wrksrc=lsof_${version}_src
distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2" distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2"
build_style=custom-install build_style=custom-install
short_desc="LiSt Open Files" short_desc="LiSt Open Files"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://people.freebsd.org/~abe/"
license="lsof"
checksum=20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725 checksum=20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725
long_desc=" long_desc="
Lsof is a UNIX-specific tool. Its name stands for LiSt Open Files, and it does Lsof is a UNIX-specific tool. Its name stands for LiSt Open Files, and it does
@ -30,9 +32,9 @@ do_build()
do_install() do_install()
{ {
cd ${wrksrc}/lsof_${version}_src cd ${wrksrc}/lsof_${version}_src
install -D -m755 lsof ${DESTDIR}/usr/sbin/lsof install -Dm755 lsof ${DESTDIR}/usr/sbin/lsof
install -D -m644 lsof.8 \ install -Dm644 lsof.8 \
${DESTDIR}/usr/share/man/man8/lsof.8 ${DESTDIR}/usr/share/man/man8/lsof.8
install -D -m644 ${FILESDIR}/license.txt \ install -Dm644 ${FILESDIR}/license.txt \
${DESTDIR}/usr/share/licenses/lsof_license.txt ${DESTDIR}/usr/share/licenses/${pkgname}/license.txt
} }