diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile index 32a074aa304f..1b9fdb08e70f 100644 --- a/benchmarks/ttcp/Makefile +++ b/benchmarks/ttcp/Makefile @@ -1,34 +1,31 @@ PORTNAME= ttcp PORTVERSION= 1.13 CATEGORIES= benchmarks net MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/ MAINTAINER= portmaster@BSDforge.com COMMENT= Benchmarking tool for analysing TCP and UDP performance WWW= https://codeberg.org/BSDforge/ttcp/ 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 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include