0a060a4471
- Fix shebang for fetchmailconf.py [1] - Convert POP2 knob into an option [1] - Use option helpers [1] - Fix staging of documentation and X11 files [1] - Simplify post-install target and pkg-plist - Replace USE_GMAKE and USE_XZ by their USES equivalents - Do not display pkg-message in post-install - Do not create /var/run/fetchmail in pkg-plist PR: ports/185572 [1] Submitted by: Takefu <takefu@airport.fm> Approved by: maintainer timeout (<chalpin@cs.wisc.edu>)
13 lines
203 B
Bash
13 lines
203 B
Bash
#!/bin/sh
|
|
|
|
if [ x$2 != xPOST-DEINSTALL ]; then
|
|
exit
|
|
fi
|
|
|
|
if [ -f /var/run/%%PORTNAME%%/fetchmail.pid ] ; then
|
|
/bin/rm -f /var/run/%%PORTNAME%%/fetchmail.pid
|
|
fi
|
|
|
|
/bin/rmdir /var/run/%%PORTNAME%%
|
|
|
|
exit
|