mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -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
|
||||
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 ; \
|
||||
|
|
|
@ -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
|
||||
|
|
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
|
||||
%%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%%
|
||||
|
|
Loading…
Add table
Reference in a new issue