aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-OSSP-uuid/Makefile
blob: b2b368fbc14d5d47828283cd0652917dd06a4c36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"