summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2018-12-09 09:33:36 +0000
committertriaxx <triaxx@pkgsrc.org>2018-12-09 09:33:36 +0000
commitb36812df1c8621603140cc2be9865b483d268713 (patch)
tree4d868ffb7ac8646032e15ca08bae78ea681f13ba /sysutils/lsof
parentcb65bcfd3bca117db2d1954d7f7851da905bf742 (diff)
downloadpkgsrc-b36812df1c8621603140cc2be9865b483d268713.tar.gz
lsof: bump revision
* fix a warning in installation process * install scripts in share/examples * install doc in share/doc
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile19
-rw-r--r--sysutils/lsof/PLIST46
2 files changed, 44 insertions, 21 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 6c12e369f17..6e7b5d86fd2 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.131 2018/12/09 07:14:03 triaxx Exp $
+# $NetBSD: Makefile,v 1.132 2018/12/09 09:33:36 triaxx Exp $
DISTNAME= lsof_4.91
PKGNAME= ${DISTNAME:S/_/-/}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
MASTER_SITES+= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
@@ -32,6 +33,7 @@ REPLACE_PERL+= scripts/sort_res.perl5 scripts/count_pf.perl5 \
scripts/idrlogin.perl5 scripts/count_pf.perl \
scripts/idrlogin.perl scripts/list_fields.perl \
scripts/watch_a_file.perl
+REPLACE_AWK+= scripts/xusers.awk
USE_TOOLS+= digest perl:run
TEST_DIRS= tests
@@ -53,7 +55,7 @@ REAL_GROUP= sys
MAKE_ENV+= CPPFLAGS=
CONFIGURE_ENV+= LSOF_RANLIB="/bin/true"
.endif
-INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
+INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 share/doc/lsof share/examples/lsof
post-extract:
.if ${OPSYS} == "FreeBSD"
@@ -73,15 +75,22 @@ post-extract:
${TOOLS_PATH.bsdtar} -xf ${SRCBALL_NAME}.tar
cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1
-INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 share/lsof
SPECIAL_PERMS+= ${PREFIX}/sbin/lsof ${REAL_ROOT_USER} ${REAL_GROUP} 2755
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsof ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/lsof.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/lsof.8
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${DESTDIR}${PREFIX}/share/lsof
- ${CHMOD} 0444 ${DESTDIR}${PREFIX}/share/lsof/00*
+ ${INSTALL_DATA} ${WRKSRC}/00* ${DESTDIR}${PREFIX}/share/doc/lsof
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/lsof
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.perl* \
+ ${DESTDIR}${PREFIX}/share/examples/lsof
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/xusers.awk \
+ ${DESTDIR}${PREFIX}/share/examples/lsof
+ ${INSTALL_DATA} ${WRKSRC}/scripts/list_fields.awk \
+ ${DESTDIR}${PREFIX}/share/examples/lsof
+ ${INSTALL_DATA} ${WRKSRC}/scripts/00* \
+ ${DESTDIR}${PREFIX}/share/examples/lsof
opt:
.for dir in ${TEST_DIRS}
diff --git a/sysutils/lsof/PLIST b/sysutils/lsof/PLIST
index 8ece08e5604..53336bf96e6 100644
--- a/sysutils/lsof/PLIST
+++ b/sysutils/lsof/PLIST
@@ -1,18 +1,32 @@
-@comment $NetBSD: PLIST,v 1.6 2018/01/01 22:29:57 rillig Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/12/09 09:33:36 triaxx Exp $
man/man8/lsof.8
sbin/lsof
-share/lsof/00MANIFEST
-share/lsof/00README
-share/lsof/big_brother.perl5
-share/lsof/count_pf.perl
-share/lsof/count_pf.perl5
-share/lsof/identd.perl5
-share/lsof/idrlogin.perl
-share/lsof/idrlogin.perl5
-share/lsof/list_NULf.perl5
-share/lsof/list_fields.awk
-share/lsof/list_fields.perl
-share/lsof/shared.perl5
-share/lsof/sort_res.perl5
-share/lsof/watch_a_file.perl
-share/lsof/xusers.awk
+share/doc/lsof/00.README.FIRST
+share/doc/lsof/00CREDITS
+share/doc/lsof/00DCACHE
+share/doc/lsof/00DIALECTS
+share/doc/lsof/00DIST
+share/doc/lsof/00FAQ
+share/doc/lsof/00LSOF-L
+share/doc/lsof/00MANIFEST
+share/doc/lsof/00PORTING
+share/doc/lsof/00QUICKSTART
+share/doc/lsof/00README
+share/doc/lsof/00TEST
+share/doc/lsof/00XCONFIG
+share/doc/lsof/ChangeLog
+share/examples/lsof/00MANIFEST
+share/examples/lsof/00README
+share/examples/lsof/big_brother.perl5
+share/examples/lsof/count_pf.perl
+share/examples/lsof/count_pf.perl5
+share/examples/lsof/identd.perl5
+share/examples/lsof/idrlogin.perl
+share/examples/lsof/idrlogin.perl5
+share/examples/lsof/list_NULf.perl5
+share/examples/lsof/list_fields.awk
+share/examples/lsof/list_fields.perl
+share/examples/lsof/shared.perl5
+share/examples/lsof/sort_res.perl5
+share/examples/lsof/watch_a_file.perl
+share/examples/lsof/xusers.awk