2003-02-23 19:59:42 +00:00
|
|
|
# New ports collection makefile for: automake17
|
|
|
|
# Date created: 15 Feb 2003
|
|
|
|
# Whom: Udo Schweigert
|
1997-05-27 16:40:49 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-05-27 16:40:49 +00:00
|
|
|
#
|
|
|
|
|
2003-06-29 01:58:53 +00:00
|
|
|
PORTNAME= automake
|
|
|
|
PORTVERSION= 1.7.5
|
2003-06-29 04:16:04 +00:00
|
|
|
PORTREVISION= 1
|
1997-05-27 16:40:49 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= automake
|
2002-10-15 06:50:50 +00:00
|
|
|
DISTNAME= automake-${PORTVERSION}
|
1997-05-27 16:40:49 +00:00
|
|
|
|
2003-06-09 23:40:13 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
2003-02-23 19:59:42 +00:00
|
|
|
COMMENT= GNU automake generates input files for GNU autoconf
|
1997-05-27 16:40:49 +00:00
|
|
|
|
2003-06-29 01:58:53 +00:00
|
|
|
BUILD_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
|
|
|
|
RUN_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
|
2002-10-15 05:55:37 +00:00
|
|
|
|
2003-06-29 04:16:04 +00:00
|
|
|
BUILD_VERSION= 17
|
2003-06-29 01:58:53 +00:00
|
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
|
|
|
LATEST_LINK= automake${BUILD_VERSION}
|
|
|
|
USE_BZIP2= yes
|
2002-10-15 05:55:37 +00:00
|
|
|
USE_PERL5= yes
|
1997-05-27 16:40:49 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-29 04:16:04 +00:00
|
|
|
CONFIGURE_ENV= AUTOCONF=autoconf257 AUTOHEADER=autoheader257 MAKEINFO=makeinfo
|
2003-06-29 01:58:53 +00:00
|
|
|
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-23 19:59:42 +00:00
|
|
|
USE_REINPLACE= yes
|
1998-12-12 03:59:35 +00:00
|
|
|
|
2002-09-14 13:32:06 +00:00
|
|
|
.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
|
2003-02-28 22:53:02 +00:00
|
|
|
pre-everything::
|
2002-10-13 13:04:06 +00:00
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${ECHO} "You have 'USE_AUTOMAKE' or 'USE_AUTOMAKE_VER' variables"
|
|
|
|
@${ECHO} "defined either in environment or in make(1) arguments."
|
|
|
|
@${ECHO} "Please undefine them and try again."
|
|
|
|
@${ECHO} ===========================================================
|
|
|
|
@${FALSE}
|
|
|
|
.endif # defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
|
2002-09-14 13:32:06 +00:00
|
|
|
|
2003-06-29 01:58:53 +00:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC} && \
|
|
|
|
${RM} -f *.info && \
|
|
|
|
${MV} automake.texi automake${BUILD_VERSION}.texi && \
|
|
|
|
${REINPLACE_CMD} -E 's,(automake)\.(info),\1${BUILD_VERSION}\.\2,g' automake${BUILD_VERSION}.texi && \
|
2003-06-29 04:16:04 +00:00
|
|
|
${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
|
|
|
|
)
|
1997-06-13 06:49:49 +00:00
|
|
|
|
1997-05-27 16:40:49 +00:00
|
|
|
.include <bsd.port.mk>
|