3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: aguri
|
|
# Date created: 27 February 2003
|
|
# Whom: Yann Berthier <yb@sainte-barbe.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aguri
|
|
PORTVERSION= 0.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt ipv6
|
|
MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/kjc/
|
|
|
|
MAINTAINER= yb@bashibuzuk.net
|
|
COMMENT= An Aggregation-based Traffic Profiler
|
|
|
|
.if defined(WITH_X11)
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile
|
|
USE_XORG= x11
|
|
.endif
|
|
|
|
MAN1= aguri.1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,/usr/X11R6,${LOCALBASE}," ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/aguri ${PREFIX}/bin
|
|
@${INSTALL_MAN} ${WRKSRC}/aguri.1 ${MANPREFIX}/man/man1
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for FILES in CHANGES INSTALL README
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILES} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${MKDIR} ${DATADIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/scripts/README ${DATADIR}
|
|
.for SCRIPTS in agurify.pl density.pl makeimages.pl makeplot.pl
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/scripts/${SCRIPTS} \
|
|
${DATADIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|