1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/audio/shoutcast/pkg-plist
Michael Scheidell d38db057de - Bump PORTREVISION
- Use USE_DOS2UNIX to remove ^M from documentation
- Add support for the bundled configuration builder
- Move default logging directory to PORTNAME specific one
- Move example files to EXAMPLESDIR and make optional
- Remove dsp_sc plugin documentation
- Reinstate required_dirs variable from rc.d script
- Remove log file creation from rc.d script (no longer required)
- Display clean-up warning on port deinstall (based on bsd.port.mk)

PR:		ports/164591
Submitted by:	Jarrod Sayers <jarrod@downtools.com.au> maintainer
Approved by:	gabor (mentor)
2012-02-02 08:34:27 +00:00

46 lines
2.5 KiB
Plaintext

@exec mkdir -p %%SHOUTCASTDIR%% %%SHOUTCASTLDIR%% %%ETCDIR%%
@exec chmod 0750 %%SHOUTCASTDIR%% %%SHOUTCASTLDIR%%
@exec chown %%SHOUTCASTUSER%%:%%SHOUTCASTGROUP%% %%SHOUTCASTDIR%%
@exec chown %%SHOUTCASTUSER%%:wheel %%SHOUTCASTLDIR%%
sbin/sc_serv
%%PORTDOCS%%%%DOCSDIR%%/changes.txt
%%PORTDOCS%%%%DOCSDIR%%/getting_started.txt
%%PORTDOCS%%%%DOCSDIR%%/sc_serv2.txt
%%PORTDOCS%%%%DOCSDIR%%/sc_serv2_authhash.txt
%%PORTDOCS%%%%DOCSDIR%%/sc_serv2_xml_responses.txt
%%PORTDOCS%%%%DOCSDIR%%/shoutcast_system_overview.txt
%%PORTDOCS%%%%DOCSDIR%%/tos.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crossdomain.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_basic.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_debug.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_public.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_relay.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_simple.conf
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/config_builder.html
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/db/config_builder_help.txt
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/js/config_builder.js
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/js/downloadify.js
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/js/mootools-1.3.js
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/js/swfobject.js
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/collapse.png
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/config_builder.css
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/dl_button.png
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/downloadify.swf
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/expand.png
%%CONFIG_BUILDER%%%%WWWDIR%%/config_builder/res/sc_logo.png
@dirrmtry %%ETCDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%CONFIG_BUILDER%%@dirrm %%WWWDIR%%/config_builder/db
%%CONFIG_BUILDER%%@dirrm %%WWWDIR%%/config_builder/js
%%CONFIG_BUILDER%%@dirrm %%WWWDIR%%/config_builder/res
%%CONFIG_BUILDER%%@dirrm %%WWWDIR%%/config_builder
%%CONFIG_BUILDER%%@dirrm %%WWWDIR%%
@unexec if [ ! -s %%SHOUTCASTDIR%%/sc_serv.ban ]; then rm -f %%SHOUTCASTDIR%%/sc_serv.ban; fi
@unexec if [ ! -s %%SHOUTCASTDIR%%/sc_serv.rip ]; then rm -f %%SHOUTCASTDIR%%/sc_serv.rip; fi
@unexec rmdir %%SHOUTCASTDIR%% 2>/dev/null || true
@unexec rmdir %%SHOUTCASTLDIR%% 2>/dev/null || true
@unexec if [ -d %D/%%ETCDIR%% ]; then echo "==> You should manually remove the "\""%D/%%ETCDIR%%"\"" directory."; fi
@unexec if [ -d %%SHOUTCASTDIR%% ]; then echo "==> You should manually remove the "\""%%SHOUTCASTDIR%%"\"" directory."; fi
@unexec if [ -d %%SHOUTCASTLDIR%% ]; then echo "==> You should manually remove the "\""%%SHOUTCASTLDIR%%"\"" directory."; fi