aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2014-05-21 01:51:47 +0800
committercs <cs@FreeBSD.org>2014-05-21 01:51:47 +0800
commit170760a4ed6d6bb74cbfc37d6abf309be33f9028 (patch)
treef726079b4eb648a1224ec56bf9c6a1cfb0ed69b6
parent62018bbef985488593209219d3a56d9d2c58e035 (diff)
downloadfreebsd-ports-gnome-170760a4ed6d6bb74cbfc37d6abf309be33f9028.tar.gz
freebsd-ports-gnome-170760a4ed6d6bb74cbfc37d6abf309be33f9028.tar.zst
freebsd-ports-gnome-170760a4ed6d6bb74cbfc37d6abf309be33f9028.zip
Staging support
PR: ports/190007 Submitted by: Joseph Benden <joe@thrallingpenguin.com> Approved by: cs (maintainer)
-rw-r--r--www/asql/Makefile5
-rw-r--r--www/asql/files/patch-Makefile8
2 files changed, 6 insertions, 7 deletions
diff --git a/www/asql/Makefile b/www/asql/Makefile
index 79527ae68a50..fb68ad2c584b 100644
--- a/www/asql/Makefile
+++ b/www/asql/Makefile
@@ -16,7 +16,6 @@ RUN_DEPENDS= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
NO_BUILD= yes
PLIST_FILES= bin/asql
-USES= perl5
-
-NO_STAGE= yes
+USES= perl5 shebangfix
+SHEBANG_FILES= bin/asql
.include <bsd.port.mk>
diff --git a/www/asql/files/patch-Makefile b/www/asql/files/patch-Makefile
index b92a13041770..495b17391f4f 100644
--- a/www/asql/files/patch-Makefile
+++ b/www/asql/files/patch-Makefile
@@ -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