1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/pear-HTTP_Upload/Makefile
Edwin Groothuis 1446aabaab pear-* ports: simplify path to devel/pear-PEAR/Makefile.common
.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>
2003-12-28 09:11:28 +00:00

32 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>