New port: pear-HTTP_Header: PEAR OO-Interface to modify HTTP-Headers easily
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). PR: ports/60198 Submitted by: Alex Miller <asm@asm.kiev.ua>
This commit is contained in:
parent
678d38df0c
commit
f02a187e7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96742
5 changed files with 49 additions and 0 deletions
|
@ -443,6 +443,7 @@
|
|||
SUBDIR += peacock
|
||||
SUBDIR += pear-APC
|
||||
SUBDIR += pear-HTTP
|
||||
SUBDIR += pear-HTTP_Header
|
||||
SUBDIR += pgdriver
|
||||
SUBDIR += pglogd
|
||||
SUBDIR += photo_gallery
|
||||
|
|
35
www/pear-HTTP_Header/Makefile
Normal file
35
www/pear-HTTP_Header/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Ports collection makefile for: pear-HTTP_Header
|
||||
# Date created: 13 December 2003
|
||||
# Whom: Alex Miller (<asm@asm.kiev.ua>)
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= HTTP_Header
|
||||
PORTVERSION= 0.1.5
|
||||
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
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../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>
|
1
www/pear-HTTP_Header/distinfo
Normal file
1
www/pear-HTTP_Header/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (PEAR/HTTP_Header-0.1.5.tgz) = 4eda72d01dcfa91382e96567d090c70d
|
5
www/pear-HTTP_Header/pkg-descr
Normal file
5
www/pear-HTTP_Header/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
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
|
7
www/pear-HTTP_Header/pkg-plist
Normal file
7
www/pear-HTTP_Header/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
|||
%%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 a new issue