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
|
|
|
#
|
|
|
|
|
2003-02-14 00:36:02 +01:00
|
|
|
PORTNAME= autoconf257
|
|
|
|
PORTVERSION= 2.57
|
2002-10-15 07:50:31 +02:00
|
|
|
PORTREVISION= 0
|
1995-11-26 12:29:21 +01:00
|
|
|
CATEGORIES= devel
|
2001-12-23 07:50:33 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= autoconf
|
2003-02-14 00:36:02 +01:00
|
|
|
DISTNAME= autoconf-${PORTVERSION}
|
1995-10-12 08:11:56 +01:00
|
|
|
|
2002-11-01 14:09:32 +01:00
|
|
|
MAINTAINER= alane@FreeBSD.org
|
2003-02-19 11:20:44 +01:00
|
|
|
COMMENT= Automatically configure source code on many Un*x platforms
|
1995-10-12 08:11:56 +01:00
|
|
|
|
2002-09-16 12:28:33 +02:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
|
|
|
|
help2man:${PORTSDIR}/misc/help2man
|
1998-05-04 04:41:51 +02:00
|
|
|
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
2003-02-19 11:20:44 +01:00
|
|
|
BROKEN= Work is in progress right now.
|
2002-10-15 07:50:31 +02:00
|
|
|
|
2002-03-14 14:29:00 +01:00
|
|
|
USE_BZIP2= yes
|
2002-10-15 07:50:31 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5= yes
|
2002-03-14 14:29:00 +01:00
|
|
|
|
1995-10-12 08:11:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-02-19 11:20:44 +01:00
|
|
|
CONFIGURE_ENV+= CONFIG_SHELL=${SH}
|
2002-10-20 22:48:20 +02:00
|
|
|
CONFIGURE_ENV+= M4=${LOCALBASE}/bin/gm4
|
2003-02-14 00:36:02 +01:00
|
|
|
CONFIGURE_ARGS= --program-suffix=257
|
2002-09-16 12:28:33 +02:00
|
|
|
|
2002-10-20 22:48:20 +02:00
|
|
|
.if ${PORTNAME} == "autoconf"
|
2002-09-16 12:28:33 +02:00
|
|
|
.if exists(${LOCALBASE}/bin/emacs)
|
|
|
|
PLIST_SUB+= EMACS="" EMACSDIR=share/emacs
|
|
|
|
.elif exists(${LOCALBASE}/bin/xemacs)
|
|
|
|
PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
|
2002-10-20 22:48:20 +02:00
|
|
|
.endif # no emacs found
|
|
|
|
.endif # ${PORTNAME} == "autoconf"
|
2002-03-14 14:29:00 +01:00
|
|
|
|
|
|
|
GENERIC_TOOLS= config.guess \
|
|
|
|
config.sub \
|
|
|
|
elisp-comp \
|
|
|
|
install-sh \
|
|
|
|
mdate-sh \
|
|
|
|
missing \
|
|
|
|
mkinstalldirs
|
1995-10-12 08:11:56 +01:00
|
|
|
|
2002-10-13 13:35:47 +02:00
|
|
|
.if defined(USE_AUTOCONF) || defined(USE_AUTOCONF_VER)
|
|
|
|
pre-everything:
|
|
|
|
@${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)
|
|
|
|
|
2001-12-24 15:34:26 +01:00
|
|
|
post-install:
|
2003-02-19 11:20:44 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/autoconf257
|
2002-03-14 14:29:00 +01:00
|
|
|
.for FILE in ${GENERIC_TOOLS}
|
2003-02-14 00:36:02 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/config/${FILE} ${PREFIX}/share/autoconf257
|
2001-12-26 16:07:34 +01:00
|
|
|
.endfor
|
2001-12-24 15:34:26 +01:00
|
|
|
|
2003-02-19 11:20:44 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2003-02-23 20:30:12 +01:00
|
|
|
#.include "${FILESDIR}/manpages.mk"
|
2003-02-19 11:20:44 +01:00
|
|
|
.include <bsd.port.post.mk>
|