1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/gnu-automake/Makefile

52 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: automake17
# Date created: 15 Feb 2003
# Whom: Udo Schweigert
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.7.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU automake generates input files for GNU autoconf
BUILD_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
RUN_DEPENDS= autoconf257:${PORTSDIR}/devel/autoconf257
BUILD_VERSION= 17
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK= automake${BUILD_VERSION}
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= AUTOCONF=autoconf257 AUTOHEADER=autoheader257 MAKEINFO=makeinfo
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
1998-12-12 03:59:35 +00:00
.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>