summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoragc <agc>2001-11-22 11:32:29 +0000
committeragc <agc>2001-11-22 11:32:29 +0000
commitff67a549a9bbd6c038c5fd10fd070e21c6392a0a (patch)
tree9fb37d06bd63bb055ce02508f1c6ba05cdc61671 /www
parenteb74c6a8500db4e44674a0f7cb5e39b9f5fa25b2 (diff)
downloadpkgsrc-ff67a549a9bbd6c038c5fd10fd070e21c6392a0a.tar.gz
Add gtkasp2php-0.75.24 to the NetBSD Packages Collection.
asp2php converts WWW Active Server Pages (ASP) files that run on the Microsoft IIS Web Server into PHP pages to run on Apache. This version of the utility uses the gtk+ widget set. Provided in PR 14568 by Shell Hung (shell@shellhung.org), modified by myself to use the gtk+ buildlink functionality.
Diffstat (limited to 'www')
-rw-r--r--www/gtkasp2php/DESCR2
-rw-r--r--www/gtkasp2php/Makefile17
-rw-r--r--www/gtkasp2php/PLIST2
-rw-r--r--www/gtkasp2php/distinfo5
-rw-r--r--www/gtkasp2php/patches/patch-aa26
5 files changed, 52 insertions, 0 deletions
diff --git a/www/gtkasp2php/DESCR b/www/gtkasp2php/DESCR
new file mode 100644
index 00000000000..80ed01d2922
--- /dev/null
+++ b/www/gtkasp2php/DESCR
@@ -0,0 +1,2 @@
+asp2php converts WWW Active Server Pages (ASP) files that run on the
+Microsoft IIS Web Server into PHP pages to run on Apache.
diff --git a/www/gtkasp2php/Makefile b/www/gtkasp2php/Makefile
new file mode 100644
index 00000000000..c85df30ce59
--- /dev/null
+++ b/www/gtkasp2php/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/22 11:32:29 agc Exp $
+
+DISTNAME= asp2php-0.75.24
+PKGNAME= gtk${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= http://home.swbell.net/mikekohn/asp2php/
+
+MAINTAINER= shell@shellhung.org
+HOMEPAGE= http://asp2php.naken.cc/
+COMMENT= gtk+ version of utility to convert asp pages to php pages
+
+WRKSRC= ${WRKDIR}/asp2php
+
+ALL_TARGET= all gtkasp2php
+
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/gtkasp2php/PLIST b/www/gtkasp2php/PLIST
new file mode 100644
index 00000000000..78952edd2fc
--- /dev/null
+++ b/www/gtkasp2php/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/22 11:32:29 agc Exp $
+bin/gtkasp2php
diff --git a/www/gtkasp2php/distinfo b/www/gtkasp2php/distinfo
new file mode 100644
index 00000000000..aa315d62840
--- /dev/null
+++ b/www/gtkasp2php/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/22 11:32:29 agc Exp $
+
+SHA1 (asp2php-0.75.24.tar.gz) = 253d53940ada1c843d601845f36231d0b6a564ae
+Size (asp2php-0.75.24.tar.gz) = 41066 bytes
+SHA1 (patch-aa) = 8f1e08e7cb41d39b0226c5ee4a98a69b3098fb6d
diff --git a/www/gtkasp2php/patches/patch-aa b/www/gtkasp2php/patches/patch-aa
new file mode 100644
index 00000000000..6438d73bf53
--- /dev/null
+++ b/www/gtkasp2php/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/22 11:32:29 agc Exp $
+
+--- Makefile.orig Mon Jul 9 02:54:24 2001
++++ Makefile Mon Jul 9 02:55:51 2001
+@@ -1,5 +1,6 @@
+
+-CC=gcc
++CC+= ${CFLAGS}
++BINDIR= ${PREFIX}/bin
+
+ default:
+ $(CC) -c conditionals.c -Wall
+@@ -46,10 +47,9 @@
+ $(CC) -o unipiss unipiss.c html.o general.o -Wall
+
+ install:
+- @if [ -e asp2php ]; then install asp2php /usr/local/bin; fi;
+- @if [ -e unipiss ]; then install unipiss /usr/local/bin; fi;
+- @if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi;
+- @echo "Compiled programs have been installed in /usr/local/bin"
++ @if [ -e unipiss ]; then install unipiss ${BINDIR}; fi;
++ @if [ -e gtkasp2php ]; then install gtkasp2php ${BINDIR}; fi;
++ @echo "Compiled programs have been installed in ${BINDIR}"
+ @echo ""
+
+ all: default