From owner-svn-ports-head@FreeBSD.ORG Sun Jul 28 12:02:53 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8362E8C6; Sun, 28 Jul 2013 12:02:53 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 56E4B2A91; Sun, 28 Jul 2013 12:02:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6SC2qZc034627; Sun, 28 Jul 2013 12:02:52 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6SC2qAX034625; Sun, 28 Jul 2013 12:02:52 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201307281202.r6SC2qAX034625@svn.freebsd.org> From: Alexey Dokuchaev Date: Sun, 28 Jul 2013 12:02:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323821 - head/www/asp2php X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 12:02:53 -0000 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 # $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 -.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 WWW: http://asp2php.naken.cc/