freebsd-ports/devel/autoconf-wrapper/Makefile
Ade Lovett b3b33257e5 - Update devel/automake to 1.14
- Update devel/gettext to 0.18.3
- Fix known-broken (from exp-runs) ports
- Clean up a lot of cruft in the devel/gettext port itself,
  based on work from tijl@

PR:		178883
Submitted by:	ade
Sponsored by:	Wadsworth 6X
2013-07-16 05:42:36 +00:00

39 lines
918 B
Makefile

# $FreeBSD$
PORTNAME?= autoconf-wrapper
PORTVERSION= 20130530
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= autotools@FreeBSD.org
COMMENT?= Wrapper script for GNU autoconf
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 ${PREFIX}/bin/${PORTNAME}
.for tool in ${WRAPPED_TOOLS}
@${LN} -s ${PORTNAME} ${PREFIX}/bin/${tool}
.endfor
.include <bsd.port.post.mk>