freebsd-ports/www/madsonic/pkg-plist-chunk
Steve Wills 699965fd0f www/madsonic: Update to 6.2.9040
PR:		223181
Submitted by:	Hiroki Tagato <tagattie@yandex.com>
Reported by:	Allison Nicole Reid <Allison Nicole Reid> (maintainer)
2017-10-30 17:04:08 +00:00

10 lines
788 B
Text

@postunexec if [ -d %%WEBAPPS%%/madsonic ]; then rm -rf %%WEBAPPS%%/madsonic; fi
@postunexec 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%%@postexec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/ffmpeg
%%FLAC%%@postexec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/flac
%%LAME%%@postexec ln -sf %%PREFIX%%/bin/lame %%MADSONIC_HOME%%/transcode/lame
%%FFMPEG%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/ffmpeg
%%FLAC%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/flac
%%LAME%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/lame
@dir %%MADSONIC_HOME%%/transcode
@dir %%MADSONIC_HOME%%