freebsd-ports/www/madsonic/pkg-plist-chunk
Rodrigo Osorio cbe630e956 Add new port www/madsonic, a network media streamer
Madsonic is a fork of Subsonic, offering more features
and mobile client access without the subscription fee.

PR:		ports/186860
Submitted by:	Nicole Reid <root@cooltrainer.org>
2014-11-26 09:26:43 +00:00

10 lines
756 B
Text

@unexec if [ -d %%WEBAPPS%%/madsonic ]; then rm -rf %%WEBAPPS%%/madsonic; fi
@unexec test -d %%MADSONIC_HOME%% && (echo "Configuration information and database saved." && echo "If you you are permanently uninstalling this package" && echo "please remove %%MADSONIC_HOME%% and its contents manually.")
%%FFMPEG%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/ffmpeg
%%FLAC%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/flac
%%LAME%%@exec ln -sf %%PREFIX%%/bin/lame %%MADSONIC_HOME%%/transcode/lame
%%FFMPEG%%@unexec rm -f %%MADSONIC_HOME%%/transcode/ffmpeg
%%FLAC%%@unexec rm -f %%MADSONIC_HOME%%/transcode/flac
%%LAME%%@unexec rm -f %%MADSONIC_HOME%%/transcode/lame
@dir %%MADSONIC_HOME%%/transcode
@dir %%MADSONIC_HOME%%