2010-10-18 14:36:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2010/10/18 18:36:59 espie Exp $
|
2001-05-07 23:58:14 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= benchmarking tool for analysing TCP and UDP performance
|
2001-05-07 23:58:14 -04:00
|
|
|
|
|
|
|
PKGNAME= ttcp-1.12
|
|
|
|
CATEGORIES= net
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2001-05-07 23:58:14 -04:00
|
|
|
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
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2001-05-07 23:58:14 -04:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@cd ${FULLDISTDIR} && cp -f ${DISTFILES} ${WRKSRC}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -o ${WRKBUILD}/ttcp ${WRKSRC}/ttcp.c
|
|
|
|
|
2010-10-18 14:36:45 -04:00
|
|
|
USE_GROFF = Yes
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-05-07 23:58:14 -04:00
|
|
|
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>
|