freebsd-ports/devel/gnu-automake/Makefile
Ade Lovett 6a6e03f398 Fix building documentation under FreeBSD < 6.0
PR:		106385 (with modifications)
Submitted by:	Jonathan Lennox <lennox@cs.columbia.edu>
2006-12-05 19:28:07 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: automake18
# Date created: 15 Feb 2003
# Whom: Udo Schweigert
#
# $FreeBSD$
#
PORTNAME= automake
PORTVERSION= 1.10
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake
PKGNAMEPREFIX= gnu-
DISTNAME= automake-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
COMMENT= GNU Standards-compliant Makefile generator (GNU unmodified)
BUILD_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf
RUN_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf
PREFIX?= ${LOCALBASE}/gnu-autotools
USE_BZIP2= yes
INFO= automake
USE_PERL5= yes
GNU_CONFIGURE= yes
NO_MTREE= yes
CONFIGURE_ENV= AUTOCONF=${LOCALBASE}/gnu-autotools/bin/autoconf \
AUTOHEADER=${LOCALBASE}/gnu-autotools/bin/autoheader \
MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${PREFIX}/man
PLIST_SUB= VERSION=1.10
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
MAKEINFO= ${LOCALBASE}/bin/makeinfo
BUILD_DEPENDS+= ${MAKEINFO}:${PORTSDIR}/print/texinfo
.else
MAKEINFO= makeinfo
.endif
post-patch:
@(cd ${WRKSRC}/doc && ${RM} -f *.info*)
.include <bsd.port.post.mk>