summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/asp2php/Makefile10
-rw-r--r--www/asp2php/distinfo2
-rw-r--r--www/asp2php/files/patch-Makefile15
3 files changed, 7 insertions, 20 deletions
diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile
index 27b8c4aadd4c..a76e271cfbc2 100644
--- a/www/asp2php/Makefile
+++ b/www/asp2php/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= asp2php
-PORTVERSION= 0.76.4a
+PORTVERSION= 0.76.5
CATEGORIES= www
-MASTER_SITES= http://home.i1.net/~naken/asp2php/
+MASTER_SITES= http://65.108.58.129/asp2php/
MAINTAINER= ports@FreeBSD.org
@@ -29,8 +29,10 @@ PLIST_SUB+= WANT_GTK="@comment "
.endif
post-patch:
- @${PERL} -pi -e 's|^CC=|#CC=|g ; \
- s|`gtk-config|`\$$\{GTK_CONFIG\}|g' ${WRKSRC}/Makefile
+ @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${PERL} -pi -e \
+ 's|^CC=|#CC=|g ; \
+ s| make| \$$\{MAKE\}|g ; \
+ s|`gtk-config|`\$$\{GTK_CONFIG\}|g'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asp2php ${PREFIX}/bin
diff --git a/www/asp2php/distinfo b/www/asp2php/distinfo
index 15d25be00bc1..8ba218dfde22 100644
--- a/www/asp2php/distinfo
+++ b/www/asp2php/distinfo
@@ -1 +1 @@
-MD5 (asp2php-0.76.4a.tar.gz) = 3fe1f334828f597e3875e2204c80c61d
+MD5 (asp2php-0.76.5.tar.gz) = 26c73f4d365dc159bbc6fa7a946056ab
diff --git a/www/asp2php/files/patch-Makefile b/www/asp2php/files/patch-Makefile
deleted file mode 100644
index ae1664367e99..000000000000
--- a/www/asp2php/files/patch-Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.orig Sun Mar 31 13:05:47 2002
-+++ Makefile Sun Mar 31 13:06:07 2002
-@@ -1,5 +1,4 @@
-
--CC=gcc
- #FLAGS=-DDEBUG
-
- default:
-@@ -38,5 +37,5 @@
- rm -f *.o
-
- gui:
-- $(CC) -o gtkasp2php gtkasp2php.c `gtk-config --cflags` `gtk-config --libs`
-+ $(CC) -o gtkasp2php gtkasp2php.c `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs`
-