# New ports collection makefile for: ipacco # Date created: 25 June 2006 # Whom: Babak Farrokhi # # $FreeBSD$ # PORTNAME= ipacco PORTVERSION= 0.2.0.1 PORTREVISION= 3 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ipacco MAINTAINER= farrokhi@FreeBSD.org COMMENT= Web based tool to analyze Cisco IP accounting data RUN_DEPENDS= ${LOCALBASE}/include/tclExtend.h:${PORTSDIR}/lang/tclX \ ${LOCALBASE}/lib/mysqltcl-3.03/pkgIndex.tcl:${PORTSDIR}/databases/mysqltcl \ ${LOCALBASE}/lib/tcllib1.9/pkgIndex.tcl:${PORTSDIR}/devel/tcllib NO_BUILD= yes USE_PHP= mysql gd USE_TCL_RUN= yes IPACCO?= www/${PORTNAME} IPACCO_WEB= ${PREFIX}/${IPACCO} PLIST_SUB+= IPACCO_WEB=${IPACCO} SUB_LIST+= IPACCO_WEB=${IPACCO} \ PORTDOCS=${PORTDOCS} \ PORTNAME=${PORTNAME} SUB_FILES= pkg-message .if !defined(NOPORTDOCS) PORTDOCS1= INSTALL.html INSTALL.txt RELNOTES.html RELNOTES.txt PORTDOCS2= README.html README.txt LICENSE CreateDB.sql .endif pre-install: @${FIND} ${WRKSRC} -name '*.bak' -type f -print0 | ${XARGS} -0 ${RM} -f post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/tclsh|${TCLSH}|' \ ${WRKSRC}/datapump/ipacco-datapump.tcl @${REINPLACE_CMD} -e 's|\