summaryrefslogtreecommitdiff
path: root/devel/autoconf/Makefile
blob: 91325919092db1bb3051ece346ab191d539faf24 (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
# New ports collection makefile for:	autoconf
# Version required:     2.12
# Date created:		7 October 1995
# Whom:			torstenb@FreeBSD.ORG
#
# $NetBSD: Makefile,v 1.9 1998/03/11 22:40:40 agc Exp $
# FreeBSD Id: Makefile,v 1.12 1997/06/13 20:00:47 max Exp
#

DISTNAME=       autoconf-2.12
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU}

BUILD_DEPENDS=	${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
RUN_DEPENDS=	gm4:${PORTSDIR}/devel/m4

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	M4=${PREFIX}/bin/gm4

PLIST_SRC=	${WRKDIR}/PLIST-src

post-install:
	@(ex='s|@autoscan@|bin/autoscan|';		\
	if [ ! -f ${WRKSRC}/autoscan ]; then		\
		ex='/@autoscan@/d';			\
	fi;						\
	${SED} -e "$$ex" < ${PKGDIR}/PLIST > ${PLIST_SRC})
	@install-info ${PREFIX}/info/autoconf.info ${PREFIX}/info/dir
	@install-info ${PREFIX}/info/standards.info ${PREFIX}/info/dir

.include <bsd.port.mk>