Date: Sun, 28 Jul 2013 12:02:52 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323821 - head/www/asp2php Message-ID: <201307281202.r6SC2qAX034625@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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: 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@i1.net> WWW: http://asp2php.naken.cc/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307281202.r6SC2qAX034625>