summaryrefslogtreecommitdiff
path: root/archivers/makeself/Makefile
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-11-18 15:20:38 +0000
committercjep <cjep@pkgsrc.org>2002-11-18 15:20:38 +0000
commit95798083f2d3d0156f36de07b0d590359e26e405 (patch)
treecea78d49308e72b5687f85b66912b38031b3670b /archivers/makeself/Makefile
parent5dbfbd95bdbd7f7e67e41437265bac3e92acdc4d (diff)
downloadpkgsrc-95798083f2d3d0156f36de07b0d590359e26e405.tar.gz
Initial import of makeself 1.5.3 into the NetBSD packages collection as
archivers/makeself. makeself is a (very small) shell script that makes neat self-extracting shell scripts, and allows you to specify a "setup" command to execute upon finishing. This is in a similar concept to Windows winzip self-extracting archives. Noticed in the FreeBSD ports collection.
Diffstat (limited to 'archivers/makeself/Makefile')
-rw-r--r--archivers/makeself/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
new file mode 100644
index 00000000000..207dff84846
--- /dev/null
+++ b/archivers/makeself/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/18 15:20:38 cjep Exp $
+# FreeBSD Id: ports/archivers/makeself/Makefile,v 1.8 2001/07/07 03:47:49 dwcjr Exp
+
+DISTNAME= makeself-1.5.3
+CATEGORIES= archivers
+MASTER_SITES= http://linuxberg.tele.net/files/console/file/
+EXTRACT_SUFX= .gz.sh
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.lokigames.com/~megastep/makeself/
+COMMENT= neat script to make self-extracting archives
+
+EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKDIR}
+NO_BUILD= yes
+
+# 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} ${DISTFILES})
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself
+
+.include "../../mk/bsd.pkg.mk"