2003-02-23 20:59:42 +01:00
|
|
|
# New ports collection makefile for: automake17
|
|
|
|
# Date created: 15 Feb 2003
|
|
|
|
# Whom: Udo Schweigert
|
1997-05-27 18:40:49 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-05-27 18:40:49 +02:00
|
|
|
#
|
|
|
|
|
2003-06-29 03:58:53 +02:00
|
|
|
PORTNAME= automake
|
|
|
|
PORTVERSION= 1.7.5
|
2003-06-29 06:16:04 +02:00
|
|
|
PORTREVISION= 1
|
1997-05-27 18:40:49 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= automake
|
2002-10-15 08:50:50 +02:00
|
|
|
DISTNAME= automake-${PORTVERSION}
|
1997-05-27 18:40:49 +02:00
|
|
|
|
2003-06-10 01:40:13 +02:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
2004-02-11 20:17:18 +01:00
|
|
|
COMMENT= GNU Standards-compliant Makefile generator (version 1.7)
|
1997-05-27 18:40:49 +02:00
|
|
|
|
2003-06-29 03:58:53 +02:00
|
|
|
BUILD_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
|
|
|
|
RUN_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
|
2002-10-15 07:55:37 +02:00
|
|
|
|
2003-06-29 06:16:04 +02:00
|
|
|
BUILD_VERSION= 17
|
2003-06-29 03:58:53 +02:00
|
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
|
|
|
LATEST_LINK= automake${BUILD_VERSION}
|
|
|
|
USE_BZIP2= yes
|
2002-10-15 07:55:37 +02:00
|
|
|
USE_PERL5= yes
|
1997-05-27 18:40:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-29 06:16:04 +02:00
|
|
|
CONFIGURE_ENV= AUTOCONF=autoconf257 AUTOHEADER=autoheader257 MAKEINFO=makeinfo
|
2003-06-29 03:58:53 +02:00
|
|
|
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-02-23 20:59:42 +01:00
|
|
|
USE_REINPLACE= yes
|
1998-12-12 04:59:35 +01:00
|
|
|
|
2002-09-14 15:32:06 +02:00
|
|
|
.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
|
2003-02-28 23:53:02 +01:00
|
|
|
pre-everything::
|
2002-10-13 15:04:06 +02: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 15:32:06 +02:00
|
|
|
|
2003-06-29 03:58:53 +02: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 06:16:04 +02:00
|
|
|
${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
|
|
|
|
)
|
1997-06-13 08:49:49 +02:00
|
|
|
|
1997-05-27 18:40:49 +02:00
|
|
|
.include <bsd.port.mk>
|