diff options
author | Tal Peer <coredumb@gentoo.org> | 2003-08-02 20:51:03 +0000 |
---|---|---|
committer | Tal Peer <coredumb@gentoo.org> | 2003-08-02 20:51:03 +0000 |
commit | 008f0f6556ab06519377173e9a29a3f90fd20bad (patch) | |
tree | 800ec8d2c90fe5939561bf69251f574f3c8b6dad /dev-php/asp2php | |
parent | Initial import, fixed bug #25738 (BugDay! yay! :) (diff) | |
download | gentoo-2-008f0f6556ab06519377173e9a29a3f90fd20bad.tar.gz gentoo-2-008f0f6556ab06519377173e9a29a3f90fd20bad.tar.bz2 gentoo-2-008f0f6556ab06519377173e9a29a3f90fd20bad.zip |
Initial import, fixed bug #25738 (BugDay! yay! :)
Diffstat (limited to 'dev-php/asp2php')
-rw-r--r-- | dev-php/asp2php/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php/asp2php/Manifest | 5 | ||||
-rw-r--r-- | dev-php/asp2php/asp2php-0.76.17.ebuild | 31 | ||||
-rw-r--r-- | dev-php/asp2php/files/asp2php-0.76.17-makefile.patch | 49 | ||||
-rw-r--r-- | dev-php/asp2php/files/digest-asp2php-0.76.17 | 1 |
5 files changed, 94 insertions, 2 deletions
diff --git a/dev-php/asp2php/ChangeLog b/dev-php/asp2php/ChangeLog new file mode 100644 index 000000000000..01646452310c --- /dev/null +++ b/dev-php/asp2php/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-php/asp2php +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/asp2php/ChangeLog,v 1.1 2003/08/02 20:50:46 coredumb Exp $ + +*asp2php-0.76.17 (02 Aug 2003) + + 02 Aug 2002; Tal Peer <coredumb@gentoo.rog> asp2php-0.76.17.ebuild: + Initial import. Contributed by: Lin Zhemin <ljm@ljm.idv.tw> (Fixes bug #25738). + + diff --git a/dev-php/asp2php/Manifest b/dev-php/asp2php/Manifest index cbe0307de287..54641045d357 100644 --- a/dev-php/asp2php/Manifest +++ b/dev-php/asp2php/Manifest @@ -1,3 +1,4 @@ -MD5 9f3e92249b00ce23b0d76d2f271f131a asp2php-0.76.17.ebuild 781 -MD5 d3b811c460a49fd219e6596f69ef924c files/asp2php-0.76.17-makefile.patch 1247 +MD5 91b5a25be26689932adbc369b3d9a3b6 asp2php-0.76.17.ebuild 763 +MD5 973c87255e13854aad7c1a2168c95211 ChangeLog 404 +MD5 4fcaabf107de3907210d8acbc50d40a3 files/asp2php-0.76.17-makefile.patch 1237 MD5 a261c315bf4212c90600867a3bc18752 files/digest-asp2php-0.76.17 66 diff --git a/dev-php/asp2php/asp2php-0.76.17.ebuild b/dev-php/asp2php/asp2php-0.76.17.ebuild new file mode 100644 index 000000000000..eecd8f3f4e5f --- /dev/null +++ b/dev-php/asp2php/asp2php-0.76.17.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/asp2php/asp2php-0.76.17.ebuild,v 1.1 2003/08/02 20:50:46 coredumb Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="ASP to PHP translator" +SRC_URI="http://www.mikekohn.com/asp2php/${P}.tar.gz" +HOMEPAGE="http://asp2php.naken.cc/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + epatch ${FILESDIR}/${P}-makefile.patch +} + +src_compile() { + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dobin asp2php + dodoc LICENSE README + docinto sample + dodoc sample/class_test.asp sample/filesystem.asp sample/mailer-test.asp sample/testfile.asp +} + diff --git a/dev-php/asp2php/files/asp2php-0.76.17-makefile.patch b/dev-php/asp2php/files/asp2php-0.76.17-makefile.patch new file mode 100644 index 000000000000..9e6e68fc6975 --- /dev/null +++ b/dev-php/asp2php/files/asp2php-0.76.17-makefile.patch @@ -0,0 +1,49 @@ +--- Makefile.orig 2003-08-02 09:38:53.000000000 +0800 ++++ Makefile 2003-08-02 09:42:05.000000000 +0800 +@@ -1,7 +1,4 @@ +- +-CC=gcc +-LD=ld +-CFLAGS=-Wall ++DESTDIR= + + default: + cd src && make +@@ -18,9 +15,10 @@ + @mv src/gtkasp2php . + + install: +- @if [ -e asp2php ]; then install asp2php /usr/local/bin; fi; +- @if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi; +- @echo "Compiled programs have been installed in /usr/local/bin" ++ @mkdir -p $(DESTDIR)/bin; ++ @if [ -e asp2php ]; then install asp2php $(DESTDIR)/bin; fi; ++ @if [ -e gtkasp2php ]; then install gtkasp2php $(DESTDIR)/bin; fi; ++ @echo "Compiled programs have been installed in $(DESTDIR)/bin" + @echo "" + + uninstall: +--- src/Makefile.orig 2003-08-02 09:48:07.000000000 +0800 ++++ src/Makefile 2003-08-02 09:48:20.000000000 +0800 +@@ -1,9 +1,3 @@ +- +-CC=gcc +-LD=ld +-#FLAGS=-DDEBUG +-CFLAGS=-Wall +- + default: + @cd jscript && make + $(CC) -c class.c $(CFLAGS) $(FLAGS) +--- src/jscript/Makefile.orig 2003-08-02 09:49:43.000000000 +0800 ++++ src/jscript/Makefile 2003-08-02 09:49:46.000000000 +0800 +@@ -1,9 +1,3 @@ +- +-CC=gcc +-LD=ld +-#FLAGS=-DDEBUG +-CFLAGS=-Wall +- + default: + $(CC) -c conditionals_j.c $(CFLAGS) $(FLAGS) + $(CC) -c eval_expression_j.c $(CFLAGS) $(FLAGS) diff --git a/dev-php/asp2php/files/digest-asp2php-0.76.17 b/dev-php/asp2php/files/digest-asp2php-0.76.17 new file mode 100644 index 000000000000..e3f56eb18cfc --- /dev/null +++ b/dev-php/asp2php/files/digest-asp2php-0.76.17 @@ -0,0 +1 @@ +MD5 c9ab4cf79d08605c1e0856ac81f414ef asp2php-0.76.17.tar.gz 53793 |