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>
25 lines
590 B
Makefile
25 lines
590 B
Makefile
# Ports collection makefile for: pear-HTTP
|
|
# Date created: 13 December 2003
|
|
# Whom: Alex Miller (<asm@asm.kiev.ua>)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTTP
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= www devel pear
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PEAR miscellaneous HTTP utilities
|
|
|
|
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"
|
|
|
|
do-install:
|
|
@${CP} ${WRKSRC}/HTTP.php ${PEARDIR}
|
|
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/HTTP.php
|
|
|
|
.include <bsd.port.post.mk>
|