summaryrefslogtreecommitdiffstats
path: root/www/encode-explorer/Makefile
blob: 9bf24a5690c191b88aae4a68eaf785df5af7fb87 (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
# Created by: Frank Wall <fw@moov.de>
# $FreeBSD$

PORTNAME=	encode
PORTVERSION=	6.3
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}/${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION}
PKGNAMESUFFIX=	-explorer
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}_${PORTVERSION}

MAINTAINER=	fw@moov.de
COMMENT=	PHP script to browse, create folders, upload files etc

USES=		php:web zip
NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS

WRKSRC=		${WRKDIR}/${DISTNAME}
WWWDIR=		${PREFIX}/www/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}

.include <bsd.port.options.mk>

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
	${INSTALL} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${CP} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud