mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Update to 0.12.0
PR: ports/156650 Submitted by: Chris Rees <utisoft at gmail dot com>
This commit is contained in:
parent
7e61244260
commit
dbbf9d90e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273234
4 changed files with 12 additions and 32 deletions
|
@ -6,32 +6,21 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= phpmp
|
PORTNAME= phpmp
|
||||||
PORTVERSION= 0.11.0
|
PORTVERSION= 0.12.0
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= SF/musicpd/phpMp/${PORTVERSION}
|
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/
|
||||||
DISTNAME= phpMp-${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= kevlo@FreeBSD.org
|
MAINTAINER= kevlo@FreeBSD.org
|
||||||
COMMENT= A web interface for music player daemon
|
COMMENT= A web interface for music player daemon
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
NO_BUILD= YES
|
NO_BUILD= YES
|
||||||
USE_PHP= pcre sockets
|
USE_PHP= pcre sockets
|
||||||
|
|
||||||
PHPMP?= www/phpmp
|
PHPMP?= ${WWWDIR_REL}
|
||||||
PLIST_SUB+= PHPMP=${PHPMP}
|
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:
|
do-install:
|
||||||
@${MKDIR} ${PREFIX}/${PHPMP}
|
@${MKDIR} ${PREFIX}/${PHPMP}
|
||||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP}
|
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP}
|
||||||
|
@ -39,6 +28,7 @@ do-install:
|
||||||
@${CHMOD} -R 755 ${PREFIX}/${PHPMP}
|
@${CHMOD} -R 755 ${PREFIX}/${PHPMP}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@${CAT} ${PKGMESSAGE}
|
||||||
@if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \
|
@if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \
|
||||||
${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \
|
${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \
|
||||||
${PREFIX}/${PHPMP}/config.php ; \
|
${PREFIX}/${PHPMP}/config.php ; \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (phpMp-0.11.0.tar.gz) = 7f2a168632839f2c476275a1cff41ea3295b9ebbe85e4e3cc691609258ab0103
|
SHA256 (phpmp-0.12.0.tar.gz) = f03c1f9329b503650bf521acc39a3c1b575df59ac1e2a393d40e8b7e5a1d2909
|
||||||
SIZE (phpMp-0.11.0.tar.gz) = 20886
|
SIZE (phpmp-0.12.0.tar.gz) = 45156
|
||||||
|
|
1
www/phpmp/pkg-message
Normal file
1
www/phpmp/pkg-message
Normal file
|
@ -0,0 +1 @@
|
||||||
|
For those updating from <=0.11.0, please see the UPDATING entry from 20110425
|
|
@ -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
|
@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
|
%%PHPMP%%/config.php.sample
|
||||||
@exec if [ ! -f %D/%%PHPMP%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
|
@exec if [ ! -f %D/%%PHPMP%%/config.php ] ; then cp -p %D/%F %B/config.php; fi
|
||||||
%%PHPMP%%/find.php
|
%%PHPMP%%/features.php
|
||||||
%%PHPMP%%/find_body.php
|
|
||||||
%%PHPMP%%/index.php
|
%%PHPMP%%/index.php
|
||||||
%%PHPMP%%/info.php
|
%%PHPMP%%/info.php
|
||||||
%%PHPMP%%/info2html.php
|
%%PHPMP%%/info2html.php
|
||||||
%%PHPMP%%/login.php
|
|
||||||
%%PHPMP%%/login_body.php
|
|
||||||
%%PHPMP%%/main.php
|
%%PHPMP%%/main.php
|
||||||
%%PHPMP%%/main_body.php
|
%%PHPMP%%/mpd-favicon.ico
|
||||||
%%PHPMP%%/playlist.php
|
%%PHPMP%%/playlist.php
|
||||||
%%PHPMP%%/playlist_body.php
|
|
||||||
%%PHPMP%%/search.php
|
|
||||||
%%PHPMP%%/search_body.php
|
|
||||||
%%PHPMP%%/sort.php
|
%%PHPMP%%/sort.php
|
||||||
%%PHPMP%%/stats.php
|
|
||||||
%%PHPMP%%/stats_body.php
|
|
||||||
%%PHPMP%%/stream.php
|
|
||||||
%%PHPMP%%/stream_body.php
|
|
||||||
%%PHPMP%%/theme.php
|
%%PHPMP%%/theme.php
|
||||||
%%PHPMP%%/transparent.gif
|
%%PHPMP%%/transparent.gif
|
||||||
%%PHPMP%%/update.php
|
|
||||||
%%PHPMP%%/update_body.php
|
|
||||||
%%PHPMP%%/utils.php
|
%%PHPMP%%/utils.php
|
||||||
|
%%PHPMP%%/xml-parse.php
|
||||||
@dirrmtry %%PHPMP%%
|
@dirrmtry %%PHPMP%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue