1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix staging violations.

While there, fix COPYTREE_SHARE usage, github usage, and make it more
into what a port should look like.

Reported by:	qat
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-11-08 12:56:00 +00:00
parent b3f6f195f5
commit f83515d7e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425735
2 changed files with 7 additions and 12 deletions

View File

@ -3,7 +3,6 @@
PORTNAME= tcptestsuite
PORTVERSION= 0.0.2
CATEGORIES= net ipv6
DISTNAME= ${PORTNAME}-dcf5c31
MAINTAINER= gnn@freebsd.org
COMMENT= Network stack test suite
@ -17,16 +16,12 @@ GH_ACCOUNT= freebsd-net
GH_PROJECT= tcp-testsuite
GH_TAGNAME= dcf5c31
do-build:
echo "built"
NO_ARCH= yes
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/run-all-tests ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite
.for f in snd-syn socket-api rcv-icmp snippets state-event-engine
${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite/${f}
@(cd ${WRKSRC}/${f} && \
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${f})
.endfor
(cd ${WRKSRC} && \
${COPYTREE_SHARE} "snd-syn socket-api rcv-icmp snippets state-event-engine" ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1478270735
SHA256 (tcptestsuite-dcf5c31_GH0.tar.gz) = f3ed3ef625b1dca72ff4676f1687d290a4158329cbd57f50f7a35adf4a68d017
SIZE (tcptestsuite-dcf5c31_GH0.tar.gz) = 51319
TIMESTAMP = 1478609592
SHA256 (freebsd-net-tcp-testsuite-0.0.2-dcf5c31_GH0.tar.gz) = f3ed3ef625b1dca72ff4676f1687d290a4158329cbd57f50f7a35adf4a68d017
SIZE (freebsd-net-tcp-testsuite-0.0.2-dcf5c31_GH0.tar.gz) = 51319