1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/misc/p5-OSSP-uuid/Makefile
Frederic Culot 3abb633d25 - Add misc/p5-OSSP-uuid as a replacement for misc/ossp-uuid-perl.
p5-OSSP-uuid only installs the Perl API, hence avoiding to have two
conflicting ports as was the case with ossp-uuid and ossp-uuid-perl.

Suggested by:	mat@
Approved by:	vd@ (ossp-uuid maintainer, via email)
2014-03-17 09:01:44 +00:00

23 lines
512 B
Makefile

# Created by: Frederic Culot <culot@FreeBSD.org>
# $FreeBSD$
COMMENT= Perl bindings for ossp-uuid
BUILD_DEPENDS= ${LOCALBASE}/lib/libuuid.a:${PORTSDIR}/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"