aboutsummaryrefslogtreecommitdiff
path: root/www/pear-HTTP_Header
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-04-14 21:56:32 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-04-14 21:56:32 +0000
commit6f4354d282b9d1f028bdf5fcd3e7497f48787d3d (patch)
tree26ec3077390bfacd263dc5a07390b34b31bb0dcc /www/pear-HTTP_Header
parentdb2eb50c79d324d73906755147d3d53c136a0f85 (diff)
downloadports-6f4354d282b9d1f028bdf5fcd3e7497f48787d3d.tar.gz
ports-6f4354d282b9d1f028bdf5fcd3e7497f48787d3d.zip
Utilize devel/pear-PEAR/Makefile.common.
PR: ports/65511 Submitted by: Roman Neuhauser Approved by: mat (mentor).
Notes
Notes: svn path=/head/; revision=107079
Diffstat (limited to 'www/pear-HTTP_Header')
-rw-r--r--www/pear-HTTP_Header/Makefile25
-rw-r--r--www/pear-HTTP_Header/pkg-descr2
-rw-r--r--www/pear-HTTP_Header/pkg-plist7
3 files changed, 9 insertions, 25 deletions
diff --git a/www/pear-HTTP_Header/Makefile b/www/pear-HTTP_Header/Makefile
index 7c388eb1c124..08331a6fccd8 100644
--- a/www/pear-HTTP_Header/Makefile
+++ b/www/pear-HTTP_Header/Makefile
@@ -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>
diff --git a/www/pear-HTTP_Header/pkg-descr b/www/pear-HTTP_Header/pkg-descr
index b19e47d0a840..9499d4719941 100644
--- a/www/pear-HTTP_Header/pkg-descr
+++ b/www/pear-HTTP_Header/pkg-descr
@@ -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/
diff --git a/www/pear-HTTP_Header/pkg-plist b/www/pear-HTTP_Header/pkg-plist
deleted file mode 100644
index fedb1b59b59a..000000000000
--- a/www/pear-HTTP_Header/pkg-plist
+++ /dev/null
@@ -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%%