freebsd-ports/devel/automake19/Makefile
Ade Lovett ba5a45dae4 Fix build on FreeBSD 5.5 (missing makeinfo features)
PR:		115043
Submitted by:	Heiner <h.eichmann@gmx.de>
2007-07-31 07:36:14 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: automake19
# Date created: 15 Feb 2003
# Whom: Udo Schweigert
#
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.9.6
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (1.9)
RUN_DEPENDS= ${AUTOCONF_DEPENDS} \
automake-wrapper:${PORTSDIR}/devel/automake-wrapper
USE_AUTOTOOLS= autoconf:261:env
BUILD_VERSION= 1.9
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK= automake19
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO"=makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
@${RM} ${WRKSRC}/doc/*.info
@${MV} ${WRKSRC}/doc/automake.texi \
${WRKSRC}/doc/automake-${BUILD_VERSION}.texi
pre-su-install:
@${RM} -fr ${PREFIX}/share/automake-${BUILD_VERSION}
@${MKDIR} ${PREFIX}/share/automake-${BUILD_VERSION}
@${MKDIR} ${PREFIX}/share/aclocal-${BUILD_VERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
CONFIGURE_ARGS+=MAKEINFO=${LOCALBASE}/bin/makeinfo
.endif
.include <bsd.port.post.mk>