summaryrefslogtreecommitdiff
path: root/archivers/makeself
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-28 05:09:23 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-28 05:09:23 +0000
commit5b837707677265ebd7876f1d04372152f022f4fa (patch)
treec979c1b2c0feecd546053031b9bec7f87c6083d8 /archivers/makeself
parentupdate net/naim: 0.11.5.9 -> 0.11.6 (diff)
fix archivers/makeself: makeself.sh fails
PR: 54805 Submitted by: Andriy I Pylypenko <bamby@oranta.ua>
Notes
Notes: svn path=/head/; revision=85709
Diffstat (limited to 'archivers/makeself')
-rw-r--r--archivers/makeself/Makefile3
-rw-r--r--archivers/makeself/files/patch-makeself.sh13
-rw-r--r--archivers/makeself/pkg-plist1
3 files changed, 17 insertions, 0 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index caa4b92df97c..7031018c88e5 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -20,8 +20,11 @@ EXTRACT_AFTER_ARGS= --nox11 --target ${WRKSRC}
NO_BUILD= yes
+RUN_DEPENDS= /usr/local/bin/bash:/usr/ports/shells/bash2
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself
+ ${INSTALL_SCRIPT} ${WRKSRC}/makeself-header.sh ${PREFIX}/bin/makeself-header.sh
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/archivers/makeself/files/patch-makeself.sh b/archivers/makeself/files/patch-makeself.sh
new file mode 100644
index 000000000000..338f1b92e031
--- /dev/null
+++ b/archivers/makeself/files/patch-makeself.sh
@@ -0,0 +1,13 @@
+*** makeself.sh.orig Thu Jul 24 11:42:36 2003
+--- makeself.sh Thu Jul 24 11:42:45 2003
+***************
+*** 1,4 ****
+! #!/bin/sh
+ #
+ # Makeself version 2.1.x
+ # by Stephane Peter <megastep@megastep.org>
+--- 1,4 ----
+! #!/usr/local/bin/bash
+ #
+ # Makeself version 2.1.x
+ # by Stephane Peter <megastep@megastep.org>
diff --git a/archivers/makeself/pkg-plist b/archivers/makeself/pkg-plist
index 775db042d1bd..86b18d45e5f9 100644
--- a/archivers/makeself/pkg-plist
+++ b/archivers/makeself/pkg-plist
@@ -1,3 +1,4 @@
bin/makeself
+bin/makeself-header.sh
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%