Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 17:51:47 +0000 (UTC)
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354661 - in head/www/asql: . files
Message-ID:  <201405201751.s4KHplRY001853@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cs
Date: Tue May 20 17:51:47 2014
New Revision: 354661
URL: http://svnweb.freebsd.org/changeset/ports/354661
QAT: https://qat.redports.org/buildarchive/r354661/

Log:
  Staging support
  
  PR:		ports/190007
  Submitted by:	Joseph Benden <joe@thrallingpenguin.com>
  Approved by:	cs (maintainer)

Modified:
  head/www/asql/Makefile
  head/www/asql/files/patch-Makefile

Modified: head/www/asql/Makefile
==============================================================================
--- head/www/asql/Makefile	Tue May 20 17:42:39 2014	(r354660)
+++ head/www/asql/Makefile	Tue May 20 17:51:47 2014	(r354661)
@@ -16,7 +16,6 @@ RUN_DEPENDS=	p5-DBD-SQLite>=0:${PORTSDIR
 
 NO_BUILD=	yes
 PLIST_FILES=	bin/asql
-USES=		perl5
-
-NO_STAGE=	yes
+USES=		perl5 shebangfix
+SHEBANG_FILES=	bin/asql
 .include <bsd.port.mk>

Modified: head/www/asql/files/patch-Makefile
==============================================================================
--- head/www/asql/files/patch-Makefile	Tue May 20 17:42:39 2014	(r354660)
+++ head/www/asql/files/patch-Makefile	Tue May 20 17:51:47 2014	(r354661)
@@ -1,5 +1,5 @@
---- Makefile.orig	2008-10-15 09:37:42.000000000 +0800
-+++ Makefile	2008-10-15 09:38:00.000000000 +0800
+--- Makefile.orig	2012-09-13 00:38:26.000000000 -0700
++++ Makefile	2014-05-20 07:09:07.000000000 -0700
 @@ -40,9 +40,8 @@
  	hg diff 2>/dev/null
  
@@ -7,8 +7,8 @@
 -	mkdir -p ${PREFIX}/usr/bin/
 -	cp bin/asql ${PREFIX}/usr/bin/asql
 -	chmod 755 ${PREFIX}/usr/bin/asql
-+	cp bin/asql ${PREFIX}/bin/asql
-+	chmod 755 ${PREFIX}/bin/asql
++	cp bin/asql ${DESTDIR}${PREFIX}/bin/asql
++	chmod 755 ${DESTDIR}${PREFIX}/bin/asql
  
  
  release: clean commands



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405201751.s4KHplRY001853>