mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Utilize devel/pear-PEAR/Makefile.common.
PR: ports/65511 Submitted by: Roman Neuhauser Approved by: mat (mentor).
This commit is contained in:
parent
db2eb50c79
commit
6f4354d282
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107079
@ -7,29 +7,20 @@
|
||||
|
||||
PORTNAME= HTTP_Header
|
||||
PORTVERSION= 0.1.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www devel pear
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= PEAR OO-Interface to modify HTTP-Headers easily
|
||||
|
||||
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
||||
${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP
|
||||
BUILD_DEPENDS= ${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
CATEGORY= HTTP
|
||||
FILES= Header.php Header/Cache.php
|
||||
EXAMPLES= Header_Cache.php
|
||||
_EXAMPLESDIR= docs
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/docs/Header_Cache.php ${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PEARDIR}/Header
|
||||
@${CP} ${WRKSRC}/Header/Cache.php ${PEARDIR}/Header
|
||||
@${CP} ${WRKSRC}/Header.php ${PEARDIR}
|
||||
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Header.php
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Header
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -2,4 +2,4 @@ This class provides methods to set/modify HTTP-Headers.
|
||||
To abstract common things, like caching etc. some sub classes are
|
||||
provided that handle special cases (i.e. HTTP_Header_Cache).
|
||||
|
||||
WWW: http://pear.php.net/package-info.php?package=HTTP_Header
|
||||
WWW: http://pear.php.net/package/HTTP_Header/
|
||||
|
@ -1,7 +0,0 @@
|
||||
%%PEARDIR%%/Header.php
|
||||
%%PEARDIR%%/Header/Cache.php
|
||||
%%PKGREGDIR%%/package.xml
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Header_Cache.php
|
||||
@dirrm %%PEARDIR%%/Header
|
||||
@dirrm %%PKGREGDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user