blob: d775569f9b8b3582d9f5fb1fd94fb3ff637ff686 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# New ports collection makefile for: autoconf-wrapper
# Date created: 4th April 2007
# Whom: des
#
# $FreeBSD$
#
PORTNAME?= autoconf-wrapper
PORTVERSION= 20101119
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 \
autoupdates 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>
|