mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
- Add LICENSE - Use PYDISTUTILS_AUTOPLIST - Don't override DOCSDIR and EXAMPLESDIR, mva@'s patch will do that soon for us
This commit is contained in:
parent
e2021d50ec
commit
7a85086827
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343536
@ -9,29 +9,24 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= sbz@FreeBSD.org
|
||||
COMMENT= Python fast, simple packet creation / parsing module
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_PYTHON_PREFIX= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX:C/[0-9]+//}${PORTNAME}
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PORTDOCS= AUTHORS CHANGES HACKING LICENSE PKG-INFO README
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
PORTDOCS= AUTHORS CHANGES HACKING PKG-INFO README
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
regression-test: extract
|
||||
@(cd ${WRKSRC} && ${PYTHON_CMD} tests/test-perf2.py)
|
||||
|
@ -1,201 +0,0 @@
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ah.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ah.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ah.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/aim.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/aim.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/aim.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/arp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/arp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/arp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/asn1.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/asn1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/asn1.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/bgp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/bgp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/bgp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/cdp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/cdp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/cdp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/crc32c.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/crc32c.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/crc32c.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dhcp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dhcp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dhcp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/diameter.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/diameter.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/diameter.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dns.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dns.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dns.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dpkt.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dpkt.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dpkt.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dtp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dtp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/dtp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/esp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/esp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/esp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ethernet.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ethernet.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ethernet.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gre.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gre.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gre.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gzip.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gzip.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/gzip.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/h225.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/h225.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/h225.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/hsrp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/hsrp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/hsrp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/http.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/http.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/http.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp6.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/icmp6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ieee80211.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ieee80211.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ieee80211.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/igmp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/igmp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/igmp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip6.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip6.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ip6.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ipx.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ipx.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ipx.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/llc.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/llc.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/llc.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/loopback.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/loopback.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/loopback.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/mrt.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/mrt.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/mrt.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netbios.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netbios.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netbios.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netflow.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netflow.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/netflow.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ntp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ntp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ntp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ospf.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ospf.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ospf.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pcap.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pcap.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pcap.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pim.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pim.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pim.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pmap.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pmap.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pmap.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ppp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ppp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ppp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pppoe.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pppoe.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/pppoe.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/qq.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/qq.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/qq.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radiotap.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radiotap.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radiotap.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radius.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radius.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/radius.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rfb.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rfb.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rfb.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rip.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rip.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rip.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rpc.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rpc.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rpc.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rtp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rtp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rtp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rx.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rx.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/rx.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sccp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sccp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sccp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sctp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sctp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sctp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sip.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sip.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sip.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sll.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sll.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/sll.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/smb.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/smb.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/smb.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/snoop.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/snoop.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/snoop.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl_ciphersuites.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl_ciphersuites.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/ssl_ciphersuites.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stun.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stun.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/stun.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tcp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tcp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tcp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/telnet.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/telnet.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/telnet.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tftp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tftp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tftp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tns.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tns.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tns.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tpkt.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tpkt.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/tpkt.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/udp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/udp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/udp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/vrrp.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/vrrp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/vrrp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/yahoo.py
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/yahoo.pyc
|
||||
%%PYTHON_SITELIBDIR%%/dpkt/yahoo.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/dpkt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dhcprequest.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsping.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nbtping.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ping.py
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user