summaryrefslogblamecommitdiff
path: root/benchmarks/thrulay/Makefile
blob: e2ec7f700e7c053072bee055a6089e9ebb20d12c (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                   
                 
                              
                  
 
                                   
                                       
                                                         
 


                                 
                   
                                       
                             


                        
                           


                                                                        

                    




                                                                           
 
                     
                                       
                        
                                                               
       

                      
PORTNAME=	thrulay
PORTVERSION=	0.9
PORTREVISION=	2
CATEGORIES=	benchmarks net
MASTER_SITES=	SF

MAINTAINER=	shalunov@shlang.com
COMMENT=	Network capacity tester
WWW=		https://sourceforge.net/projects/thrulay/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USES=		gmake libtool
USE_LDCONFIG=	yes
USE_RC_SUBR=	thrulayd
SUB_FILES=	thrulayd
MAKE_JOBS_UNSAFE=	yes

PORTDOCS=	ChangeLog README thrulay-protocol.txt thrulay-index.html

OPTIONS_DEFINE=	DOCS

post-patch:
	${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure

post-extract:
	@${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>