diff options
author | Will Andrews <will@FreeBSD.org> | 2001-04-10 22:17:18 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-04-10 22:17:18 +0000 |
commit | 9c32d3beedbc8f5c2a2bb7b0f9f25191321f8ab1 (patch) | |
tree | 1144b21c8f96313f3abda1b2b7f20c1f8cf6e8e1 /www/mod_color | |
parent | Upgrade to 0.3.4. (diff) |
Add mod_color 0.3, an Apache module that provides syntax coloring for
various languages.
Notes
Notes:
svn path=/head/; revision=41242
Diffstat (limited to 'www/mod_color')
-rw-r--r-- | www/mod_color/Makefile | 34 | ||||
-rw-r--r-- | www/mod_color/distinfo | 1 | ||||
-rw-r--r-- | www/mod_color/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_color/pkg-descr | 6 | ||||
-rw-r--r-- | www/mod_color/pkg-plist | 3 |
5 files changed, 45 insertions, 0 deletions
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 |