summaryrefslogtreecommitdiff
path: root/www/neowebscript/files/Makefile.bsd
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-10-28 08:37:27 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-10-28 08:37:27 +0000
commit40df45352156d24ae7ab2105eaf4b894900455f0 (patch)
tree5f9afb850e66875f994e795c1cb436bef20eb4b3 /www/neowebscript/files/Makefile.bsd
parentPrevent build from breaking when the user has incompatible version of (diff)
NeoWebScript[tm] is a module for the Apache webserver that allows you to
embed the Tcl/Tk programming language in your webpages as a scripting tool. It was invented by Karl Lehenbauer, NeoSoft's Chief Technical Officer, and documented, enhanced and extended by NeoSoft's programmers and technical writers. WWW: http://www.sourceforge.net/projects/nws/ The changes: . don't build the Apache, TclX, gd, db, neo-tcl bundled in the tarball, but use those that are installed by their ports . don't generate GIFs -- use PNGs . look in /var/log for Apache's log file . use /var/db/neowebscript for caches and per-user databases . expose some configuration knobs into the neowebscript.conf -- there should be no need to edit init.tcl itself anymore All of the bundled demos work, except for the gd-based banner generator. The demo code uses Gdtclft commands that don't exist in the modern Gdtclft.
Notes
Notes: svn path=/head/; revision=49283
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/