aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Data-UUID/Makefile
blob: cd235665b802bfa277209b94f7e53f72c3ad3f14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    Data::UUID
# Date created:     28 Jan 2002
# Whom:         Sergey Skvortsov <skv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Data-UUID
PORTVERSION=    0.11
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Module for generating Globally/Universally Unique Identifiers (GUIDs/UUIDs)

PERL_CONFIGURE= yes
CONFIGURE_ARGS= </dev/null

MAN3=       Data::UUID.3

.include <bsd.port.pre.mk>

post-patch:
.if ${PERL_LEVEL} < 500601
    @${PERL} -pi -e '$$_="" if $$.==31' ${WRKSRC}/UUID.pm
    @${PERL} -pi -e '$$_=~s/INT2PTR\(\$$type,/(\$$type)(/ if $$.==8' \
        ${WRKSRC}/typemap
.endif

.include <bsd.port.post.mk>