aboutsummaryrefslogtreecommitdiffstats
path: root/devel/automake16/Makefile
blob: 73b75d523a09bd522dfe7362df27972d2a94dbc4 (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
# New ports collection makefile for:    automake
# Date created:             14th April 2007
# Whom:                 Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   automake
PORTVERSION=    1.6.3
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= automake

# note: before committing to this port, contact portmgr to arrange for an
# experimental ports run.  Untested commits may be backed out at portmgr's
# discretion.
MAINTAINER= autotools@FreeBSD.org
COMMENT=    GNU Standards-compliant Makefile generator (1.6)

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

USE_AUTOTOOLS=  autoconf:262:env
BUILD_VERSION=  1.6
PLIST_SUB=  BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK=    automake16
USE_PERL5=  yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
INFO=       automake-${BUILD_VERSION}

post-patch:
    @${RM} ${WRKSRC}/*.info
    @${MV} ${WRKSRC}/automake.texi ${WRKSRC}/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.mk>