Skip to content

Commit

Permalink
Updated to asp2php-0.76.13
Browse files Browse the repository at this point in the history
  • Loading branch information
shell committed Sep 15, 2002
1 parent 492fc6b commit 105d1ec
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
5 changes: 2 additions & 3 deletions devel/asp2php/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.15 2002/06/06 02:24:20 shell Exp $
# $OpenBSD: Makefile,v 1.16 2002/09/15 11:01:25 shell Exp $

COMMENT= "convert ASP code to PHP code"

DISTNAME= asp2php-0.76.10
DISTNAME= asp2php-0.76.13
CATEGORIES= devel www
NEED_VERSION= 1.531

MAINTAINER= Shell Hung <[email protected]>

Expand Down
6 changes: 3 additions & 3 deletions devel/asp2php/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MD5 (asp2php-0.76.10.tar.gz) = 5cbe6783b2e745cf531ed314b32552dd
RMD160 (asp2php-0.76.10.tar.gz) = 4bffe69fb98d2289b8d5d83a5f989942607f9a66
SHA1 (asp2php-0.76.10.tar.gz) = f36dcadb7c171b6b0dc9ce1908da7a705279101b
MD5 (asp2php-0.76.13.tar.gz) = c3631dfa5fdc10429e2e084093c0008e
RMD160 (asp2php-0.76.13.tar.gz) = 9248c35cd8517f1e6cf4c83c70b7ffe99134fafe
SHA1 (asp2php-0.76.13.tar.gz) = fa8ae55152996b0607790d1de051fdb1c8e27c50
17 changes: 9 additions & 8 deletions devel/asp2php/patches/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
$OpenBSD: patch-Makefile,v 1.4 2002/06/06 02:24:20 shell Exp $
$OpenBSD: patch-Makefile,v 1.5 2002/09/15 11:01:25 shell Exp $

--- Makefile.orig Thu Jun 6 10:18:43 2002
+++ Makefile Thu Jun 6 10:19:55 2002
@@ -1,5 +1,6 @@
--- Makefile.orig Sun Sep 15 18:56:36 2002
+++ Makefile Sun Sep 15 18:57:51 2002
@@ -1,7 +1,7 @@

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

default:
@@ -16,10 +17,9 @@
cd src && make
@@ -17,9 +17,9 @@ gui:
@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"
- @echo ""
+ @if [ -e asp2php ]; then install asp2php ${BINDIR}; fi;
+ @if [ -e gtkasp2php ]; then install gtkasp2php ${BINDIR}; fi;
+
+ @echo "Compiled programs have been installed in ${BINDIR}"
@echo ""

uninstall:
@if [ -e /usr/local/bin/asp2php ]; then rm /usr/local/bin/asp2php; fi;

0 comments on commit 105d1ec

Please sign in to comment.