mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
da56da1acd
- Bump PORTREVISION for package change Reported by: swills
32 lines
851 B
Makefile
32 lines
851 B
Makefile
# Created by: Larry Rosenman <ler@lerctr.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= iog
|
|
PORTVERSION= 1.03
|
|
PORTREVISION= 2
|
|
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
|
|
USES= perl5 tar:tgz
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
IOG_USER= iog
|
|
IOG_GROUP= www
|
|
|
|
IOGDIR= ${PREFIX}/iog/iog-${PORTVERSION}
|
|
|
|
do-install:
|
|
PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
|
|
${MKDIR} -m 755 ${STAGEDIR}${IOGDIR}
|
|
${CHMOD} 0600 ${WRKSRC}/iog.cfg
|
|
${CP} ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
|
|
${CP} -R ${WRKSRC}/* ${STAGEDIR}${IOGDIR}
|
|
${CP} ${STAGEDIR}${IOGDIR}/iog.cfg.sample ${STAGEDIR}${IOGDIR}/iog.cfg
|
|
${FIND} ${STAGEDIR}${IOGDIR} -name '*.bak' -or -name '*.orig' -delete
|
|
${LN} -sf ${IOGDIR} ${STAGEDIR}${PREFIX}/iog/iog
|
|
|
|
.include <bsd.port.mk>
|