freebsd-ports/www/subsonic/pkg-plist-chunk
Thomas Zander b56b9bd3a2 - Update to upstream version 5.0
- Add LICENSE
- Introduce OPTIONS for
  - Selecting application server
  - Selecting transcoders

PR:		194326
Submitted by:	freebsd@cooltrainer.org (maintainer)
2014-10-26 07:17:17 +00:00

10 lines
756 B
Text

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