aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 01:04:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-03 01:04:11 +0000
commit3177b7ec466c3e2a040f139350b44d04d09808f1 (patch)
treec9ad95ae00864b041f5e23c11310e05002c9e3a2 /www
parente743b009aa60dbad33e769a467977bc94a2def24 (diff)
downloadports-3177b7ec466c3e2a040f139350b44d04d09808f1.tar.gz
ports-3177b7ec466c3e2a040f139350b44d04d09808f1.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/pear-APC/Makefile53
-rw-r--r--www/pear-APC/distinfo1
-rw-r--r--www/pear-APC/pkg-descr6
-rw-r--r--www/pear-APC/pkg-message13
-rw-r--r--www/pear-APC/pkg-plist7
-rw-r--r--www/pecl-APC-devel/Makefile53
-rw-r--r--www/pecl-APC-devel/distinfo1
-rw-r--r--www/pecl-APC-devel/pkg-descr6
-rw-r--r--www/pecl-APC-devel/pkg-message13
-rw-r--r--www/pecl-APC-devel/pkg-plist7
-rw-r--r--www/pecl-APC/Makefile53
-rw-r--r--www/pecl-APC/distinfo1
-rw-r--r--www/pecl-APC/pkg-descr6
-rw-r--r--www/pecl-APC/pkg-message13
-rw-r--r--www/pecl-APC/pkg-plist7
16 files changed, 241 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4aeef7d1fb6e..e32fef8b319c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -404,6 +404,7 @@
SUBDIR += p5-libservlet
SUBDIR += p5-libwww
SUBDIR += peacock
+ SUBDIR += pear-APC
SUBDIR += pgdriver
SUBDIR += photo_gallery
SUBDIR += php-dyn
diff --git a/www/pear-APC/Makefile b/www/pear-APC/Makefile
new file mode 100644
index 000000000000..3a791785ef47
--- /dev/null
+++ b/www/pear-APC/Makefile
@@ -0,0 +1,53 @@
+# Ports collection makefile for: pear-APC
+# Date created: 31 August 2003
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= APC
+PORTVERSION= 2.0
+CATEGORIES= www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Alternative PHP Cache
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PHPIZE= yes
+
+CONFIGURE_ARGS= --enable-apc
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+.if exists(${LOCALBASE}/bin/php-config)
+EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
+ "s:${PHP_BASE}/::"
+.endif
+PHP_DIR?= ${LOCALBASE}/etc
+PHP_INI= ${PHP_DIR}/php.ini
+PLIST_SUB+= EXTDIR=${EXT_DIR}
+DOCS= CHANGELOG INSTALL NOTICE
+
+post-install-script:
+ @${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/apc.so
+ @if [ ! -f ${PHP_INI} ]; then \
+ ${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
+ ${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/www/pear-APC/distinfo b/www/pear-APC/distinfo
new file mode 100644
index 000000000000..1d06208dfbe0
--- /dev/null
+++ b/www/pear-APC/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/APC-2.0.tgz) = dfbbe831eeedacc495d3adec26d6f784
diff --git a/www/pear-APC/pkg-descr b/www/pear-APC/pkg-descr
new file mode 100644
index 000000000000..9a49a282355b
--- /dev/null
+++ b/www/pear-APC/pkg-descr
@@ -0,0 +1,6 @@
+APC is the Alternative PHP Cache.
+
+It was conceived of to provide a free, open, and robust framework for
+caching and optimizing PHP intermediate code.
+
+WWW: http://pear.php.net/package/APC
diff --git a/www/pear-APC/pkg-message b/www/pear-APC/pkg-message
new file mode 100644
index 000000000000..0de322a03cfd
--- /dev/null
+++ b/www/pear-APC/pkg-message
@@ -0,0 +1,13 @@
+************************************************************************
+Do not forget to configure your /usr/local/etc/php.ini file:
+add the line:
+
+extension="apc.so"
+
+in the section "Dynamic Extensions".
+
+Then restart your web server and consult the output of phpinfo().
+If there is an informational section for APC, the installation was
+successful.
+************************************************************************
+
diff --git a/www/pear-APC/pkg-plist b/www/pear-APC/pkg-plist
new file mode 100644
index 000000000000..5dbea02fc4c3
--- /dev/null
+++ b/www/pear-APC/pkg-plist
@@ -0,0 +1,7 @@
+%%EXTDIR%%/apc.so
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NOTICE
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile
new file mode 100644
index 000000000000..3a791785ef47
--- /dev/null
+++ b/www/pecl-APC-devel/Makefile
@@ -0,0 +1,53 @@
+# Ports collection makefile for: pear-APC
+# Date created: 31 August 2003
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= APC
+PORTVERSION= 2.0
+CATEGORIES= www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Alternative PHP Cache
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PHPIZE= yes
+
+CONFIGURE_ARGS= --enable-apc
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+.if exists(${LOCALBASE}/bin/php-config)
+EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
+ "s:${PHP_BASE}/::"
+.endif
+PHP_DIR?= ${LOCALBASE}/etc
+PHP_INI= ${PHP_DIR}/php.ini
+PLIST_SUB+= EXTDIR=${EXT_DIR}
+DOCS= CHANGELOG INSTALL NOTICE
+
+post-install-script:
+ @${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/apc.so
+ @if [ ! -f ${PHP_INI} ]; then \
+ ${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
+ ${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/www/pecl-APC-devel/distinfo b/www/pecl-APC-devel/distinfo
new file mode 100644
index 000000000000..1d06208dfbe0
--- /dev/null
+++ b/www/pecl-APC-devel/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/APC-2.0.tgz) = dfbbe831eeedacc495d3adec26d6f784
diff --git a/www/pecl-APC-devel/pkg-descr b/www/pecl-APC-devel/pkg-descr
new file mode 100644
index 000000000000..9a49a282355b
--- /dev/null
+++ b/www/pecl-APC-devel/pkg-descr
@@ -0,0 +1,6 @@
+APC is the Alternative PHP Cache.
+
+It was conceived of to provide a free, open, and robust framework for
+caching and optimizing PHP intermediate code.
+
+WWW: http://pear.php.net/package/APC
diff --git a/www/pecl-APC-devel/pkg-message b/www/pecl-APC-devel/pkg-message
new file mode 100644
index 000000000000..0de322a03cfd
--- /dev/null
+++ b/www/pecl-APC-devel/pkg-message
@@ -0,0 +1,13 @@
+************************************************************************
+Do not forget to configure your /usr/local/etc/php.ini file:
+add the line:
+
+extension="apc.so"
+
+in the section "Dynamic Extensions".
+
+Then restart your web server and consult the output of phpinfo().
+If there is an informational section for APC, the installation was
+successful.
+************************************************************************
+
diff --git a/www/pecl-APC-devel/pkg-plist b/www/pecl-APC-devel/pkg-plist
new file mode 100644
index 000000000000..5dbea02fc4c3
--- /dev/null
+++ b/www/pecl-APC-devel/pkg-plist
@@ -0,0 +1,7 @@
+%%EXTDIR%%/apc.so
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NOTICE
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/www/pecl-APC/Makefile b/www/pecl-APC/Makefile
new file mode 100644
index 000000000000..3a791785ef47
--- /dev/null
+++ b/www/pecl-APC/Makefile
@@ -0,0 +1,53 @@
+# Ports collection makefile for: pear-APC
+# Date created: 31 August 2003
+# Whom: Thierry Thomas (<thierry@pompo.net>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= APC
+PORTVERSION= 2.0
+CATEGORIES= www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Alternative PHP Cache
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PHPIZE= yes
+
+CONFIGURE_ARGS= --enable-apc
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../lang/php4/bsd.php.mk"
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+.if exists(${LOCALBASE}/bin/php-config)
+EXT_DIR!= ${LOCALBASE}/bin/php-config --extension-dir | ${SED} -e \
+ "s:${PHP_BASE}/::"
+.endif
+PHP_DIR?= ${LOCALBASE}/etc
+PHP_INI= ${PHP_DIR}/php.ini
+PLIST_SUB+= EXTDIR=${EXT_DIR}
+DOCS= CHANGELOG INSTALL NOTICE
+
+post-install-script:
+ @${STRIP_CMD} ${PHP_BASE}/${EXT_DIR}/apc.so
+ @if [ ! -f ${PHP_INI} ]; then \
+ ${ECHO_MSG} "===> Creating ${PHP_INI} for PHP" ; \
+ ${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
+ fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for FILE in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE} | \
+ ${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"
+ @${ECHO_MSG}
+
+.include <bsd.port.post.mk>
diff --git a/www/pecl-APC/distinfo b/www/pecl-APC/distinfo
new file mode 100644
index 000000000000..1d06208dfbe0
--- /dev/null
+++ b/www/pecl-APC/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/APC-2.0.tgz) = dfbbe831eeedacc495d3adec26d6f784
diff --git a/www/pecl-APC/pkg-descr b/www/pecl-APC/pkg-descr
new file mode 100644
index 000000000000..9a49a282355b
--- /dev/null
+++ b/www/pecl-APC/pkg-descr
@@ -0,0 +1,6 @@
+APC is the Alternative PHP Cache.
+
+It was conceived of to provide a free, open, and robust framework for
+caching and optimizing PHP intermediate code.
+
+WWW: http://pear.php.net/package/APC
diff --git a/www/pecl-APC/pkg-message b/www/pecl-APC/pkg-message
new file mode 100644
index 000000000000..0de322a03cfd
--- /dev/null
+++ b/www/pecl-APC/pkg-message
@@ -0,0 +1,13 @@
+************************************************************************
+Do not forget to configure your /usr/local/etc/php.ini file:
+add the line:
+
+extension="apc.so"
+
+in the section "Dynamic Extensions".
+
+Then restart your web server and consult the output of phpinfo().
+If there is an informational section for APC, the installation was
+successful.
+************************************************************************
+
diff --git a/www/pecl-APC/pkg-plist b/www/pecl-APC/pkg-plist
new file mode 100644
index 000000000000..5dbea02fc4c3
--- /dev/null
+++ b/www/pecl-APC/pkg-plist
@@ -0,0 +1,7 @@
+%%EXTDIR%%/apc.so
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NOTICE
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%