blob: c81cff7a7aa2b97928c9cfb5fd0c444d1cb7eca7 (
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
34
35
36
37
38
39
40
41
|
# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= makeself
PORTVERSION= 2.1.5
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.megastep.org/makeself/
EXTRACT_SUFX= .run
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Neat script to make self-extracting archives
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= --nox11 --target ${WRKSRC}
NO_BUILD= yes
PLIST_FILES= bin/makeself bin/makeself-header \
bin/makeself-header.sh bin/makeself.sh
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e \
's|#!/bin/sh|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/makeself.sh
do-install:
.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}
.endif
.include <bsd.port.mk>
|