Setting license to artistic according to module documentation Upstream changes: 4.027 Tue Jun 9 10:31:11 PDT 2009 In NetAddr::IP::Util v1.31, ferret out shell value for Makefile.PL when calling ./configure for systems where the 'x' bit gets lost due to bug in Archive::Tar
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2009/07/08 10:07:19 sno Exp $
|
|
#
|
|
|
|
DISTNAME= NetAddr-IP-4.027
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5nai
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=NetAddr/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/NetAddr-IP/
|
|
COMMENT= Perl5 module for managing IP addresses
|
|
LICENSE= artistic
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
# This is for the 'test' target
|
|
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
|
|
|
|
REPLACE_PERL+= IP.pm
|
|
REPLACE_PERL+= Lite/Lite.pm
|
|
REPLACE_PERL+= Lite/Util/Util.pm
|
|
REPLACE_PERL+= Lite/Util/lib/NetAddr/IP/UtilPP.pm
|
|
REPLACE_PERL+= Lite/Util/tlib/NetAddr/IP/Util_IS.pm
|
|
|
|
SUBST_CLASSES+= fixperl
|
|
SUBST_STAGE.fixperl= pre-install
|
|
SUBST_MESSAGE.fixperl= Fixing perl interpreter
|
|
SUBST_FILES.fixperl= blib/lib/NetAddr/IP/Util_IS.pm
|
|
SUBST_FILES.fixperl+= Lite/Util/Util_IS.pm
|
|
SUBST_SED.fixperl= -e '1s=^\#![[:space:]]*.*perl[^[:space:]]*=\#!${PERL5}='
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
PERL5_PACKLIST= auto/NetAddr/IP/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|