aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/makeself
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-28 13:09:23 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-28 13:09:23 +0800
commit0e09693564992295797ab3b1ee025ac52cee18af (patch)
treec648b47b795d6ae7e67f38cde0dffe785340ad7b /archivers/makeself
parentf60dec944cd4d767faac6249d243f529f9bbee46 (diff)
downloadfreebsd-ports-gnome-0e09693564992295797ab3b1ee025ac52cee18af.tar.gz
freebsd-ports-gnome-0e09693564992295797ab3b1ee025ac52cee18af.tar.zst
freebsd-ports-gnome-0e09693564992295797ab3b1ee025ac52cee18af.zip
fix archivers/makeself: makeself.sh fails
PR: 54805 Submitted by: Andriy I Pylypenko <bamby@oranta.ua>
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%%