mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Add LICENSE
- Support STAGEDIR - Cleanup Makefile - Update WWW
This commit is contained in:
parent
1e1e34e461
commit
7e78a9bf31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329615
@ -11,18 +11,11 @@ MASTER_SITES= http://michael.toren.net/code/tcptraceroute/ \
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Traceroute implementation using TCP packets
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
LICENSE= GPLv2
|
||||
|
||||
MAN8= tcptraceroute.8
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/libnet10-config:${PORTSDIR}/net/libnet10
|
||||
|
||||
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
|
||||
${WRKSRC}/${MAKEFILE}
|
||||
|
||||
post-install:
|
||||
@${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute
|
||||
@${REINPLACE_CMD} -e 's|libnet-config|libnet10-config|' ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,8 +29,8 @@
|
||||
|
||||
install: tcptraceroute
|
||||
- install -D tcptraceroute $(DESTDIR)/tcptraceroute
|
||||
+ install -c -s tcptraceroute $(BINDIR)/tcptraceroute
|
||||
+ install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8
|
||||
+ install -c -s tcptraceroute $(DESTDIR)$(BINDIR)/tcptraceroute
|
||||
+ install -c -m 444 tcptraceroute.8 $(DESTDIR)$(MANDIR)/man8/tcptraceroute.8
|
||||
|
||||
distrib: clean changelog man
|
||||
|
||||
|
@ -15,4 +15,4 @@ listening for connections on. By sending out TCP SYN packets instead of
|
||||
UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most
|
||||
common firewall filters.
|
||||
|
||||
WWW: http://michael.toren.net/code/tcptraceroute/
|
||||
WWW: https://github.com/mct/tcptraceroute
|
||||
|
@ -1,2 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
man/man8/tcptraceroute.8.gz
|
||||
@mode 4555
|
||||
sbin/tcptraceroute
|
||||
@mode
|
||||
|
Loading…
Reference in New Issue
Block a user