diff options
author | bapt <bapt@FreeBSD.org> | 2015-06-20 21:46:22 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-06-20 21:46:22 +0800 |
commit | 033015c17f75c282e2aad3812c10e1397714a9fb (patch) | |
tree | 05c8b9943b170401afefc6639f5a1a242a3e28d4 /audio | |
parent | 4f4a39321bb4a1f0959017aadffe890dcc670b0d (diff) | |
download | freebsd-ports-gnome-033015c17f75c282e2aad3812c10e1397714a9fb.tar.gz freebsd-ports-gnome-033015c17f75c282e2aad3812c10e1397714a9fb.tar.zst freebsd-ports-gnome-033015c17f75c282e2aad3812c10e1397714a9fb.zip |
Cleanup plist and fix plist when DOCS option is on
Diffstat (limited to 'audio')
-rw-r--r-- | audio/shoutcast/Makefile | 1 | ||||
-rw-r--r-- | audio/shoutcast/pkg-plist | 26 |
2 files changed, 7 insertions, 20 deletions
diff --git a/audio/shoutcast/Makefile b/audio/shoutcast/Makefile index 9af11811f02a..373aa030597a 100644 --- a/audio/shoutcast/Makefile +++ b/audio/shoutcast/Makefile @@ -3,6 +3,7 @@ PORTNAME= shoutcast PORTVERSION= 2.4.7.256 +PORTREVISION= 1 CATEGORIES= audio net MASTER_SITES= http://download.nullsoft.com/shoutcast/tools/ DISTNAME= sc_serv2_bsd-latest diff --git a/audio/shoutcast/pkg-plist b/audio/shoutcast/pkg-plist index 8f5b750dfb98..e5068355cf0b 100644 --- a/audio/shoutcast/pkg-plist +++ b/audio/shoutcast/pkg-plist @@ -1,9 +1,8 @@ sbin/sc_serv - %%PORTDOCS%%%%DOCSDIR%%/DNAS_Server_Changelog.html %%PORTDOCS%%%%DOCSDIR%%/Readme_DNAS_Server.html +%%PORTDOCS%%%%DOCSDIR%%/cacert.pem %%PORTDOCS%%%%DOCSDIR%%/tos.txt - %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server_XML_Responses.html %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server_Authhash_Management.html %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server.html @@ -11,7 +10,6 @@ sbin/sc_serv %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server_JSON_Responses.html %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server_CDN_Management.html %%PORTDOCS%%%%DOCSDIR%%/docs/DNAS_Server_Source_Support.html - %%PORTDOCS%%%%DOCSDIR%%/docs/res/Linux_Console.png %%PORTDOCS%%%%DOCSDIR%%/docs/res/Output_tag_configuration_error.png %%PORTDOCS%%%%DOCSDIR%%/docs/res/Stream_Ban_List_Page.png @@ -43,32 +41,20 @@ sbin/sc_serv %%PORTDOCS%%%%DOCSDIR%%/docs/res/Editing.png %%PORTDOCS%%%%DOCSDIR%%/docs/res/Console_Windows.png %%PORTDOCS%%%%DOCSDIR%%/docs/res/View_Source_Connection_Details.png - %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_basic.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_public.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_relay.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sc_serv_simple.conf - %%SERVERSETUP%%@dirrm %%WWWDIR%%/setup %%SERVERSETUP%%@dirrm %%WWWDIR%% %%SERVERSETUP%%%%WWWDIR%%/setup.sh %%SERVERSETUP%%%%WWWDIR%%/setup/setup.js %%SERVERSETUP%%%%WWWDIR%%/setup/setup.html %%SERVERSETUP%%%%WWWDIR%%/setup/setup.txt - -@dirrmtry %%ETCDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/res -%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% - +@dir %%ETCDIR%% +@dir %%SHOUTCASTDIR%%/control +@dir %%SHOUTCASTDIR%%/logs +@dir %%SHOUTCASTDIR%% +@dir %%SHOUTCASTLDIR%% @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 - -@dirrm %%SHOUTCASTDIR%%/control -@dirrm %%SHOUTCASTDIR%%/logs |