aboutsummaryrefslogblamecommitdiff
path: root/net-mgmt/iog/Makefile
blob: fbbec48572500b7708400edc889b7ba74ffc9601 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             
           

                   
                    
                 
                        
                                        
 
                                 


                                                           


                                        
                                      
                   
 
                                                

           
                                                                  
                                            
                                                                             
                                                 
                                                        

                      
# Created by: Larry Rosenman <ler@lerctr.org>
# $FreeBSD$

PORTNAME=	iog
PORTVERSION=	1.03
PORTREVISION=	5
CATEGORIES=	net-mgmt
MASTER_SITES=	http://www.dynw.com/iog/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Graphs Byte Counts for switches/routers/etc

NO_BUILD=	yes
NO_ARCH=	yes
USES=		perl5 shebangfix tar:tgz
SHEBANG_FILES=	${PORTNAME}
PLIST_SUB=	VERSION=${PORTVERSION}
USERS=		iog

IOGDIR=		${PREFIX}/iog/iog-${PORTVERSION}

do-install:
	${FIND} ${WRKSRC} -name '*.bak' -or -name '*.orig' -delete
	${MKDIR} -m 755 ${STAGEDIR}${IOGDIR}
	${INSTALL} ${COPY} -m 0600 ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
	${CP} -R ${WRKSRC}/* ${STAGEDIR}${IOGDIR}
	${LN} -sf ${IOGDIR} ${STAGEDIR}${PREFIX}/iog/iog

.include <bsd.port.mk>