aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/makeself/Makefile12
-rw-r--r--archivers/makeself/distinfo2
2 files changed, 10 insertions, 4 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index fb399702fbc0..0c16d0cdb0bf 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -1,5 +1,5 @@
# New ports collection makefile for: makeself
-# Version required: 1.4
+# Version required: 1.5.3
# Date created: 22 Oct 1999
# Whom: Will Andrews <andrews@technologist.com>
#
@@ -7,7 +7,7 @@
#
DISTNAME= makeself
-PKGNAME= makeself-1.4
+PKGNAME= makeself-1.5.3
CATEGORIES= archivers
MASTER_SITES= http://www.lokigames.com/~megastep/makeself/
EXTRACT_SUFX= .gz.sh
@@ -18,8 +18,14 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PKGNAME}
+
+# The DISPLAY thing is to prevent the script from trying to launch a xterm
+# just to extract the source.
+pre-patch:
+ (cd ${WRKDIR} && ${SETENV} DISPLAY="" ${SH} ${DISTNAME}${EXTRACT_SUFX})
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/makeself.gz.sh ${PREFIX}/bin/makeself
+ @${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself
.include <bsd.port.mk>
diff --git a/archivers/makeself/distinfo b/archivers/makeself/distinfo
index a67dc91318f5..23beb4d73f82 100644
--- a/archivers/makeself/distinfo
+++ b/archivers/makeself/distinfo
@@ -1 +1 @@
-MD5 (makeself.gz.sh) = 634138c39538210e28dfcd3187645aa8
+MD5 (makeself.gz.sh) = 41608cac2b9c01dc44c08c96dc5ac3bf