summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-07-11 00:31:25 +0000
committersalo <salo@pkgsrc.org>2004-07-11 00:31:25 +0000
commit5eea318670171f4078817a063f4a47e5f7f68e61 (patch)
treebcc272b3471ea630e4350174e58c2eded0c76ab5 /www
parent688862260bf8200e278db95fc2f5102f71ca9717 (diff)
downloadpkgsrc-5eea318670171f4078817a063f4a47e5f7f68e61.tar.gz
Convert to bl3, obey CFLAGS et al., rework install target.
Diffstat (limited to 'www')
-rw-r--r--www/asp2php/Makefile5
-rw-r--r--www/asp2php/distinfo6
-rw-r--r--www/asp2php/patches/patch-aa28
-rw-r--r--www/asp2php/patches/patch-ab16
-rw-r--r--www/asp2php/patches/patch-ac16
5 files changed, 49 insertions, 22 deletions
diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile
index 5806ca58e0e..58f4718e793 100644
--- a/www/asp2php/Makefile
+++ b/www/asp2php/Makefile
@@ -1,4 +1,5 @@
-# $NetBSD: Makefile,v 1.8 2003/07/22 04:14:20 martti Exp $
+# $NetBSD: Makefile,v 1.9 2004/07/11 00:31:25 salo Exp $
+#
DISTNAME= asp2php-0.76.17
CATEGORIES= www
@@ -8,4 +9,6 @@ MAINTAINER= shell@NetBSD.org
HOMEPAGE= http://asp2php.naken.cc/
COMMENT= Converts asp pages to php pages
+USE_BUILDLINK3= YES
+
.include "../../mk/bsd.pkg.mk"
diff --git a/www/asp2php/distinfo b/www/asp2php/distinfo
index 54b91cd6ffc..02b38d14efc 100644
--- a/www/asp2php/distinfo
+++ b/www/asp2php/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2003/06/10 06:55:15 wiz Exp $
+$NetBSD: distinfo,v 1.7 2004/07/11 00:31:25 salo Exp $
SHA1 (asp2php-0.76.17.tar.gz) = 9fe485f8f738c11a7104b935cbcadf365195bac4
Size (asp2php-0.76.17.tar.gz) = 53793 bytes
-SHA1 (patch-aa) = ed0ca8c9925a9ac90dde14a843a71990617eb987
+SHA1 (patch-aa) = d9dea1ccabce8e79d032c3462cf59d3fb2303a8c
+SHA1 (patch-ab) = a95a8ffcac811b32bb467482c0e208e9f8ab0bdd
+SHA1 (patch-ac) = e833373ae539b142849b9f89755d391532155846
diff --git a/www/asp2php/patches/patch-aa b/www/asp2php/patches/patch-aa
index 3cf48acf15b..edc7d068a32 100644
--- a/www/asp2php/patches/patch-aa
+++ b/www/asp2php/patches/patch-aa
@@ -1,34 +1,24 @@
-$NetBSD: patch-aa,v 1.3 2003/06/10 06:55:16 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2004/07/11 00:31:25 salo Exp $
---- Makefile.orig Wed Mar 26 19:35:11 2003
-+++ Makefile
-@@ -1,7 +1,8 @@
-
--CC=gcc
-+CC+=${CFLAGS}
+--- Makefile.orig 2003-03-26 19:35:11.000000000 +0100
++++ Makefile 2004-07-11 02:22:19.000000000 +0200
+@@ -2,6 +2,7 @@
+ CC=gcc
LD=ld
CFLAGS=-Wall
+BINDIR=${PREFIX}/bin
default:
cd src && make
-@@ -18,14 +19,14 @@ gui:
+@@ -18,10 +19,7 @@
@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"
-+ @if [ -e asp2php ]; then install -c asp2php ${BINDIR}; fi;
-+ @if [ -e gtkasp2php ]; then install -c gtkasp2php ${BINDIR}; fi;
-+ @echo "Compiled programs have been installed in ${BINDIR}"
- @echo ""
+- @echo ""
++ ${BSD_INSTALL_PROGRAM} asp2php ${BINDIR}
uninstall:
-- @if [ -e /usr/local/bin/asp2php ]; then rm /usr/local/bin/asp2php; fi;
-- @if [ -e /usr/local/bin/gtkasp2php ]; then rm /usr/local/bin/gtkasp2php; fi;
-+ @if [ -e ${BINDIR}/asp2php ]; then rm ${BINDIR}/asp2php; fi;
-+ @if [ -e ${BINDIR}/gtkasp2php ]; then rm ${BINDIR}/gtkasp2php; fi;
- @echo "asp2php has been uninstalled."
- @echo ""
-
+ @if [ -e /usr/local/bin/asp2php ]; then rm /usr/local/bin/asp2php; fi;
diff --git a/www/asp2php/patches/patch-ab b/www/asp2php/patches/patch-ab
new file mode 100644
index 00000000000..6119b892084
--- /dev/null
+++ b/www/asp2php/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2004/07/11 00:31:25 salo Exp $
+
+--- src/Makefile.orig 2003-03-26 19:35:11.000000000 +0100
++++ src/Makefile 2004-07-11 02:08:45.000000000 +0200
+@@ -1,8 +1,8 @@
+
+-CC=gcc
+-LD=ld
++#CC=gcc
++#LD=ld
+ #FLAGS=-DDEBUG
+-CFLAGS=-Wall
++#CFLAGS=-Wall
+
+ default:
+ @cd jscript && make
diff --git a/www/asp2php/patches/patch-ac b/www/asp2php/patches/patch-ac
new file mode 100644
index 00000000000..e0bb78de913
--- /dev/null
+++ b/www/asp2php/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/07/11 00:31:25 salo Exp $
+
+--- src/jscript/Makefile.orig 2003-03-26 19:35:11.000000000 +0100
++++ src/jscript/Makefile 2004-07-11 02:14:17.000000000 +0200
+@@ -1,8 +1,8 @@
+
+-CC=gcc
+-LD=ld
++#CC=gcc
++#LD=ld
+ #FLAGS=-DDEBUG
+-CFLAGS=-Wall
++#CFLAGS=-Wall
+
+ default:
+ $(CC) -c conditionals_j.c $(CFLAGS) $(FLAGS)