diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 21:54:58 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-06 21:54:58 +0800 |
commit | ef4f7cf1bf689fa6579bb90e0236aba7aaeac54f (patch) | |
tree | 75a31c17a027dc81f8050e059e99afe36224bf9c /net | |
parent | c233553e8dfffc1daf424df751e46343e1a03103 (diff) | |
download | freebsd-ports-gnome-ef4f7cf1bf689fa6579bb90e0236aba7aaeac54f.tar.gz freebsd-ports-gnome-ef4f7cf1bf689fa6579bb90e0236aba7aaeac54f.tar.zst freebsd-ports-gnome-ef4f7cf1bf689fa6579bb90e0236aba7aaeac54f.zip |
Support staging.
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Packet/Makefile | 25 | ||||
-rw-r--r-- | net/p5-Net-Packet/pkg-plist | 63 |
2 files changed, 49 insertions, 39 deletions
diff --git a/net/p5-Net-Packet/Makefile b/net/p5-Net-Packet/Makefile index dca70e353719..17dbc060a2d0 100644 --- a/net/p5-Net-Packet/Makefile +++ b/net/p5-Net-Packet/Makefile @@ -23,23 +23,14 @@ USES= perl5 USE_PERL5= configure EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} -MAN3= Net::Packet.3 Net::Packet::ARP.3 Net::Packet::CDP.3 Net::Packet::CDP::Address.3 \ -Net::Packet::CDP::Type.3 Net::Packet::CDP::TypeAddresses.3 Net::Packet::CDP::TypeCapabilities.3 \ -Net::Packet::CDP::TypeDeviceId.3 Net::Packet::CDP::TypePortId.3 \ -Net::Packet::CDP::TypeSoftwareVersion.3 Net::Packet::Consts.3 Net::Packet::Desc.3 \ -Net::Packet::DescL2.3 Net::Packet::DescL3.3 Net::Packet::DescL4.3 Net::Packet::Dump.3 \ -Net::Packet::ETH.3 Net::Packet::Env.3 Net::Packet::Frame.3 Net::Packet::ICMPv4.3 Net::Packet::IGMPv4.3 \ -Net::Packet::IPv4.3 Net::Packet::IPv6.3 Net::Packet::LLC.3 Net::Packet::Layer.3 Net::Packet::Layer2.3 \ -Net::Packet::Layer3.3 Net::Packet::Layer4.3 Net::Packet::Layer7.3 Net::Packet::NULL.3 \ -Net::Packet::OSPF.3 Net::Packet::PPP.3 Net::Packet::PPPLCP.3 Net::Packet::PPPoE.3 Net::Packet::RAW.3 \ -Net::Packet::SLL.3 Net::Packet::STP.3 Net::Packet::TCP.3 Net::Packet::UDP.3 Net::Packet::Utils.3 \ -Net::Packet::VLAN.3 - -.if !defined(NOPORTEXAMPLES) -NO_STAGE= yes +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + post-install: - ${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}) .include <bsd.port.mk> diff --git a/net/p5-Net-Packet/pkg-plist b/net/p5-Net-Packet/pkg-plist index 242721a2a847..6a31da001b83 100644 --- a/net/p5-Net-Packet/pkg-plist +++ b/net/p5-Net-Packet/pkg-plist @@ -40,30 +40,49 @@ %%SITE_PERL%%/Net/Packet/UDP.pm %%SITE_PERL%%/Net/Packet/Utils.pm %%SITE_PERL%%/Net/Packet/VLAN.pm +%%PERL5_MAN3%%/Net::Packet.3.gz +%%PERL5_MAN3%%/Net::Packet::ARP.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::Address.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::Type.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::TypeAddresses.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::TypeCapabilities.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::TypeDeviceId.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::TypePortId.3.gz +%%PERL5_MAN3%%/Net::Packet::CDP::TypeSoftwareVersion.3.gz +%%PERL5_MAN3%%/Net::Packet::Consts.3.gz +%%PERL5_MAN3%%/Net::Packet::Desc.3.gz +%%PERL5_MAN3%%/Net::Packet::DescL2.3.gz +%%PERL5_MAN3%%/Net::Packet::DescL3.3.gz +%%PERL5_MAN3%%/Net::Packet::DescL4.3.gz +%%PERL5_MAN3%%/Net::Packet::Dump.3.gz +%%PERL5_MAN3%%/Net::Packet::ETH.3.gz +%%PERL5_MAN3%%/Net::Packet::Env.3.gz +%%PERL5_MAN3%%/Net::Packet::Frame.3.gz +%%PERL5_MAN3%%/Net::Packet::ICMPv4.3.gz +%%PERL5_MAN3%%/Net::Packet::IGMPv4.3.gz +%%PERL5_MAN3%%/Net::Packet::IPv4.3.gz +%%PERL5_MAN3%%/Net::Packet::IPv6.3.gz +%%PERL5_MAN3%%/Net::Packet::LLC.3.gz +%%PERL5_MAN3%%/Net::Packet::Layer.3.gz +%%PERL5_MAN3%%/Net::Packet::Layer2.3.gz +%%PERL5_MAN3%%/Net::Packet::Layer3.3.gz +%%PERL5_MAN3%%/Net::Packet::Layer4.3.gz +%%PERL5_MAN3%%/Net::Packet::Layer7.3.gz +%%PERL5_MAN3%%/Net::Packet::NULL.3.gz +%%PERL5_MAN3%%/Net::Packet::OSPF.3.gz +%%PERL5_MAN3%%/Net::Packet::PPP.3.gz +%%PERL5_MAN3%%/Net::Packet::PPPLCP.3.gz +%%PERL5_MAN3%%/Net::Packet::PPPoE.3.gz +%%PERL5_MAN3%%/Net::Packet::RAW.3.gz +%%PERL5_MAN3%%/Net::Packet::SLL.3.gz +%%PERL5_MAN3%%/Net::Packet::STP.3.gz +%%PERL5_MAN3%%/Net::Packet::TCP.3.gz +%%PERL5_MAN3%%/Net::Packet::UDP.3.gz +%%PERL5_MAN3%%/Net::Packet::Utils.3.gz +%%PERL5_MAN3%%/Net::Packet::VLAN.3.gz @dirrmtry %%SITE_PERL%%/Net/Packet/CDP @dirrmtry %%SITE_PERL%%/Net/Packet @dirrmtry %%SITE_PERL%%/Net @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-reply.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-request.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-scan.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chaos-query.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/d3-syn-send.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/d4-syn-send.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-dest-unreach.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-echo.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-information.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-mask.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-redirect.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-timestamp.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip6-syn-send.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ipv4-flags.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read-pcap.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sniffer.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syn-scan.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syn-send.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp-send.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vlan-craft.pl -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vlan-support.pl -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |