Skip to content

Commit

Permalink
benchmarks/ttcp: Simplify Makefile
Browse files Browse the repository at this point in the history
PR:		276759
  • Loading branch information
arrowd committed Feb 24, 2024
1 parent 36c21f9 commit b10b5ea
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions benchmarks/ttcp/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit b10b5ea

Please sign in to comment.