From 9ef90a8e4343b3be4ef3991691d2fc83ae6a3bc5 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 15 Jul 2004 23:14:29 +0000 Subject: [PATCH] Autogen the share/ PLIST. --- sysutils/lsof/Makefile | 7 +++++++ sysutils/lsof/pkg-plist | 18 ------------------ 2 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 sysutils/lsof/pkg-plist diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 6de1d62e42da..61601934b7b2 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -43,6 +43,7 @@ CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= -n freebsd CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS?= /usr/src/sys +PLIST_FILES= sbin/lsof MAN8= lsof.8 SRCBALL_NAME= ${DISTNAME:S/_W$//}_src @@ -97,4 +98,10 @@ pre-configure: .endif .endif +post-install: + cd ${PREFIX} && \ + ${FIND} -s share/lsof -type f -o -type l >>${TMPPLIST} ;\ + ${FIND} -d share/lsof -type d \ + | ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST} + .include diff --git a/sysutils/lsof/pkg-plist b/sysutils/lsof/pkg-plist deleted file mode 100644 index 0f32ce8e547a..000000000000 --- a/sysutils/lsof/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -@comment $FreeBSD$ -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 -@dirrm share/lsof