summaryrefslogtreecommitdiff
path: root/archivers/makeself/Makefile
blob: 7031018c88e5fda6c9bb26bfb4fc033f4769feb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	makeself
# Date created:		22 Oct 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	makeself
PORTVERSION=	2.1.2
CATEGORIES=	archivers
MASTER_SITES=	http://www.megastep.org/makeself/
EXTRACT_SUFX=	.run

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A neat script to make self-extracting archives

EXTRACT_CMD=	${SH}
EXTRACT_BEFORE_ARGS=
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}                             
.endif

.include <bsd.port.mk>