diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/pear-HTTP_Session/Makefile | 36 | ||||
-rw-r--r-- | www/pear-HTTP_Session/distinfo | 1 | ||||
-rw-r--r-- | www/pear-HTTP_Session/pkg-descr | 7 | ||||
-rw-r--r-- | www/pear-HTTP_Session/pkg-plist | 11 | ||||
-rw-r--r-- | www/pear-HTTP_Session2/Makefile | 36 | ||||
-rw-r--r-- | www/pear-HTTP_Session2/distinfo | 1 | ||||
-rw-r--r-- | www/pear-HTTP_Session2/pkg-descr | 7 | ||||
-rw-r--r-- | www/pear-HTTP_Session2/pkg-plist | 11 |
9 files changed, 111 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index cad899577894..4d7536145cce 100644 --- a/www/Makefile +++ b/www/Makefile @@ -444,6 +444,7 @@ SUBDIR += pear-APC SUBDIR += pear-HTTP SUBDIR += pear-HTTP_Header + SUBDIR += pear-HTTP_Session SUBDIR += pgdriver SUBDIR += pglogd SUBDIR += photo_gallery diff --git a/www/pear-HTTP_Session/Makefile b/www/pear-HTTP_Session/Makefile new file mode 100644 index 000000000000..ba9efc793dd2 --- /dev/null +++ b/www/pear-HTTP_Session/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: pear-HTTP_Session +# Date created: 13 December 2003 +# Whom: Alex Miller (<asm@asm.kiev.ua>) +# +# $FreeBSD$ +# + +PORTNAME= HTTP_Session +PORTVERSION= 0.4 +CATEGORIES= www devel pear + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR Object-oriented interface to the session_* family functions + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/sessiondata.sql ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/HTTP_Session_Example.php ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +do-install: + @${MKDIR} ${PEARDIR}/Session/Container + @${CP} -p ${WRKSRC}/Session/Container/DB.php ${PEARDIR}/Session/Container + @${CP} -p ${WRKSRC}/Session/Container.php ${PEARDIR}/Session + @${CP} ${WRKSRC}/Session.php ${PEARDIR} + @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session.php + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session + +.include <bsd.port.post.mk> diff --git a/www/pear-HTTP_Session/distinfo b/www/pear-HTTP_Session/distinfo new file mode 100644 index 000000000000..1ac27c1575a3 --- /dev/null +++ b/www/pear-HTTP_Session/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/HTTP_Session-0.4.tgz) = aeb0a0cc805d7755d2086e067adf1761 diff --git a/www/pear-HTTP_Session/pkg-descr b/www/pear-HTTP_Session/pkg-descr new file mode 100644 index 000000000000..0044e1adbf32 --- /dev/null +++ b/www/pear-HTTP_Session/pkg-descr @@ -0,0 +1,7 @@ +Object-oriented interface to the session_* family functions +it provides extra features such as database storage for +session data using DB package. It introduces new methods +like isNew(), useCookies(), setExpire(), setIdle(), +isExpired(), isIdled() and others. + +WWW: http://pear.php.net/package-info.php?package=HTTP_Session diff --git a/www/pear-HTTP_Session/pkg-plist b/www/pear-HTTP_Session/pkg-plist new file mode 100644 index 000000000000..f61cf5d6d37b --- /dev/null +++ b/www/pear-HTTP_Session/pkg-plist @@ -0,0 +1,11 @@ +%%PEARDIR%%/Session.php +%%PEARDIR%%/Session/Container.php +%%PEARDIR%%/Session/Container/DB.php +%%PKGREGDIR%%/package.xml +%%PORTDOCS%%%%DOCSDIR%%/HTTP_Session_Example.php +%%PORTDOCS%%%%DOCSDIR%%/sessiondata.sql +@dirrm %%PEARDIR%%/Session/Container +@unexec rmdir %D/%%PEARDIR%%/Session/Container 2>/dev/null || true +@unexec rmdir %D/%%PEARDIR%%/Session 2>/dev/null || true +@dirrm %%PKGREGDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/www/pear-HTTP_Session2/Makefile b/www/pear-HTTP_Session2/Makefile new file mode 100644 index 000000000000..ba9efc793dd2 --- /dev/null +++ b/www/pear-HTTP_Session2/Makefile @@ -0,0 +1,36 @@ +# Ports collection makefile for: pear-HTTP_Session +# Date created: 13 December 2003 +# Whom: Alex Miller (<asm@asm.kiev.ua>) +# +# $FreeBSD$ +# + +PORTNAME= HTTP_Session +PORTVERSION= 0.4 +CATEGORIES= www devel pear + +MAINTAINER= ports@FreeBSD.org +COMMENT= PEAR Object-oriented interface to the session_* family functions + +BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR +RUN_DEPENDS= ${BUILD_DEPENDS} + +.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/sessiondata.sql ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/HTTP_Session_Example.php ${DOCSDIR} + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +do-install: + @${MKDIR} ${PEARDIR}/Session/Container + @${CP} -p ${WRKSRC}/Session/Container/DB.php ${PEARDIR}/Session/Container + @${CP} -p ${WRKSRC}/Session/Container.php ${PEARDIR}/Session + @${CP} ${WRKSRC}/Session.php ${PEARDIR} + @${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session.php + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Session + +.include <bsd.port.post.mk> diff --git a/www/pear-HTTP_Session2/distinfo b/www/pear-HTTP_Session2/distinfo new file mode 100644 index 000000000000..1ac27c1575a3 --- /dev/null +++ b/www/pear-HTTP_Session2/distinfo @@ -0,0 +1 @@ +MD5 (PEAR/HTTP_Session-0.4.tgz) = aeb0a0cc805d7755d2086e067adf1761 diff --git a/www/pear-HTTP_Session2/pkg-descr b/www/pear-HTTP_Session2/pkg-descr new file mode 100644 index 000000000000..0044e1adbf32 --- /dev/null +++ b/www/pear-HTTP_Session2/pkg-descr @@ -0,0 +1,7 @@ +Object-oriented interface to the session_* family functions +it provides extra features such as database storage for +session data using DB package. It introduces new methods +like isNew(), useCookies(), setExpire(), setIdle(), +isExpired(), isIdled() and others. + +WWW: http://pear.php.net/package-info.php?package=HTTP_Session diff --git a/www/pear-HTTP_Session2/pkg-plist b/www/pear-HTTP_Session2/pkg-plist new file mode 100644 index 000000000000..f61cf5d6d37b --- /dev/null +++ b/www/pear-HTTP_Session2/pkg-plist @@ -0,0 +1,11 @@ +%%PEARDIR%%/Session.php +%%PEARDIR%%/Session/Container.php +%%PEARDIR%%/Session/Container/DB.php +%%PKGREGDIR%%/package.xml +%%PORTDOCS%%%%DOCSDIR%%/HTTP_Session_Example.php +%%PORTDOCS%%%%DOCSDIR%%/sessiondata.sql +@dirrm %%PEARDIR%%/Session/Container +@unexec rmdir %D/%%PEARDIR%%/Session/Container 2>/dev/null || true +@unexec rmdir %D/%%PEARDIR%%/Session 2>/dev/null || true +@dirrm %%PKGREGDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |