aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2011-04-27 01:50:58 +0000
committerKevin Lo <kevlo@FreeBSD.org>2011-04-27 01:50:58 +0000
commitdbbf9d90e27f1585e8fa792adeca155e7039227a (patch)
treeb8a4034c33a774b2fc8b6397c7216771a79fc9b6
parent7e61244260fcd41032138b34906d987b121646ae (diff)
downloadports-dbbf9d90e27f1585e8fa792adeca155e7039227a.tar.gz
ports-dbbf9d90e27f1585e8fa792adeca155e7039227a.zip
Update to 0.12.0
PR: ports/156650 Submitted by: Chris Rees <utisoft at gmail dot com>
Notes
Notes: svn path=/head/; revision=273234
-rw-r--r--www/phpmp/Makefile22
-rw-r--r--www/phpmp/distinfo4
-rw-r--r--www/phpmp/pkg-message1
-rw-r--r--www/phpmp/pkg-plist17
4 files changed, 12 insertions, 32 deletions
diff --git a/www/phpmp/Makefile b/www/phpmp/Makefile
index 0b6c380f5595..364c2f9ac824 100644
--- a/www/phpmp/Makefile
+++ b/www/phpmp/Makefile
@@ -6,32 +6,21 @@
#
PORTNAME= phpmp
-PORTVERSION= 0.11.0
-PORTREVISION= 2
+PORTVERSION= 0.12.0
CATEGORIES= www
-MASTER_SITES= SF/musicpd/phpMp/${PORTVERSION}
-DISTNAME= phpMp-${PORTVERSION}
+MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= A web interface for music player daemon
+LICENSE= GPLv2
+
NO_BUILD= YES
USE_PHP= pcre sockets
-PHPMP?= www/phpmp
+PHPMP?= ${WWWDIR_REL}
PLIST_SUB+= PHPMP=${PHPMP}
-post-patch:
-# Replace deprecated HTTP_(GET|POST)_VARS with _(GET|POST)
- @${REINPLACE_CMD} -e 's#HTTP\(_[^_]*\)_VARS#\1#' \
- ${WRKSRC}/playlist.php ${WRKSRC}/main_body.php
-# Stop clobbering config.php & disable volume control by default;
-# incremental volume changes no longer supported by musicpd
- @${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample
- @${REINPLACE_CMD} -e 's/^\(.display_volume[^"]*"\)yes/\1no/' \
- ${WRKSRC}/config.php.sample
- @${RM} ${WRKSRC}/*.bak
-
do-install:
@${MKDIR} ${PREFIX}/${PHPMP}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP}
@@ -39,6 +28,7 @@ do-install:
@${CHMOD} -R 755 ${PREFIX}/${PHPMP}
post-install:
+ @${CAT} ${PKGMESSAGE}
@if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \
${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \
${PREFIX}/${PHPMP}/config.php ; \
diff --git a/www/phpmp/distinfo b/www/phpmp/distinfo
index 9b54241edeb4..11de3f68a157 100644
--- a/www/phpmp/distinfo
+++ b/www/phpmp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (phpMp-0.11.0.tar.gz) = 7f2a168632839f2c476275a1cff41ea3295b9ebbe85e4e3cc691609258ab0103
-SIZE (phpMp-0.11.0.tar.gz) = 20886
+SHA256 (phpmp-0.12.0.tar.gz) = f03c1f9329b503650bf521acc39a3c1b575df59ac1e2a393d40e8b7e5a1d2909
+SIZE (phpmp-0.12.0.tar.gz) = 45156
diff --git a/www/phpmp/pkg-message b/www/phpmp/pkg-message
new file mode 100644
index 000000000000..e86c34b198a5
--- /dev/null
+++ b/www/phpmp/pkg-message
@@ -0,0 +1 @@
+For those updating from <=0.11.0, please see the UPDATING entry from 20110425
diff --git a/www/phpmp/pkg-plist b/www/phpmp/pkg-plist
index a6e21ae8a4f7..94ba08bf83cb 100644
--- a/www/phpmp/pkg-plist
+++ b/www/phpmp/pkg-plist
@@ -6,27 +6,16 @@
@unexec if cmp -s %D/%%PHPMP%%/config.php.sample %D/%%PHPMP%%/config.php; then rm -f %D/%%PHPMP%%/config.php; fi
%%PHPMP%%/config.php.sample
@exec if [ ! -f %D/%%PHPMP%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
-%%PHPMP%%/find.php
-%%PHPMP%%/find_body.php
+%%PHPMP%%/features.php
%%PHPMP%%/index.php
%%PHPMP%%/info.php
%%PHPMP%%/info2html.php
-%%PHPMP%%/login.php
-%%PHPMP%%/login_body.php
%%PHPMP%%/main.php
-%%PHPMP%%/main_body.php
+%%PHPMP%%/mpd-favicon.ico
%%PHPMP%%/playlist.php
-%%PHPMP%%/playlist_body.php
-%%PHPMP%%/search.php
-%%PHPMP%%/search_body.php
%%PHPMP%%/sort.php
-%%PHPMP%%/stats.php
-%%PHPMP%%/stats_body.php
-%%PHPMP%%/stream.php
-%%PHPMP%%/stream_body.php
%%PHPMP%%/theme.php
%%PHPMP%%/transparent.gif
-%%PHPMP%%/update.php
-%%PHPMP%%/update_body.php
%%PHPMP%%/utils.php
+%%PHPMP%%/xml-parse.php
@dirrmtry %%PHPMP%%