aboutsummaryrefslogtreecommitdiff
path: root/devel/gnu-automake/Makefile
blob: f3ee383e59e863c37c24614dfaf28e1da5edb80c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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}

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>