forked from Lainports/freebsd-ports
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
can be simplified to:
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
the latter version also doesn't make any assumptions about the
path of including Makefile
PR: ports/57152
Submitted by: Roman Neuhauser <neuhauser@bellavista.cz>
31 lines
812 B
Makefile
31 lines
812 B
Makefile
# 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 "${PORTSDIR}/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>
|