freebsd-ports/devel/automake15/Makefile
Ade Lovett e69cb40145 Set some DEPRECATED and EXPIRATION_DATE knobs to indicate overall intention
of the autotools project to remove all but the latest versions of
libtool, autoconf, and automake, by 31st December 2004.

Note that autoconf259 and automake18 aren't yet accessible through the
relevant USE_* knobs, but will be as soon as bsd.autotools.mk comes into
existence.
2004-03-28 22:30:22 +00:00

50 lines
1.5 KiB
Makefile

# New ports collection makefile for: automake
# Date created: 15 March 1997
# Whom: FUJIMOTO Kensaku <fujimoto@oscar.elec.waseda.ac.jp>
#
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.5
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (version 1.5)
DEPRECATED= Please use devel/automake18 instead
EXPIRATION_DATE=31st December 2004
BUILD_VERSION= 15
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK= automake${BUILD_VERSION}
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL5}
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
.if defined(USE_AUTOMAKE) || defined(USE_AUTOMAKE_VER)
pre-everything::
@${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)
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 && \
${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
)
.include <bsd.port.mk>