PORTNAME=	Sepia
PORTVERSION=	0.992
PORTREVISION=	29
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	ashish@FreeBSD.org
COMMENT=	Simple Emacs-Perl Interface
WWW=		https://metacpan.org/release/Sepia

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Devel-Size>=0:devel/p5-Devel-Size \
		p5-IO-Stringy>=0:devel/p5-IO-Stringy \
		p5-PadWalker>=0:devel/p5-PadWalker \
		p5-Devel-LexAlias>=0:devel/p5-Devel-LexAlias \
		p5-libwww>=0:www/p5-libwww \
		p5-Module-Info>=0:devel/p5-Module-Info \
		p5-BSD-Resource>=0:devel/p5-BSD-Resource

USES=		emacs gmake makeinfo perl5
USE_PERL5=	configure

CONFIGURE_ARGS+=	--emacs ${EMACS_CMD} --lisp ${PREFIX}/${EMACS_SITE_LISPDIR}/sepia --info ${PREFIX}/${INFO_PATH}

INFO=	sepia

.include <bsd.port.mk>
