aboutsummaryrefslogtreecommitdiff
path: root/www/mod_macro
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-20 05:11:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-11-20 05:11:07 +0000
commit471191997ee4afd5ed95f49d045c5965b647459a (patch)
tree9c78c27b630f17863fa446a240b338792c290c6d /www/mod_macro
parent2bd1b7fa390387603a0c2560598845e969b84075 (diff)
downloadports-471191997ee4afd5ed95f49d045c5965b647459a.tar.gz
ports-471191997ee4afd5ed95f49d045c5965b647459a.zip
Notes
Diffstat (limited to 'www/mod_macro')
-rw-r--r--www/mod_macro/Makefile29
-rw-r--r--www/mod_macro/distinfo1
-rw-r--r--www/mod_macro/pkg-descr6
-rw-r--r--www/mod_macro/pkg-plist5
4 files changed, 41 insertions, 0 deletions
diff --git a/www/mod_macro/Makefile b/www/mod_macro/Makefile
new file mode 100644
index 000000000000..5b7271a64532
--- /dev/null
+++ b/www/mod_macro/Makefile
@@ -0,0 +1,29 @@
+# ex:ts=8
+# Ports collection makefile for: mod_macro
+# Date created: Nov 20, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_macro
+PORTVERSION= 1.1.2
+CATEGORIES= www
+MASTER_SITES= http://www.cri.ensmp.fr/~coelho/mod_macro/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Apache module for use macros in config files
+
+USE_APACHE= yes
+
+do-build:
+ @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+
+do-install:
+ ${APXS} -i -A -n ${PORTNAME} ${WRKSRC}/${PORTNAME}.so
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/mod_macro/distinfo b/www/mod_macro/distinfo
new file mode 100644
index 000000000000..63f47deac489
--- /dev/null
+++ b/www/mod_macro/distinfo
@@ -0,0 +1 @@
+MD5 (mod_macro-1.1.2.tar.gz) = d9761cbaa5e14c064bed29cd0dab918a
diff --git a/www/mod_macro/pkg-descr b/www/mod_macro/pkg-descr
new file mode 100644
index 000000000000..56b9607f76a5
--- /dev/null
+++ b/www/mod_macro/pkg-descr
@@ -0,0 +1,6 @@
+mod_macro is a third-party module to the Apache Http Server, distributed with
+a BSD-style license like Apache. It allows the definition and use of macros
+within apache runtime configuration files. The syntax is a natural extension
+to apache html-like configuration style.
+
+WWW: http://www.cri.ensmp.fr/~coelho/mod_macro/
diff --git a/www/mod_macro/pkg-plist b/www/mod_macro/pkg-plist
new file mode 100644
index 000000000000..ab4adec4788e
--- /dev/null
+++ b/www/mod_macro/pkg-plist
@@ -0,0 +1,5 @@
+libexec/apache/mod_macro.so
+@exec %D/sbin/apxs -e -A -n macro %D/%F
+@unexec %D/sbin/apxs -e -A -n macro %D/%F
+%%PORTDOCS%%%%DOCSDIR%%/mod_macro.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%