# Created by: Frederic Culot <culot@FreeBSD.org>
# $FreeBSD: head/misc/p5-OSSP-uuid/Makefile 412348 2016-04-01 14:17:44Z mat $

COMMENT=	Perl bindings for ossp-uuid

BUILD_DEPENDS=	${LOCALBASE}/lib/libossp-uuid.a:misc/ossp-uuid

SLAVEPORT=	perl
USES=		perl5
USE_PERL5=	configure

MASTERDIR=	${.CURDIR}/../../misc/ossp-uuid
WRKSRC=		${WRKDIR}/${DISTNAME}/perl
PLIST=		${.CURDIR}/pkg-plist
DESCR=		${.CURDIR}/pkg-descr
PATCHDIR=	${.CURDIR}/files

post-patch:
	@${REINPLACE_CMD} -e \
		's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL

.include "${MASTERDIR}/Makefile"
