# $OpenBSD: Makefile,v 1.17 2016/06/29 16:14:40 espie Exp $

VERSION=	1.4
DISTNAME=	automake-${VERSION}-p6
PKGNAME=	automake-1.4.6
REVISION=	5
PKGSPEC=	automake->=${VERSION},<1.5

CONFIGURE_STYLE=gnu

TEST_DEPENDS=devel/gmake

pre-configure:
	${SUBST_CMD} ${WRKSRC}/automake.texi

post-install:
	cd ${PREFIX}/info && mv automake.info automake${SUFFIX}.info

do-test:
	cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} MAKE=${GMAKE} ${GMAKE} -f \
	    ${MAKE_FILE} ${ALL_TEST_FLAGS} ${TEST_TARGET}

.include <bsd.port.mk>
