pkgsrc/devel/p5-Data-UUID/Makefile
agc 4e5ff6c081 Fix obvious error in previous commit:
include bsd.prefs.mk before attempting to test for any variable like
${OPSYS} in a cpp-like pre-processing statement.
2005-12-14 23:35:21 +00:00

25 lines
565 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/12/14 23:35:21 agc Exp $
DISTNAME= Data-UUID-0.11
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Data/}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Perl module for generating UUIDs
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Data/UUID/.packlist
MAKE_ENV+= PERL_MM_USE_DEFAULT=1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
MAKE_PARAMS+= DEFINE=-D_POSIX_C_SOURCE
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"