From 10f22ecd6d1808866406972dd09e2e107e41ceb2 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 13 Mar 2015 17:29:58 +0000 Subject: Clean up the rest of the perl@ Makefiles a bit. - Remove dependencies on modules distributed as part of perl core - Remove references to FreeBSD < 8 and perl < 5.16 - Ensure that DOCS and EXAMPLES options exist for ports installing PORTDOCS or PORTEXAMPLES - Reduce unnecessary inclusions of bsd.port.options.mk by using OPTIONS helpers and the like - Fix some cases where dependencies were only assigned to BUILD_DEPENDS - Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS. This one happens in many, many ports. I only applied it in cases where it interfered with 'make test' but it should maybe be done more generally. - Mute ${MKDIR} in installation - Parethesize compound commands - In www/p5-URI-Fetch, remove the ZLIB option that wasn't used --- net/p5-Socket-GetAddrInfo/Makefile | 11 +---------- net/p5-Socket-GetAddrInfo/pkg-plist | 19 ++++++------------- 2 files changed, 7 insertions(+), 23 deletions(-) (limited to 'net/p5-Socket-GetAddrInfo') diff --git a/net/p5-Socket-GetAddrInfo/Makefile b/net/p5-Socket-GetAddrInfo/Makefile index 7a89fd60df70..1b5ffc00e2b5 100644 --- a/net/p5-Socket-GetAddrInfo/Makefile +++ b/net/p5-Socket-GetAddrInfo/Makefile @@ -17,13 +17,4 @@ USES= perl5 shebangfix USE_PERL5= modbuild SHEBANG_FILES= bin/getaddrinfo bin/getnameinfo -.include - -# It only needs to compile stuff on perl older than 5.16. -.if ${PERL_LEVEL} < 501600 -PLIST_SUB+= OLD_PERL="" NEW_PERL="@comment " -.else -PLIST_SUB+= OLD_PERL="@comment " NEW_PERL="" -.endif - -.include +.include diff --git a/net/p5-Socket-GetAddrInfo/pkg-plist b/net/p5-Socket-GetAddrInfo/pkg-plist index af1b5a64853c..bdf7cd3b6197 100644 --- a/net/p5-Socket-GetAddrInfo/pkg-plist +++ b/net/p5-Socket-GetAddrInfo/pkg-plist @@ -1,21 +1,14 @@ bin/getaddrinfo bin/getnameinfo -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo.pm -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo/Core.pm -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo/Emul.pm -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo/Socket6api.pm -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo/Strict.pm -%%OLD_PERL%%%%SITE_ARCH%%/Socket/GetAddrInfo/XS.pm -%%OLD_PERL%%%%SITE_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.so +%%SITE_PERL%%/Socket/GetAddrInfo.pm +%%SITE_PERL%%/Socket/GetAddrInfo/Core.pm +%%SITE_PERL%%/Socket/GetAddrInfo/Emul.pm +%%SITE_PERL%%/Socket/GetAddrInfo/Socket6api.pm +%%SITE_PERL%%/Socket/GetAddrInfo/Strict.pm +%%SITE_PERL%%/Socket/GetAddrInfo/XS.pm %%PERL5_MAN3%%/Socket::GetAddrInfo.3.gz %%PERL5_MAN3%%/Socket::GetAddrInfo::Emul.3.gz %%PERL5_MAN3%%/Socket::GetAddrInfo::Socket6api.3.gz %%PERL5_MAN3%%/Socket::GetAddrInfo::Strict.3.gz man/man1/getaddrinfo.1.gz man/man1/getnameinfo.1.gz -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo.pm -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Core.pm -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Emul.pm -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Socket6api.pm -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Strict.pm -%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/XS.pm -- cgit v1.2.3