mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
- honor PORTEXAMPLES
Feature safe: yes
This commit is contained in:
parent
d110b45254
commit
1cc0c1ef51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293577
@ -65,11 +65,13 @@ post-patch:
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin/${SHORT_NAME}-config
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
||||
@cd ${PREFIX}/lib && \
|
||||
${LN} -sf ${SHORT_NAME}/libnet.so libnet-${PORTVERSION}.so.7 && \
|
||||
${LN} -sf libnet-${PORTVERSION}.so.7 libnet-${PORTVERSION}.so
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
|
@ -23,55 +23,55 @@ lib/libnet-%%VERSION%%.so.7
|
||||
%%PORTDOCS%%%%DOCSDIR%%/RAWSOCKET_NON_SEQUITUR
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%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%%/hsrp.c
|
||||
%%EXAMPLESDIR%%/icmp6_echoreq.c
|
||||
%%EXAMPLESDIR%%/icmp6_unreach.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%%/test_ipv4.c
|
||||
%%EXAMPLESDIR%%/test_ipv4_options.c
|
||||
%%EXAMPLESDIR%%/test_ipv6_icmpv4.c
|
||||
%%EXAMPLESDIR%%/tftp.c
|
||||
%%EXAMPLESDIR%%/tring_tcp1.c
|
||||
%%EXAMPLESDIR%%/tring_tcp2.c
|
||||
%%EXAMPLESDIR%%/udp1.c
|
||||
%%EXAMPLESDIR%%/udp2.c
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%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%%/hsrp.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_echoreq.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_unreach.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%%/test_ipv4.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv4_options.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv6_icmpv4.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/%%SNAME%%
|
||||
@dirrm include/%%SNAME%%/libnet
|
||||
|
Loading…
Reference in New Issue
Block a user