freebsd-ports/archivers/makeself/Makefile
Edwin Groothuis 6527ef2070 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 13:08:29 +00:00

47 lines
1 KiB
Makefile

# New ports collection makefile for: makeself
# Date created: 22 Oct 1999
# Whom: 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= A 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
.if !defined(NOPORTDOCS)
PORTDOCS= README
.endif
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>