summaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2003-04-13 12:38:13 +0000
committerCHOI Junho <cjh@FreeBSD.org>2003-04-13 12:38:13 +0000
commit49eec7c358ce433cb1140bb129db31634f19a7b5 (patch)
treeb29cb75aa9c0f88ec9eca5d68dd237e8a0d926f3 /korean
parentix11/wdm project moved, update MASTER_SITES and WWW (diff)
Activate mod_url.
Notes
Notes: svn path=/head/; revision=78884
Diffstat (limited to 'korean')
-rw-r--r--korean/Makefile1
-rw-r--r--korean/mod_url/Makefile36
-rw-r--r--korean/mod_url/distinfo2
-rw-r--r--korean/mod_url/pkg-descr4
-rw-r--r--korean/mod_url/pkg-message8
-rw-r--r--korean/mod_url/pkg-plist2
6 files changed, 53 insertions, 0 deletions
diff --git a/korean/Makefile b/korean/Makefile
index d238254e0604..2a8c2e545560 100644
--- a/korean/Makefile
+++ b/korean/Makefile
@@ -50,6 +50,7 @@
SUBDIR += man-doc
SUBDIR += mizifont
SUBDIR += mkisofs
+ SUBDIR += mod_url
SUBDIR += mozilla-klp
SUBDIR += mplayer-fonts
SUBDIR += msdosfs
diff --git a/korean/mod_url/Makefile b/korean/mod_url/Makefile
new file mode 100644
index 000000000000..0da5b3cb5a93
--- /dev/null
+++ b/korean/mod_url/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: mod_url
+# Date created: 13 Apr 2003
+# Whom: CHOI Junho <cjh@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= mod_url
+PORTVERSION= 20010905
+CATEGORIES= korean www
+MASTER_SITES= http://kle.kldp.org/apache/
+DISTFILES= ${PORTNAME}.c readme.${PORTNAME}
+
+MAINTAINER= cjh@FreeBSD.org
+COMMENT= Apache module for manipulating euc-kr encoded URL
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
+RUN_DEPENDS= ${APXS}:${APACHE_PORT}
+
+APXS?= ${LOCALBASE}/sbin/apxs
+APACHE_PORT?= ${PORTSDIR}/www/apache13
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${_DISTDIR}/${PORTNAME}.c ${_DISTDIR}/readme.mod_url ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC}; ${APXS} -c -I${PREFIX}/include -L${PREFIX}/lib -liconv ${PORTNAME}.c
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/apache/
+ ${MKDIR} ${PREFIX}/share/doc/mod_url
+ ${INSTALL_DATA} ${WRKSRC}/readme.${PORTNAME} ${PREFIX}/share/doc/mod_url/
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/korean/mod_url/distinfo b/korean/mod_url/distinfo
new file mode 100644
index 000000000000..cb88a97bf9c7
--- /dev/null
+++ b/korean/mod_url/distinfo
@@ -0,0 +1,2 @@
+MD5 (mod_url.c) = 31b6c3fa60a7df6cde8e40c4b7a27aa3
+MD5 (readme.mod_url) = f1a06dc9de1b499c3074c1f204305d47
diff --git a/korean/mod_url/pkg-descr b/korean/mod_url/pkg-descr
new file mode 100644
index 000000000000..5ecfa5b6edad
--- /dev/null
+++ b/korean/mod_url/pkg-descr
@@ -0,0 +1,4 @@
+mod_url -- an Apache module manipulating euc-kr encoded URL.
+
+WWW: http://kle.kldp.org/apache
+Author: Won Kyu Park <wkpark@kldp.org>
diff --git a/korean/mod_url/pkg-message b/korean/mod_url/pkg-message
new file mode 100644
index 000000000000..20cd99e6c5b6
--- /dev/null
+++ b/korean/mod_url/pkg-message
@@ -0,0 +1,8 @@
+You might want to add the following lines to your httpd.conf:
+
+ LoadModule redurl_module libexec/apache/mod_url.so
+ AddModule mod_url.c
+
+ <IfModule mod_url.c>
+ CheckURL On
+ </IfModule>
diff --git a/korean/mod_url/pkg-plist b/korean/mod_url/pkg-plist
new file mode 100644
index 000000000000..a0f9cbdd87cd
--- /dev/null
+++ b/korean/mod_url/pkg-plist
@@ -0,0 +1,2 @@
+libexec/apache/mod_url.so
+share/doc/mod_url/readme.mod_url