summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-01-19 07:20:58 +0000
committerale <ale@FreeBSD.org>2005-01-19 07:20:58 +0000
commitd48be46f61bc216c60539a34f865260bfe6a38e0 (patch)
treeaf52e4f97e03f1c767fcfba5581384c72b955653 /www
parent2c785da27a57196c09b1bc369c6163c67a2bb0cf (diff)
downloadFreeBSD-ports-d48be46f61bc216c60539a34f865260bfe6a38e0.zip
FreeBSD-ports-d48be46f61bc216c60539a34f865260bfe6a38e0.tar.gz
Repocopied to www/eaccelerator.
Diffstat (limited to 'www')
-rw-r--r--www/turck-mmcache/Makefile50
-rw-r--r--www/turck-mmcache/distinfo2
-rw-r--r--www/turck-mmcache/files/patch-encoder.php33
-rw-r--r--www/turck-mmcache/pkg-descr17
-rw-r--r--www/turck-mmcache/pkg-message25
-rw-r--r--www/turck-mmcache/pkg-plist8
6 files changed, 0 insertions, 135 deletions
diff --git a/www/turck-mmcache/Makefile b/www/turck-mmcache/Makefile
deleted file mode 100644
index 7c4317b..0000000
--- a/www/turck-mmcache/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-# New ports collection makefile for: turck-mmcache
-# Date created: Sat Mar 1 13:55:55 CET 2003
-# Whom: Alex Dupre <sysadmin@alexdupre.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= turck-mmcache
-PORTVERSION= 2.4.6
-CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
-
-MAINTAINER= ale@FreeBSD.org
-COMMENT= An opcode cache for PHP with encoder and loader
-
-USE_BZIP2= yes
-USE_REINPLACE= yes
-USE_PHP= yes
-USE_PHPIZE= yes
-
-CONFIGURE_ARGS= --enable-mmcache=shared
-
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-post-patch:
- @${REINPLACE_CMD} 's|ALIGN|MMALIGN|g' ${WRKSRC}/mm.c ${WRKSRC}/mmcache.c
-
-post-build:
- @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/encoder.php > ${WRKSRC}/encoder
- @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g;s|%%PHP_EXT_DIR%%|${PHP_EXT_DIR}|g" \
- ${.CURDIR}/pkg-message > ${PKGMESSAGE}
-
-do-install:
- @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}
- @${INSTALL_DATA} ${WRKSRC}/modules/mmcache.so \
- ${PREFIX}/lib/php/${PHP_EXT_DIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin
- @${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/mmcache.php ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/mmcache_password.php ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/www/turck-mmcache/distinfo b/www/turck-mmcache/distinfo
deleted file mode 100644
index 855e307..0000000
--- a/www/turck-mmcache/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (turck-mmcache-2.4.6.tar.bz2) = 8edaf6cd647e7c521b5360f4e2d4ee6f
-SIZE (turck-mmcache-2.4.6.tar.bz2) = 96103
diff --git a/www/turck-mmcache/files/patch-encoder.php b/www/turck-mmcache/files/patch-encoder.php
deleted file mode 100644
index 7ff9b0c..0000000
--- a/www/turck-mmcache/files/patch-encoder.php
+++ /dev/null
@@ -1,33 +0,0 @@
---- encoder.php.orig Fri Jul 25 10:21:09 2003
-+++ encoder.php Mon Jul 28 13:04:19 2003
-@@ -1,10 +1,12 @@
-+#!%%LOCALBASE%%/bin/php -f
-+
- <?php
- $web_error = "";
-
- function mmcache_encoder_usage() {
-- echo "Usage:\tphp -q encoder.php [options] source_file_name\n";
-- echo "\tphp -q encoder.php [options] source_file_name...\n";
-- echo "\tphp -q encoder.php [options] source_directory_name...\n\n";
-+ echo "Usage:\tencoder [options] source_file_name\n";
-+ echo "\tencoder [options] source_file_name...\n";
-+ echo "\tencoder [options] source_directory_name...\n\n";
- echo "Options:\n";
- echo "\t-s suffix\n\t\tencode files only with following suffix (default is \"php\")\n";
- echo "\t-a\n\t\tencode all files (no by default)\n";
-@@ -16,10 +18,10 @@
- echo "\t\tfile name. If you encode directory or several files at once\n";
- echo "\t\tthen 'target' specifyes an output directory name.\n";
- echo "\nExamples:\n";
-- echo "\tphp -q encoder.php some_file.php\n";
-- echo "\tphp -q encoder.php some_file.php -o some_encoded_file.php\n";
-- echo "\tphp -q encoder.php *.php -o some_dir\n";
-- echo "\tphp -q encoder.php ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n";
-+ echo "\tencoder some_file.php\n";
-+ echo "\tencoder some_file.php -o some_encoded_file.php\n";
-+ echo "\tencoder *.php -o some_dir\n";
-+ echo "\tencoder ~/public_html/x -rcf -sphp -sinc -o ~/public_html/y\n";
- echo "\n";
- exit();
- }
diff --git a/www/turck-mmcache/pkg-descr b/www/turck-mmcache/pkg-descr
deleted file mode 100644
index 3da3b1f..0000000
--- a/www/turck-mmcache/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-Turck MMCache is a opcode cache for PHP. It increases
-performance of PHP scripts by caching them in compiled state,
-so that the overhead of compiling is almost completely eliminated.
-Also it uses some optimizations for speed up of PHP scripts execution.
-Turck MMCache typically reduces server load and increases
-the speed of your PHP code by 1-10 times.
-
-Turck MMCache contains PHP encoder and loader. You can encode any PHP
-scripts with encoder to distribute them without sources. Encoded files
-can be run on any site which runs PHP with Turck MMCache. The sources
-of encoded script can't be restored because they are stored in a compiled
-form and the encoded version doesn't contain the source.
-
-WWW: http://turck-mmcache.sourceforge.net/
-
-- Alex Dupre
-ale@FreeBSD.org
diff --git a/www/turck-mmcache/pkg-message b/www/turck-mmcache/pkg-message
deleted file mode 100644
index bd70cdb..0000000
--- a/www/turck-mmcache/pkg-message
+++ /dev/null
@@ -1,25 +0,0 @@
-*****************************************************************************
-
-You have installed the turck-mmcache package.
-
-Edit %%LOCALBASE%%/etc/php.ini and add:
-
-[mmcache]
-zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/mmcache.so"
-mmcache.shm_size="16"
-mmcache.cache_dir="/tmp"
-mmcache.enable="1"
-mmcache.optimizer="1"
-mmcache.check_mtime="1"
-mmcache.debug="0"
-mmcache.filter=""
-mmcache.shm_max="0"
-mmcache.shm_ttl="0"
-mmcache.shm_prune_period="0"
-mmcache.shm_only="0"
-mmcache.compress="1"
-mmcache.keys="shm_and_disk"
-mmcache.sessions="shm_and_disk"
-mmcache.content="shm_and_disk"
-
-*****************************************************************************
diff --git a/www/turck-mmcache/pkg-plist b/www/turck-mmcache/pkg-plist
deleted file mode 100644
index 02366f6..0000000
--- a/www/turck-mmcache/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/encoder
-lib/php/%%PHP_EXT_DIR%%/mmcache.so
-%%PORTDOCS%%%%DOCSDIR%%/README
-@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true
-%%EXAMPLESDIR%%/mmcache.php
-%%EXAMPLESDIR%%/mmcache_password.php
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%EXAMPLESDIR%%
OpenPOWER on IntegriCloud