aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-03-13 05:53:37 +0800
committerwill <will@FreeBSD.org>2001-03-13 05:53:37 +0800
commit27c0885dc10ce67d40cbea40d2b034c1c1751e4f (patch)
tree8c251fc1505b981394009ea738ec74574e906fb6 /www
parentc97788557897f845e89be3652fea1fb2153fa5ec (diff)
downloadfreebsd-ports-graphics-27c0885dc10ce67d40cbea40d2b034c1c1751e4f.tar.gz
freebsd-ports-graphics-27c0885dc10ce67d40cbea40d2b034c1c1751e4f.tar.zst
freebsd-ports-graphics-27c0885dc10ce67d40cbea40d2b034c1c1751e4f.zip
Add mod_csacek 2.1.5, a charset recoding module for Apache.
PR: 25285 Submitted by: Milan Salajka <ms@vol.cz>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_csacek/Makefile42
-rw-r--r--www/mod_csacek/distinfo1
-rw-r--r--www/mod_csacek/pkg-comment1
-rw-r--r--www/mod_csacek/pkg-descr4
-rw-r--r--www/mod_csacek/pkg-message13
-rw-r--r--www/mod_csacek/pkg-plist20
7 files changed, 82 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 5a5bbbabfe2..2000fb3af0f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -106,6 +106,7 @@
SUBDIR += mod_access_referer
SUBDIR += mod_auth_mysql
SUBDIR += mod_auth_pgsql
+ SUBDIR += mod_csacek
SUBDIR += mod_dav
SUBDIR += mod_dtcl
SUBDIR += mod_fastcgi
diff --git a/www/mod_csacek/Makefile b/www/mod_csacek/Makefile
new file mode 100644
index 00000000000..3e546b1b544
--- /dev/null
+++ b/www/mod_csacek/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: mod_csacek Apache module
+# Date created: 22 Feb 2001
+# Whom: Milan Salajka <ms@vol.cz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_csacek
+PORTVERSION= 2.1.5
+CATEGORIES= www
+MASTER_SITES= http://www.csacek.cz/distrib/
+DISTNAME= ${PORTNAME:S/mod_//g}-${PORTVERSION}
+
+MAINTAINER= ms@vol.cz
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+
+APXS?= ${LOCALBASE}/sbin/apxs
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} \
+ --with-target=Apache \
+ --disable-report \
+ --with-templatedir=${PREFIX}/www/data \
+ --disable-compression
+
+do-install:
+ ${APXS} -i -A -n csacek ${WRKSRC}/mod_csacek.so
+
+post-install:
+
+ ${INSTALL_DATA} ${WRKSRC}/templates/whichcode_template.html ${PREFIX}/www/data
+
+ ${MKDIR} ${PREFIX}/share/doc/mod_csacek
+ ${MKDIR} ${PREFIX}/share/doc/mod_csacek/img
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/doc/img/*.gif ${PREFIX}/share/doc/${PORTNAME}/img
+
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/mod_csacek/distinfo b/www/mod_csacek/distinfo
new file mode 100644
index 00000000000..5ac4db8e57c
--- /dev/null
+++ b/www/mod_csacek/distinfo
@@ -0,0 +1 @@
+MD5 (csacek-2.1.5.tar.gz) = 93e42a2c1146b48a31ab0d6cb07fcc38
diff --git a/www/mod_csacek/pkg-comment b/www/mod_csacek/pkg-comment
new file mode 100644
index 00000000000..8c8efcac9bc
--- /dev/null
+++ b/www/mod_csacek/pkg-comment
@@ -0,0 +1 @@
+Charset recoding module for Apache
diff --git a/www/mod_csacek/pkg-descr b/www/mod_csacek/pkg-descr
new file mode 100644
index 00000000000..92b5ab1ed19
--- /dev/null
+++ b/www/mod_csacek/pkg-descr
@@ -0,0 +1,4 @@
+The CSACEK package is an Apache module that recodes encoding of documents
+between ISO-8859-2, ASCII, CP852, CP1250 and other.
+
+WWW: http://www.csacek.cz
diff --git a/www/mod_csacek/pkg-message b/www/mod_csacek/pkg-message
new file mode 100644
index 00000000000..252a67156b1
--- /dev/null
+++ b/www/mod_csacek/pkg-message
@@ -0,0 +1,13 @@
+************************************************************
+Please edit your httpd.conf to enable and setup this module.
+
+You can always refer to the useful documents held in
+${PREFIX}/share/doc/mod_csacek/, where ${PREFIX} is
+typically /usr/local.
+
+When it's done, do the following to take effect:
+
+ apachectl configtest (and correct any errors reported)
+ apachectl restart
+
+************************************************************
diff --git a/www/mod_csacek/pkg-plist b/www/mod_csacek/pkg-plist
new file mode 100644
index 00000000000..9f6c8a4e451
--- /dev/null
+++ b/www/mod_csacek/pkg-plist
@@ -0,0 +1,20 @@
+libexec/apache/mod_csacek.so
+@exec %D/sbin/apxs -e -A -n csacek %f
+@unexec %D/sbin/apxs -e -A -n csacek %f
+share/doc/mod_csacek/csacek.html
+share/doc/mod_csacek/faq.html
+share/doc/mod_csacek/index.html
+share/doc/mod_csacek/instalace.html
+share/doc/mod_csacek/licence.html
+share/doc/mod_csacek/obj.html
+share/doc/mod_csacek/priklady.html
+share/doc/mod_csacek/testy.html
+share/doc/mod_csacek/img/ball.gif
+share/doc/mod_csacek/img/csacek_21.gif
+share/doc/mod_csacek/img/csacek_logo.gif
+share/doc/mod_csacek/img/hosted_by_4web.gif
+share/doc/mod_csacek/img/new.gif
+share/doc/mod_csacek/img/zpet.gif
+@dirrm share/doc/mod_csacek/img
+@dirrm share/doc/mod_csacek
+www/data/whichcode_template.html