freebsd-ports/sysutils/est/pkg-plist
Colin Percival 8968cce14b A much-needed cleanup of the portification of this code:
Remove PREFIX/modules directory if it doesn't contain other modules;
  use static plist (new file: pkg-plist).
  Switch to a modern USE_RC_SUBR (moved file: files/est.sh --> files/est.in).
  Silence install here and there.
  Fix IGNORE message.
  IGNORE if no kernel sources installed.
  Bump PORTREVISION for plist change.

PR:		ports/93985
Submitted by:	itetcu (who really needs to get a commit bit soon...)
2006-03-18 00:32:05 +00:00

3 lines
190 B
Text

modules/est.ko
@unexec MOD_FNR=`ls -1 %D/modules |wc -l`; MOD_L=`ls -1 %D/modules |grep linker.hints|wc -l`; if [ "${MOD_FNR}" -eq "${MOD_L}" ]; then rm -rf %D/modules; fi
@dirrmtry modules