From b10b5eaba2f20b96afa5ff129d759a9e62d7fb52 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sat, 24 Feb 2024 11:46:06 +0300 Subject: benchmarks/ttcp: Simplify Makefile PR: 276759 --- benchmarks/ttcp/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile index 32a074aa304f..1b9fdb08e70f 100644 --- a/benchmarks/ttcp/Makefile +++ b/benchmarks/ttcp/Makefile @@ -12,13 +12,10 @@ LICENSE= BSD0CLAUSE CFLAGS+= -Wno-strict-prototypes PLIST_FILES= bin/ttcp share/man/man1/ttcp.1.gz -PORTDOCS_PLIST_FILES= share/doc/ttcp/README share/doc/ttcp/CHANGES \ - share/doc/ttcp/LICENSE PORTDOCS= README CHANGES LICENSE OPTIONS_DEFINE= DOCS -# because the ports framework doesn't cope well with bare ${PORTNAME} ${WRKSRC} -post-extract: - ${MV} ${WRKDIR}/${PORTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +WRKSRC= ${WRKDIR}/${PORTNAME} do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/ttcp ${WRKSRC}/ttcp.c -- cgit v1.2.3