freebsd-ports/archivers/makeself/Makefile
Nuno Teixeira 7b2fbef20b archivers/makeself: update to 2.4.5
ChangeLog: https://github.com/megastep/makeself/releases/tag/release-2.4.5

Approved by:	dbaio, garga (mentors, implicit)
2021-06-24 10:17:01 +01:00

40 lines
1,012 B
Makefile

# Created by: Will Andrews <andrews@technologist.com>
PORTNAME= makeself
DISTVERSION= 2.4.5
CATEGORIES= archivers
MASTER_SITES= https://github.com/megastep/makeself/releases/download/release-${PORTVERSION}/
EXTRACT_SUFX= .run
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Neat script to make self-extracting archives
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= --nox11 --target ${WRKSRC}
NO_ARCH= yes
NO_BUILD= yes
PLIST_FILES= bin/makeself bin/makeself-header \
bin/makeself-header.sh bin/makeself.sh \
man/man1/makeself.1.gz
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
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
${INSTALL_MAN} ${WRKSRC}/makeself.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>