summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_color/Makefile34
-rw-r--r--www/mod_color/distinfo1
-rw-r--r--www/mod_color/pkg-comment1
-rw-r--r--www/mod_color/pkg-descr6
-rw-r--r--www/mod_color/pkg-plist3
6 files changed, 46 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index e18129ef4aa3..c990bd380e9a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -113,6 +113,7 @@
SUBDIR += mod_auth_pam
SUBDIR += mod_auth_pgsql
SUBDIR += mod_backhand
+ SUBDIR += mod_color
SUBDIR += mod_csacek
SUBDIR += mod_dav
SUBDIR += mod_dtcl
diff --git a/www/mod_color/Makefile b/www/mod_color/Makefile
new file mode 100644
index 000000000000..d17f0821eac6
--- /dev/null
+++ b/www/mod_color/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: mod_auth_pam
+# Date created: 7 April 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_color
+PORTVERSION= 0.3
+CATEGORIES= www
+MASTER_SITES= http://www.dimensional.com/~bgiles/mod_color/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= .l
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+
+APXS?= ${LOCALBASE}/sbin/apxs
+NO_WRKSUBDIR= yes
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
+
+do-build:
+ lex -t -Psyncc ${WRKSRC}/mod_color.l > ${WRKSRC}/mod_color.c
+ @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+
+do-install:
+ ${APXS} -i -A -n ${PORTNAME:S/_//g} ${WRKSRC}/${PORTNAME}.so
+
+.include <bsd.port.mk>
diff --git a/www/mod_color/distinfo b/www/mod_color/distinfo
new file mode 100644
index 000000000000..53eb700a097a
--- /dev/null
+++ b/www/mod_color/distinfo
@@ -0,0 +1 @@
+MD5 (mod_color.l) = 51388b75e2489817b0a57a8f8ecbf96c
diff --git a/www/mod_color/pkg-comment b/www/mod_color/pkg-comment
new file mode 100644
index 000000000000..b3ff1e90fef9
--- /dev/null
+++ b/www/mod_color/pkg-comment
@@ -0,0 +1 @@
+Apache module that provides syntax coloring for various languages
diff --git a/www/mod_color/pkg-descr b/www/mod_color/pkg-descr
new file mode 100644
index 000000000000..58c038c97015
--- /dev/null
+++ b/www/mod_color/pkg-descr
@@ -0,0 +1,6 @@
+mod_color is a syntax colorer module for Apache. Each site may
+specify the color, style and font face of each lexical element
+via the .htaccess file. This file may also provide the directive
+to disableor re-enable) any processing by this module.
+
+WWW: http://www.dimensional.com/~bgiles/mod_color/
diff --git a/www/mod_color/pkg-plist b/www/mod_color/pkg-plist
new file mode 100644
index 000000000000..1b0929b5aef6
--- /dev/null
+++ b/www/mod_color/pkg-plist
@@ -0,0 +1,3 @@
+libexec/apache/mod_color.so
+@exec %D/sbin/apxs -e -A -n color %D/%F
+@unexec %D/sbin/apxs -e -A -n color %D/%F