# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD: head/devel/autogen/Makefile 464068 2018-03-10 11:22:59Z cpm $

PORTNAME=	autogen
PORTVERSION=	5.18.12
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	GNU/${PORTNAME}/rel${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Tool designed to simplify the creation and maintenance of programs

LICENSE=	GPLv2

BUILD_DEPENDS=	bash:shells/bash
LIB_DEPENDS=	libguile-2.0.so:lang/guile2
RUN_DEPENDS:=	${BUILD_DEPENDS}

# bin/columns
CONFLICTS_INSTALL=	columns

CONFIGURE_ARGS=	--datadir=${PREFIX}/share --with-libguile=yes --with-libxml2=yes
CONFIGURE_ENV=	CONFIG_SHELL=${LOCALBASE}/bin/bash
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_GNOME=	libxml2
USE_LDCONFIG=	yes
USE_PERL5=	build
USES=		gmake gnome libtool pathfix perl5 pkgconfig shebangfix tar:xz

INFO=		autogen

SHEBANG_FILES=	autoopts/tpl/*.pl

.include <bsd.port.mk>
