openbsd-ports/net/ttcp/Makefile

35 lines
823 B
Makefile
Raw Normal View History

2002-03-21 16:09:16 -05:00
# $OpenBSD: Makefile,v 1.3 2002/03/21 21:09:20 espie Exp $
COMMENT= "benchmarking tool for analysing TCP and UDP performance"
PKGNAME= ttcp-1.12
CATEGORIES= net
2002-03-21 16:09:16 -05:00
NEED_VERSION= 1.515
MASTER_SITES= ftp://ftp.sgi.com/sgi/src/ttcp/
DISTFILES= ttcp.c ttcp.1 README
EXTRACT_ONLY=
DIST_SUBDIR= ttcp
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
WRKDIST= ${WRKDIR}
post-extract:
@cd ${FULLDISTDIR} && cp -f ${DISTFILES} ${WRKSRC}
do-build:
${CC} ${CFLAGS} -o ${WRKBUILD}/ttcp ${WRKSRC}/ttcp.c
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ttcp
${INSTALL_PROGRAM} ${WRKBUILD}/ttcp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ttcp
.include <bsd.port.mk>