summaryrefslogtreecommitdiff
path: root/www/neowebscript/files/Makefile.bsd
diff options
context:
space:
mode:
Diffstat (limited to 'www/neowebscript/files/Makefile.bsd')
-rw-r--r--www/neowebscript/files/Makefile.bsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/neowebscript/files/Makefile.bsd b/www/neowebscript/files/Makefile.bsd
new file mode 100644
index 000000000000..6ab4574d374b
--- /dev/null
+++ b/www/neowebscript/files/Makefile.bsd
@@ -0,0 +1,18 @@
+MODULES=neoscript neo_userdir log_neo auth_tcl # neo_include
+
+.SUFFIXES:
+.SUFFIXES: .so .c
+
+.c.so:
+ ${MAKE} -f ${FILESDIR}/Makefile.lib SRCS=${.ALLSRC}
+
+all: ${MODULES:%=mod_%.so}
+
+SYSCONFDIR!= ${PREFIX}/sbin/apxs -q SYSCONFDIR
+
+install:
+ ${INSTALL_DATA} ${MODULES:%=mod_%.so} ${PREFIX}/libexec/apache/
+#.for m in ${MODULES}
+# ${PREFIX}/sbin/apxs -e -A -n $m ${PREFIX}/libexec/apache/mod_$m.so
+#.endfor
+ cp -Rp ${.CURDIR}/../neowebscript ${PREFIX}/share/