aboutsummaryrefslogtreecommitdiff
path: root/archivers/makeself
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-06-03 22:58:09 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-06-03 22:58:09 +0000
commitf6d61cf04f25707e6fd794530625259238959bbb (patch)
treedc996b6e7e2c876cbb13229476eeabe35c1cff05 /archivers/makeself
parent859b8e2ace556f04b45b62fb3bfba0a4b006be15 (diff)
downloadports-f6d61cf04f25707e6fd794530625259238959bbb.tar.gz
ports-f6d61cf04f25707e6fd794530625259238959bbb.zip
Notes
Diffstat (limited to 'archivers/makeself')
-rw-r--r--archivers/makeself/Makefile16
-rw-r--r--archivers/makeself/distinfo4
2 files changed, 13 insertions, 7 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index 99a686b79cee..edbe6a2f98fd 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= makeself
-PORTVERSION= 2.1.3
+PORTVERSION= 2.1.4
CATEGORIES= archivers
MASTER_SITES= http://www.megastep.org/makeself/
EXTRACT_SUFX= .run
@@ -14,7 +14,7 @@ EXTRACT_SUFX= .run
MAINTAINER= ports@FreeBSD.org
COMMENT= A neat script to make self-extracting archives
-RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash2
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
@@ -23,16 +23,22 @@ EXTRACT_AFTER_ARGS= --nox11 --target ${WRKSRC}
NO_BUILD= yes
USE_REINPLACE= yes
+PLIST_FILES= bin/makeself bin/makeself-header \
+ bin/makeself-header.sh bin/makeself.sh
+
+.if !defined(NOPORTDOCS)
PORTDOCS= README
-PLIST_FILES= bin/makeself bin/makeself-header.sh
+.endif
post-patch:
@${REINPLACE_CMD} -e \
's|#!/bin/sh|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/makeself.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself
- ${INSTALL_SCRIPT} ${WRKSRC}/makeself-header.sh ${PREFIX}/bin/makeself-header.sh
+.for i in makeself makeself-header
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i}.sh ${PREFIX}/bin
+ @${LN} -sf ${i}.sh ${PREFIX}/bin/${i}
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/archivers/makeself/distinfo b/archivers/makeself/distinfo
index 7d94b1349f8e..158243830e9c 100644
--- a/archivers/makeself/distinfo
+++ b/archivers/makeself/distinfo
@@ -1,2 +1,2 @@
-MD5 (makeself-2.1.3.run) = 3fce737b92031b556eccf2cf00ef59eb
-SIZE (makeself-2.1.3.run) = 35975
+MD5 (makeself-2.1.4.run) = 43289565b68c3490a6904c4aed004d51
+SIZE (makeself-2.1.4.run) = 36600