freebsd-ports/devel/autoconf-wrapper/Makefile
Kurt Jaeger db5ab37a1d devel/autoconf-wrapper: Add license information and fix portlint warning
PR:		222336
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	tijl (maintainer timeout)
2017-10-21 08:12:46 +00:00

42 lines
956 B
Makefile

# $FreeBSD$
PORTNAME?= autoconf-wrapper
PORTVERSION= 20131203
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= tijl@FreeBSD.org
COMMENT?= Wrapper script for GNU autoconf
LICENSE= BSD2CLAUSE
WRKSRC= ${WRKDIR}
NO_BUILD= YES
TOOL?= AUTOCONF
WRAPPED_TOOLS?= autoconf autoheader autom4te autoreconf autoscan \
autoupdate ifnames
.include <bsd.port.pre.mk>
TOOLS_CASE!= ${ECHO_CMD} ${WRAPPED_TOOLS} | ${TR} ' ' '|'
PLIST_FILES= bin/${PORTNAME}
.for tool in ${WRAPPED_TOOLS}
PLIST_FILES+= bin/${tool}
.endfor
do-configure:
@${SED} \
-e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%TOOL%%,${TOOL},g' \
-e 's,%%TOOLS_CASE%%,${TOOLS_CASE},g' \
<${FILESDIR}/autotools-wrapper.sh >${WRKDIR}/${PORTNAME}.sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.for tool in ${WRAPPED_TOOLS}
${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${tool}
.endfor
.include <bsd.port.post.mk>