Skip to content

Commit

Permalink
- initial import of asp2php-0.75.12
Browse files Browse the repository at this point in the history
Based on a tarball by Shell Hung <[email protected]>

--
asp2php is a program which converts Microsoft's ASP code to PHP.
It supports multiple database drivers, sessions, both PHP3 and PHP4,
and also provides a graphical front end to do all this.
  • Loading branch information
Anil Madhavapeddy committed Mar 21, 2001
1 parent de9452b commit 30a44c5
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 0 deletions.
28 changes: 28 additions & 0 deletions devel/asp2php/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/03/21 23:28:16 avsm Exp $

DISTNAME= asp2php-0.75.12
CATEGORIES= devel www
NEED_VERSION= 1.356

MAINTAINER= Shell Hung <[email protected]>

HOMEPAGE= http://asp2php.naken.cc/
MASTER_SITES= http://home.i1.net/~naken/asp2php/

PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

FLAVORS= gui
FLAVOR?=

ALL_TARGET?= all unipiss

.if ${FLAVOR:L:Mgui}
USE_X11= Yes
LIB_DEPENDS= gtk.1.2::x11/gtk+
ALL_TARGET+= gtkasp2php
.endif

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/asp2php/files/md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MD5 (asp2php-0.75.12.tar.gz) = dd2375e825ec98062ea257c8fde576c0
RMD160 (asp2php-0.75.12.tar.gz) = 9203599cdabbb78304bcdb530e92836e972faacb
SHA1 (asp2php-0.75.12.tar.gz) = 67fd4f3c2fbbd2aa6aeb7e16f8ab88e5697f713e
26 changes: 26 additions & 0 deletions devel/asp2php/patches/patch-Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
--- Makefile.orig Tue Feb 27 08:50:21 2001
+++ Makefile Wed Mar 21 22:48:19 2001
@@ -1,5 +1,7 @@

-CC=gcc
+BINDIR=${PREFIX}/bin
+
+CC+= ${CFLAGS}

default:
$(CC) -c conditionals.c -Wall
@@ -40,10 +42,10 @@ unipiss:
$(CC) -o unipiss unipiss.c html.o general.o -Wall

install:
- @if [ -e asp2php ]; then cp asp2php /usr/local/bin; fi;
- @if [ -e unipiss ]; then cp unipiss /usr/local/bin; fi;
- @if [ -e gtkasp2php ]; then cp gtkasp2php /usr/local/bin; fi;
- @echo "Compiled programs have been installed in /usr/local/bin"
+ @if [ -e asp2php ]; then cp asp2php ${BINDIR}; fi;
+ @if [ -e unipiss ]; then cp unipiss ${BINDIR}; fi;
+ @if [ -e gtkasp2php ]; then cp gtkasp2php ${BINDIR}; fi;
+ @echo "Compiled programs have been installed in ${BINDIR}"
@echo ""

all: default
1 change: 1 addition & 0 deletions devel/asp2php/pkg/COMMENT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
convert ASP code to PHP code
7 changes: 7 additions & 0 deletions devel/asp2php/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
asp2php is a program which converts Microsoft's ASP code to PHP.
It supports multiple database drivers, sessions, both PHP3 and PHP4,
and also provides a graphical front end to do all this.

The GUI front-end is available via the 'gui' flavor.

WWW: ${HOMEPAGE}
2 changes: 2 additions & 0 deletions devel/asp2php/pkg/PFRAG.gui
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.gui,v 1.1.1.1 2001/03/21 23:28:17 avsm Exp $
bin/gtkasp2php
4 changes: 4 additions & 0 deletions devel/asp2php/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/21 23:28:17 avsm Exp $
%%gui%%
bin/asp2php
bin/unipiss

0 comments on commit 30a44c5

Please sign in to comment.