1995-10-12 08:11:56 +01:00
|
|
|
# New ports collection makefile for: autoconf
|
|
|
|
# Date created: 7 October 1995
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: torstenb@FreeBSD.org
|
1995-10-12 08:11:56 +01:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-10-12 08:11:56 +01:00
|
|
|
#
|
|
|
|
|
2001-08-12 05:58:57 +02:00
|
|
|
# Upgrading this port is not possible at this time because it has
|
|
|
|
# extensive implications for the entire ports system. It will be
|
|
|
|
# upgraded as soon as possible. Thanks.
|
|
|
|
|
2001-10-27 19:10:34 +02:00
|
|
|
PORTNAME= autoconf213
|
2001-10-25 17:22:14 +02:00
|
|
|
PORTVERSION= 2.13.000227
|
2002-11-30 04:51:55 +01:00
|
|
|
PORTREVISION= 5
|
1995-11-26 12:29:21 +01:00
|
|
|
CATEGORIES= devel
|
2001-10-25 17:22:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE} ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= binutils autoconf
|
|
|
|
DISTNAME= autoconf-000227
|
1995-10-12 08:11:56 +01:00
|
|
|
|
2003-06-10 01:40:13 +02:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Automatically configure source code on many Un*x platforms (legacy 2.13 version)
|
1995-10-12 08:11:56 +01:00
|
|
|
|
1999-02-11 13:04:27 +01:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
1998-05-04 04:41:51 +02:00
|
|
|
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
2001-10-25 17:22:14 +02:00
|
|
|
USE_BZIP2= yes
|
2002-12-10 03:39:10 +01:00
|
|
|
USE_PERL5= yes
|
1995-10-12 08:11:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-09 17:41:03 +02:00
|
|
|
CONFIGURE_ENV+= CONFIG_SHELL=${SH}
|
2002-10-20 22:48:20 +02:00
|
|
|
CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4
|
2002-10-13 02:13:19 +02:00
|
|
|
CONFIGURE_ARGS= --program-suffix=213
|
2001-10-29 06:38:09 +01:00
|
|
|
WRKSRC= ${WRKDIR}/autoconf
|
1995-10-12 08:11:56 +01:00
|
|
|
|
2002-09-14 15:32:06 +02:00
|
|
|
.if defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2002-10-13 13:34:51 +02:00
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${ECHO} "You have 'USE_AUTOCONF' or 'USE_AUTOCONF_VER' variables"
|
|
|
|
@${ECHO} "defined either in environment or in make(1) arguments."
|
|
|
|
@${ECHO} "Please undefine them and try again."
|
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${FALSE}
|
|
|
|
.endif # defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
|
2002-09-14 15:32:06 +02:00
|
|
|
|
2002-07-10 00:50:27 +02:00
|
|
|
post-patch:
|
2002-10-13 02:13:19 +02:00
|
|
|
@${RM} ${WRKSRC}/*.info* >/dev/null 2>&1 || true
|
2002-07-10 00:50:27 +02:00
|
|
|
|
1998-09-23 18:13:20 +02:00
|
|
|
post-install:
|
2002-10-21 02:04:38 +02:00
|
|
|
@${CHMOD} +x ${PREFIX}/share/autoconf213/config.*
|
2002-10-13 13:34:51 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/install-sh \
|
2002-10-21 02:04:38 +02:00
|
|
|
${PREFIX}/share/autoconf213
|
|
|
|
@-${RM} -fr ${PREFIX}/libexec/autoconf213
|
|
|
|
${MKDIR} ${PREFIX}/libexec/autoconf213
|
2002-07-10 00:50:27 +02:00
|
|
|
.for i in autoconf autoheader autoreconf autoscan autoupdate ifnames
|
2002-12-09 17:50:42 +01:00
|
|
|
${LN} -sf ${PREFIX}/bin/${i}213 \
|
2002-10-21 02:04:38 +02:00
|
|
|
${PREFIX}/libexec/autoconf213/${i}
|
2002-07-10 00:50:27 +02:00
|
|
|
.endfor
|
2002-10-21 02:04:38 +02:00
|
|
|
install-info ${PREFIX}/info/autoconf213.info \
|
|
|
|
${PREFIX}/info/dir
|
1997-06-13 09:33:36 +02:00
|
|
|
|
1995-10-12 08:11:56 +01:00
|
|
|
.include <bsd.port.mk>
|