summaryrefslogtreecommitdiffstats
path: root/devel/automake/Makefile
blob: 16aaea2ae8b609b77d3ef20fbac8974e6d1cc3b3 (plain)
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
# Created by: Ade Lovett <ade@FreeBSD.org>
# $FreeBSD$

PORTNAME=	automake
PORTVERSION=	1.14
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	automake
DISTNAME=	automake-${PORTVERSION}

MAINTAINER=	autotools@FreeBSD.org
COMMENT=	GNU Standards-compliant Makefile generator

RUN_DEPENDS=	${AUTOCONF_DEPENDS} \
		automake-wrapper:${PORTSDIR}/devel/automake-wrapper

USE_AUTOTOOLS=	autoconf:env
BUILD_VERSION=	1.14
PLIST_SUB=	BUILD_VERSION=${BUILD_VERSION}
USE_XZ=		yes
USES=		perl5
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--program-suffix=-${BUILD_VERSION}
CONFIGURE_ENV+=	MAKEINFO="makeinfo --no-split"
INFO=		automake
MAN1=		aclocal-${BUILD_VERSION}-${BUILD_VERSION}.1 \
		aclocal-${BUILD_VERSION}.1 \
		automake-${BUILD_VERSION}-${BUILD_VERSION}.1 \
		automake-${BUILD_VERSION}.1

post-patch:
	@${RM} ${WRKSRC}/doc/*.info

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.mk>
OpenPOWER on IntegriCloud