1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- honor NOPORTEXAMPLES

PR:		165786
Submitted by:	Michael Scheidell
Feature safe:	yes
This commit is contained in:
Dirk Meyer 2012-03-19 18:25:39 +00:00
parent 0673bb6005
commit d110b45254
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293576
2 changed files with 47 additions and 45 deletions

View File

@ -34,8 +34,10 @@ EXAMPLES= sample/*.c
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/libnet-config \
${PREFIX}/bin/libnet${PKGNAMESUFFIX}-config
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}

View File

@ -50,51 +50,51 @@ lib/libnet11/libnet.a
%%PORTDOCS%%%%DOCSDIR%%/libnet_8h.html
%%PORTDOCS%%%%DOCSDIR%%/structlibnet__802__1q__hdr.html
%%PORTDOCS%%%%DOCSDIR%%/structlibnet__802__1x__hdr.html
%%EXAMPLESDIR%%/arp-new.c
%%EXAMPLESDIR%%/arp.c
%%EXAMPLESDIR%%/bgp4_hdr.c
%%EXAMPLESDIR%%/bgp4_notification.c
%%EXAMPLESDIR%%/bgp4_open.c
%%EXAMPLESDIR%%/bgp4_update.c
%%EXAMPLESDIR%%/cdp.c
%%EXAMPLESDIR%%/dhcp_discover.c
%%EXAMPLESDIR%%/dns.c
%%EXAMPLESDIR%%/dot1x.c
%%EXAMPLESDIR%%/fddi_tcp1.c
%%EXAMPLESDIR%%/fddi_tcp2.c
%%EXAMPLESDIR%%/get_addr.c
%%EXAMPLESDIR%%/gre.c
%%EXAMPLESDIR%%/icmp6_echoreq.c
%%EXAMPLESDIR%%/icmp_echo_cq.c
%%EXAMPLESDIR%%/icmp_redirect.c
%%EXAMPLESDIR%%/icmp_timeexceed.c
%%EXAMPLESDIR%%/icmp_timestamp.c
%%EXAMPLESDIR%%/icmp_unreach.c
%%EXAMPLESDIR%%/ieee.c
%%EXAMPLESDIR%%/ip_link.c
%%EXAMPLESDIR%%/ip_raw.c
%%EXAMPLESDIR%%/isl.c
%%EXAMPLESDIR%%/mpls.c
%%EXAMPLESDIR%%/ntp.c
%%EXAMPLESDIR%%/ospf_hello.c
%%EXAMPLESDIR%%/ospf_lsa.c
%%EXAMPLESDIR%%/ping_of_death.c
%%EXAMPLESDIR%%/rpc_tcp.c
%%EXAMPLESDIR%%/rpc_udp.c
%%EXAMPLESDIR%%/sebek.c
%%EXAMPLESDIR%%/smurf.c
%%EXAMPLESDIR%%/stp.c
%%EXAMPLESDIR%%/synflood.c
%%EXAMPLESDIR%%/synflood6.c
%%EXAMPLESDIR%%/synflood6_frag.c
%%EXAMPLESDIR%%/tcp1.c
%%EXAMPLESDIR%%/tcp2.c
%%EXAMPLESDIR%%/tftp.c
%%EXAMPLESDIR%%/tring_tcp1.c
%%EXAMPLESDIR%%/tring_tcp2.c
%%EXAMPLESDIR%%/udp1.c
%%EXAMPLESDIR%%/udp2.c
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-new.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_hdr.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_notification.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_open.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_update.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cdp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dhcp_discover.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot1x.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp1.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp2.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get_addr.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gre.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_echoreq.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_echo_cq.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_redirect.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timeexceed.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timestamp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_unreach.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ieee.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_link.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_raw.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isl.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpls.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ntp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_hello.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_lsa.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ping_of_death.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_tcp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_udp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sebek.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smurf.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6_frag.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp1.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp2.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tftp.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp1.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp2.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp1.c
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp2.c
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/libnet11
@dirrm include/libnet11/libnet