1999-12-10 16:21:48 +01:00
|
|
|
# New ports collection makefile for: makeself
|
|
|
|
# Date created: 22 Oct 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= makeself
|
2005-06-04 00:58:09 +02:00
|
|
|
PORTVERSION= 2.1.4
|
1999-12-10 16:21:48 +01:00
|
|
|
CATEGORIES= archivers
|
2003-05-13 05:52:22 +02:00
|
|
|
MASTER_SITES= http://www.megastep.org/makeself/
|
|
|
|
EXTRACT_SUFX= .run
|
1999-12-10 16:21:48 +01:00
|
|
|
|
2000-06-22 07:52:15 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A neat script to make self-extracting archives
|
1999-12-10 16:21:48 +01:00
|
|
|
|
2005-06-04 00:58:09 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2003-10-26 23:02:00 +01:00
|
|
|
|
2003-05-13 05:52:22 +02:00
|
|
|
EXTRACT_CMD= ${SH}
|
1999-12-10 16:21:48 +01:00
|
|
|
EXTRACT_BEFORE_ARGS=
|
2003-10-26 22:58:50 +01:00
|
|
|
EXTRACT_AFTER_ARGS= --nox11 --target ${WRKSRC}
|
2003-07-06 20:40:45 +02:00
|
|
|
|
1999-12-10 16:21:48 +01:00
|
|
|
NO_BUILD= yes
|
2004-05-09 20:10:06 +02:00
|
|
|
|
2005-06-04 00:58:09 +02:00
|
|
|
PLIST_FILES= bin/makeself bin/makeself-header \
|
|
|
|
bin/makeself-header.sh bin/makeself.sh
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-05-09 20:10:06 +02:00
|
|
|
PORTDOCS= README
|
2005-06-04 00:58:09 +02:00
|
|
|
.endif
|
2004-05-09 20:10:06 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|#!/bin/sh|#!${LOCALBASE}/bin/bash|g' ${WRKSRC}/makeself.sh
|
1999-12-29 03:50:42 +01:00
|
|
|
|
1999-12-10 16:21:48 +01:00
|
|
|
do-install:
|
2005-06-04 00:58:09 +02:00
|
|
|
.for i in makeself makeself-header
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i}.sh ${PREFIX}/bin
|
|
|
|
@${LN} -sf ${i}.sh ${PREFIX}/bin/${i}
|
|
|
|
.endfor
|
2003-10-26 22:58:50 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2003-07-06 20:40:45 +02:00
|
|
|
.endif
|
1999-12-10 16:21:48 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|