freebsd-ports/devel/p5-Data-UUID/Makefile
Sergey Skvortsov 0659e64d62 Updated to 0.11
2003-08-31 08:18:46 +00:00

32 lines
714 B
Makefile

# 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>