summaryrefslogtreecommitdiff
path: root/www/kplaylist/Makefile
blob: aa48f8550963b7cb029a0207653b578b5bd66398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$

PORTNAME=	kplaylist
PORTVERSION=	1.8.505
PORTREVISION?=	2
CATEGORIES=	www multimedia
MASTER_SITES=	http://www.kplaylist.net/archive.php?file=1.8.505&tar=true/
DISTNAME=	${PORTNAME}.${PORTVERSION}

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	PHP based music database

BROKEN_powerpc64=	Does not build

RUN_DEPENDS=	lame:audio/lame \
		oggenc:audio/vorbis-tools \
		zip:archivers/zip

USE_PHP=	curl mysql session iconv

WRKSRC=		${WRKDIR}
NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	"@(${WWWOWN},${WWWGRP},) %%WWWDIR%%/index.php" \
		"@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%"

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
	@cd ${WRKSRC} && ${CP} kplaylist.1.8.505.php \
		${STAGEDIR}${WWWDIR}/index.php

.include <bsd.port.mk>