aboutsummaryrefslogtreecommitdiff
path: root/www/turck-mmcache
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-28 13:00:11 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-28 13:00:11 +0000
commitbb8c2efbee73086b980a04448e373eeb0ee38893 (patch)
tree64d7f2cc15989ccdeef5541f40a8e021c2e7d691 /www/turck-mmcache
parent6ef69c3960d8b4359cbf4186b88dba647710aacc (diff)
downloadports-bb8c2efbee73086b980a04448e373eeb0ee38893.tar.gz
ports-bb8c2efbee73086b980a04448e373eeb0ee38893.zip
Notes
Diffstat (limited to 'www/turck-mmcache')
-rw-r--r--www/turck-mmcache/Makefile3
-rw-r--r--www/turck-mmcache/distinfo2
-rw-r--r--www/turck-mmcache/files/patch-encoder.php15
-rw-r--r--www/turck-mmcache/pkg-message1
-rw-r--r--www/turck-mmcache/pkg-plist9
5 files changed, 17 insertions, 13 deletions
diff --git a/www/turck-mmcache/Makefile b/www/turck-mmcache/Makefile
index d555859fbeb7..ebe4bb777621 100644
--- a/www/turck-mmcache/Makefile
+++ b/www/turck-mmcache/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= turck-mmcache
-PORTVERSION= 2.3.19
+PORTVERSION= 2.3.20
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -40,6 +40,7 @@ do-install:
@${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}
diff --git a/www/turck-mmcache/distinfo b/www/turck-mmcache/distinfo
index 060fb56c50a7..b6fd10768285 100644
--- a/www/turck-mmcache/distinfo
+++ b/www/turck-mmcache/distinfo
@@ -1 +1 @@
-MD5 (turck-mmcache-2.3.19.tar.bz2) = 358bf1bc0b53289d6387426ba03b8fe4
+MD5 (turck-mmcache-2.3.20.tar.bz2) = 88f1de430f91c4095bc90a2ee011ff3e
diff --git a/www/turck-mmcache/files/patch-encoder.php b/www/turck-mmcache/files/patch-encoder.php
index b4e5c05fd0c9..7ff9b0ce984f 100644
--- a/www/turck-mmcache/files/patch-encoder.php
+++ b/www/turck-mmcache/files/patch-encoder.php
@@ -1,10 +1,11 @@
---- encoder.php.orig Wed May 28 15:12:59 2003
-+++ encoder.php Thu May 29 16:19:28 2003
-@@ -1,10 +1,10 @@
--#! /usr/bin/php -f
-+#! %%LOCALBASE%%/bin/php -f
-
+--- 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";
@@ -15,7 +16,7 @@
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 +16,10 @@
+@@ -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";
diff --git a/www/turck-mmcache/pkg-message b/www/turck-mmcache/pkg-message
index 0a420d9c5235..819c0f487a7b 100644
--- a/www/turck-mmcache/pkg-message
+++ b/www/turck-mmcache/pkg-message
@@ -16,5 +16,6 @@ mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
+mmcache.compress="1"
*****************************************************************************
diff --git a/www/turck-mmcache/pkg-plist b/www/turck-mmcache/pkg-plist
index 20039e334dca..02366f6de8bd 100644
--- a/www/turck-mmcache/pkg-plist
+++ b/www/turck-mmcache/pkg-plist
@@ -1,7 +1,8 @@
bin/encoder
lib/php/%%PHP_EXT_DIR%%/mmcache.so
-%%PORTDOCS%%share/doc/turck-mmcache/README
+%%PORTDOCS%%%%DOCSDIR%%/README
@unexec rmdir %D/lib/php/%%PHP_EXT_DIR%% 2> /dev/null || true
-share/examples/turck-mmcache/mmcache.php
-%%PORTDOCS%%@dirrm share/doc/turck-mmcache
-@dirrm share/examples/turck-mmcache
+%%EXAMPLESDIR%%/mmcache.php
+%%EXAMPLESDIR%%/mmcache_password.php
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%