mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
41fcfb64f9
For liborange, reverse the logic, as I'm pretty sure the OPTIONS were being used to disable the selected options. Approved by: portmgr (blanket)
43 lines
956 B
Makefile
43 lines
956 B
Makefile
# 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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin
|
|
@${LN} -sf ${i}.sh ${STAGEDIR}${PREFIX}/bin/${i}
|
|
.endfor
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|