pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/cgi-wcalc import cgi-wcalc-0.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d44ffd7e4176
branches:  trunk
changeset: 501974:d44ffd7e4176
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Nov 01 03:52:11 2005 +0000

description:
import cgi-wcalc-0.9

This is the common gateway interface (CGI) frontend for the Wcalc
transmission line analysis/synthesis calculator.

diffstat:

 cad/cgi-wcalc/DESCR    |   2 ++
 cad/cgi-wcalc/MESSAGE  |  40 ++++++++++++++++++++++++++++++++++++++++
 cad/cgi-wcalc/Makefile |  23 +++++++++++++++++++++++
 cad/cgi-wcalc/PLIST    |   8 ++++++++
 4 files changed, 73 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 07b061d899d4 -r d44ffd7e4176 cad/cgi-wcalc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/cgi-wcalc/DESCR       Tue Nov 01 03:52:11 2005 +0000
@@ -0,0 +1,2 @@
+This is the common gateway interface (CGI) frontend for the Wcalc
+transmission line analysis/synthesis calculator.
diff -r 07b061d899d4 -r d44ffd7e4176 cad/cgi-wcalc/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/cgi-wcalc/MESSAGE     Tue Nov 01 03:52:11 2005 +0000
@@ -0,0 +1,40 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/11/01 03:52:12 dmcmahill Exp $
+
+You have configured cgi-wcalc to install the cgi programs to the directory
+${PREFIX}/${WCALC_CGIDIR}.
+You will need to configure your web server to allow CGI programs to
+execute from that directory.
+
+In addition, you configured cgi-wcalc to use ${WCALC_CGIPATH} as the URI
+for the CGI programs.  You will need to configure your web server so that 
+http://your.name${WCALC_CGIPATH} will access the CGI programs in 
+${PREFIX}/${WCALC_CGIDIR}.
+
+A typical apache httpd.conf setup would be:
+
+# Setup the alias to the wcalc HTML directory
+# This is where the static web pages and the images
+# reside
+Alias ${WCALC_HTMLPATH} "${PREFIX}/${WCALC_HTMLDIR}"
+
+# setup options for the wcalc HTML directory
+<Directory "${PREFIX}/${WCALC_HTMLDIR}">
+    Options Indexes MultiViews
+    AllowOverride None
+    Order allow,deny
+    Allow from all
+</Directory>
+
+# Setup the alias to the wcalc CGI directory
+ScriptAlias ${WCALC_CGIPATH} "${PREFIX}/${WCALC_CGIDIR}/"
+
+# setup options for the wcalc CGI directory
+<Directory "${PREFIX}/${WCALC_CGIDIR}">
+    AllowOverride None
+    Options None
+    Order allow,deny
+    Allow from all
+</Directory>
+
+===========================================================================
diff -r 07b061d899d4 -r d44ffd7e4176 cad/cgi-wcalc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/cgi-wcalc/Makefile    Tue Nov 01 03:52:11 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/01 03:52:11 dmcmahill Exp $
+#
+
+.include "../../cad/wcalc/Makefile.common"
+PKGNAME=       cgi-${DISTNAME}
+
+COMMENT=       CGI Based Transmission Line Analysis/Synthesis Calculator
+
+DEPENDS+=      wcalc-docs-${VER}*:../../cad/wcalc-docs
+
+# Only enable the CGI frontend
+CONFIGURE_ARGS+=       --enable-cgi
+CONFIGURE_ARGS+=       --disable-gtk1
+CONFIGURE_ARGS+=       --disable-gtk2
+CONFIGURE_ARGS+=       --disable-htdocs
+CONFIGURE_ARGS+=       --disable-libwcalc
+CONFIGURE_ARGS+=       --disable-stdio
+CONFIGURE_ARGS+=       --without-matlab
+CONFIGURE_ARGS+=       --without-octave
+CONFIGURE_ARGS+=       --without-scilab
+
+.include "../../cad/libwcalc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 07b061d899d4 -r d44ffd7e4176 cad/cgi-wcalc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/cgi-wcalc/PLIST       Tue Nov 01 03:52:11 2005 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/01 03:52:12 dmcmahill Exp $
+${WCALC_CGIDIR}/air_coil.cgi
+${WCALC_CGIDIR}/coax.cgi
+${WCALC_CGIDIR}/coupled_microstrip.cgi
+${WCALC_CGIDIR}/ic_microstrip.cgi
+${WCALC_CGIDIR}/microstrip.cgi
+${WCALC_CGIDIR}/stripline.cgi
+@unexec ${RMDIR} %D/${WCALC_CGIDIR} 2>/dev/null || ${TRUE}



Home | Main Index | Thread Index | Old Index