8968cce14b
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...)
4 lines
190 B
Plaintext
4 lines
190 B
Plaintext
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
|