head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.57;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2011.04.27.01.50.57;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	2011.04.24.06.07.10;	author kevlo;	state Exp;
branches;
next	1.2;

1.2
date	2008.06.10.01.23.30;	author kevlo;	state Exp;
branches;
next	1.1;

1.1
date	2007.02.27.03.45.35;	author kevlo;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	phpmp
# Date created:		2007-02-27
# Whom:			Kevin Lo <kevlo@@FreeBSD.org>
#
# $FreeBSD: head/www/phpmp/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	phpmp
PORTVERSION=	0.12.0
CATEGORIES=	www
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?=		${WWWDIR_REL}
PLIST_SUB+=	PHPMP=${PHPMP}

do-install:
	@@${MKDIR} ${PREFIX}/${PHPMP}
	@@${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPMP}
	@@${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 ; \
	fi

.include <bsd.port.mk>
@


1.4
log
@Update to 0.12.0

PR:	ports/156650
Submitted by:	Chris Rees <utisoft at gmail dot com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Remove deprecated PHP clauses & fix for fastcgi; from Chris Rees
- Update MASTER_SITES
PR:	ports/156574
@
text
@d9 1
a9 2
PORTVERSION=	0.11.0
PORTREVISION=	2
d11 1
a11 2
MASTER_SITES=	SF/musicpd/phpMp/${PORTVERSION}
DISTNAME=	phpMp-${PORTVERSION}
d16 2
d21 1
a21 1
PHPMP?=		www/phpmp
a23 11
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

d31 1
@


1.2
log
@- Add the pcre extension for PHP
- Bump PORTREVISION

PR: ports/124283
Submitted by: Tobias Rehbein <tobias.rehbein at web dot de>
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 1
a12 1
MASTER_SITES=	http://mercury.chem.pitt.edu/~shank/
d24 11
d41 6
@


1.1
log
@Initial import of phpmp 0.11.0.
phpMp is a web interface for Music Player Daemon (MPD) which allows
remote control of MPD. For example, to control a housewide stereo system
from multiple locations.
@
text
@d10 1
d19 1
a19 1
USE_PHP=	sockets
@

