svn commit: r323821 - head/www/asp2php
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Jul 28 12:02:53 UTC 2013
Author: danfe
Date: Sun Jul 28 12:02:52 2013
New Revision: 323821
URL: http://svnweb.freebsd.org/changeset/ports/323821
Log:
- Fix inner makefiles so the port is make jobs safe now
- Do not overwrite WRKSRC, it is both unneeded and inconvenient
- Define LICENSE (GPLv2) and clean up Makefile while I'm here
- Improve on port description text, remove author attribution
Reported by: pointyhat-west
Modified:
head/www/asp2php/Makefile
head/www/asp2php/pkg-descr
Modified: head/www/asp2php/Makefile
==============================================================================
--- head/www/asp2php/Makefile Sun Jul 28 11:36:00 2013 (r323820)
+++ head/www/asp2php/Makefile Sun Jul 28 12:02:52 2013 (r323821)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: asp2php
-# Date created: Thu 29 Jun 2000
-# Whom: will
-#
+# Created by: Will Andrews <will at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= asp2php
PORTVERSION= 0.76.26
@@ -11,19 +7,19 @@ CATEGORIES= www
MASTER_SITES= http://downloads.mikekohn.net/asp2php/
MAINTAINER= erwin at 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:
Modified: head/www/asp2php/pkg-descr
==============================================================================
--- head/www/asp2php/pkg-descr Sun Jul 28 11:36:00 2013 (r323820)
+++ head/www/asp2php/pkg-descr Sun Jul 28 12:02:52 2013 (r323821)
@@ -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 at i1.net>
WWW: http://asp2php.naken.cc/
More information about the svn-ports-head
mailing list