diff --git a/srcpkgs/lsof/lsof.rshlibs b/srcpkgs/lsof/lsof.rshlibs new file mode 100644 index 0000000000..631aa1dda4 --- /dev/null +++ b/srcpkgs/lsof/lsof.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/lsof/template b/srcpkgs/lsof/template index 93e812c53c..3864122521 100644 --- a/srcpkgs/lsof/template +++ b/srcpkgs/lsof/template @@ -1,23 +1,21 @@ # Template file for 'lsof' pkgname=lsof -version=4.84 +version=4.86 revision=1 wrksrc=lsof_${version} -distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2" -depends="glibc" +makedepends="which perl" short_desc="LiSt Open Files" maintainer="Juan RP " homepage="http://people.freebsd.org/~abe/" license="lsof" -checksum=20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725 +distfiles="ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_${version}.tar.bz2" +checksum=13e52b8e87dddf1b2e219004e315d755c659217ce6ffc6a5f1102969f1c4dd0c long_desc=" Lsof is a UNIX-specific tool. Its name stands for LiSt Open Files, and it does just that. It lists information about files that are open by the processes running on a UNIX system." - -do_build() -{ +do_build() { # We have to do this dance because the real distfile is # included in the .tar.bz2 archive. tar xf ${wrksrc}/lsof_${version}_src.tar -C ${wrksrc} @@ -28,12 +26,9 @@ do_build() make ${makejobs} } -do_install() -{ +do_install() { cd ${wrksrc}/lsof_${version}_src - install -Dm755 lsof ${DESTDIR}/usr/sbin/lsof - install -Dm644 lsof.8 \ - ${DESTDIR}/usr/share/man/man8/lsof.8 - install -Dm644 ${FILESDIR}/license.txt \ - ${DESTDIR}/usr/share/licenses/${pkgname}/license.txt + vinstall lsof 755 usr/sbin + vinstall lsof.8 644 usr/share/man/man8 + vinstall ${FILESDIR}/license.txt 644 usr/share/licenses/lsof }