Pkgsrc changes: o Ensure to replace the interpreter with ${PERL5} in installed modules Upstream changes: 4.015 Sun Nov 2 10:10:38 PST 2008 in Util v1.23 add missing headers in configure and localconf.h for Solaris inet_xton thanks to Karl Bunch <karl@digilink.net> for spotting the bug.
36 lines
1,001 B
Makefile
36 lines
1,001 B
Makefile
# $NetBSD: Makefile,v 1.14 2008/11/18 15:32:47 he Exp $
|
|
#
|
|
|
|
DISTNAME= NetAddr-IP-4.015
|
|
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
|
|
|
|
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
|
|
|
|
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= '1s=^\#![[:space:]]*.*perl[^[:space:]]*=\#!${PERL5}='
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
PERL5_PACKLIST= auto/NetAddr/IP/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|