1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/subsonic/pkg-plist
Rene Ladan 08e4118191 - Do not depend on deprecated www/tomcat41 and clean up other tomcat
dependency detections [1]
- Uppdate to 4.5 [2]

PR:		ports/159776 [1]
PR:		ports/159781 [2]
Submitted by:	Jason Helfman [jhelfman experts-exchange.com] [1]
Submitted by:	maintainer [2]
Approved by:	maintainer [1]
2011-08-18 18:35:56 +00:00

9 lines
620 B
Plaintext

%%WEBAPPS%%/subsonic.war
@unexec if [ -d %%WEBAPPS%%/subsonic ]; then rm -Rf %%WEBAPPS%%/subsonic; fi
@unexec test -d %%SUBSONIC_HOME%% && (echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %%SUBSONIC_HOME%% and its contents manually.")
@exec mkdir -p %%SUBSONIC_HOME%%
%%TRANSCODING%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%SUBSONIC_HOME%%/transcode/ffmpeg
%%TRANSCODING%%@exec ln -sf %%PREFIX%%/bin/lame %%SUBSONIC_HOME%%/transcode/lame
%%TRANSCODING%%@unexec rm -f %%SUBSONIC_HOME%%/transcode/ffmpeg
%%TRANSCODING%%@unexec rm -f %%SUBSONIC_HOME%%/transcode/lame