aboutsummaryrefslogtreecommitdiff
path: root/www/asp2php
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-28 12:02:52 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-28 12:02:52 +0000
commit7bbb263ceb42269c575708913cbccf97ff97619c (patch)
tree9d64fd4b4ba7c1da6da4e4e818d4857013efab4b /www/asp2php
parente9cf5695a9722eb5f6f83df63fd52c5a3c557d3c (diff)
Notes
Diffstat (limited to 'www/asp2php')
-rw-r--r--www/asp2php/Makefile21
-rw-r--r--www/asp2php/pkg-descr6
2 files changed, 11 insertions, 16 deletions
diff --git a/www/asp2php/Makefile b/www/asp2php/Makefile
index 719e58450dfb..116cf9e7c701 100644
--- a/www/asp2php/Makefile
+++ b/www/asp2php/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: asp2php
-# Date created: Thu 29 Jun 2000
-# Whom: will
-#
+# Created by: Will Andrews <will@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= asp2php
PORTVERSION= 0.76.26
@@ -11,19 +7,19 @@ CATEGORIES= www
MASTER_SITES= http://downloads.mikekohn.net/asp2php/
MAINTAINER= erwin@FreeBSD.org
-COMMENT= Converts ASP scripts to PHP
+COMMENT= Program to convert ASP scripts to PHP
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}/src
+LICENSE= GPLv2
WANT_GNOME= yes
-MAKE_ENV= FLAGS="${CFLAGS}"
+MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS}"
PLIST_FILES= bin/asp2php
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mgtk12}!=""
-USE_GNOME+= gtk12
+.if ${HAVE_GNOME:Mgtk12}
+USE_GNOME= gtk12
PKGNAMESUFFIX= -gtk
ALL_TARGET= default gui
PLIST_FILES+= bin/gtkasp2php
@@ -33,9 +29,8 @@ ALL_TARGET= default
.endif
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|^CC=|#CC=|g ; \
- s| make| \$$\{MAKE\}|g ; \
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -E \
+ 's|cd (.+) && make|$$(MAKE) -C \1| ; \
s|`gtk-config|`\$$\{GTK_CONFIG\}|g'
do-install:
diff --git a/www/asp2php/pkg-descr b/www/asp2php/pkg-descr
index e7ec8fb92695..e608fc058b66 100644
--- a/www/asp2php/pkg-descr
+++ b/www/asp2php/pkg-descr
@@ -1,5 +1,5 @@
-asp2php is a program that converts ASP scripts to PHP.
-It require PHP4 code to work properly.
+asp2php will take web pages written for Microsoft's ASP and convert them to
+PHP. asp2php works mostly on VBScript, but some JScript support has been
+added.
-Author: Michael Kohn <naken@i1.net>
WWW: http://asp2php.naken.cc/