32 lines
714 B
Makefile
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>
|