summaryrefslogtreecommitdiffstats
path: root/www/pear-HTTP_Upload/Makefile
blob: bb76d459f8207a22151978b16a0e83232ef6226a (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
# Ports collection makefile for:  pear-HTTP_Upload
# Date created:			  13 December 2003
# Whom:				  Alex Miller (<asm@asm.kiev.ua>)
#
# $FreeBSD$
#

PORTNAME=	HTTP_Upload
PORTVERSION=	0.8.1
CATEGORIES=	www devel pear

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Easy and secure managment of files submitted via HTML Forms

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
RUN_DEPENDS=	${BUILD_DEPENDS}

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/docs/upload_example.php ${DOCSDIR}
	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif

do-install:
	@${CP} ${WRKSRC}/Upload.php ${PEARDIR}
	@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Upload.php

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