head	1.4;
access;
symbols
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.4
date	2005.05.07.09.55.43;	author linimon;	state dead;
branches;
next	1.3;

1.3
date	2004.03.08.10.55.57;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.23.04.42.13;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	2004.01.09.13.28.50;	author clement;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Per insistence of the author of this software, remove these ports from
the Ports Collection.  The author specifically insists that no patches
be distributed for his software.

Please do not contact portmgr about this policy, it is the author's sole
choice.

Hat:	portmgr
@
text
@# New ports collection makefile for:	mod_watch4
# Date created:			11 Octber 2003
# Whom:				Toshiya SAITOH <toshiya@@saitoh.nu>
#
# $FreeBSD: ports/www/mod_watch4/Makefile,v 1.3 2004/03/08 10:55:57 krion Exp $
#

PORTNAME=	mod_watch
PORTVERSION=	4.3
CATEGORIES=	www
MASTER_SITES=	http://www.snert.com/Software/download/
DISTNAME=	${PORTNAME}${PORTVERSION:S/./0/g}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	apache2

MAINTAINER=	toshiya@@saitoh.nu
COMMENT=	An Apache2 module to monitor bandwidth usage, for use with MRTG etc

RUN_DEPENDS=	mrtg:${PORTSDIR}/net-mgmt/mrtg

NO_PACKAGE=	"Binary package distribution is prohibited by license"
NO_CDROM=	"Commercial distfile distribution is prohibited by license"

USE_PERL5_RUN=	yes
USE_APACHE=	yes
WITH_APACHE2=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE=	Makefile.dso

MAKE_ARGS+=	APXS="${APXS}"

LATEST_LINK=	mod_watch4

ALL_TARGET=	build

DOCS=			apache2mrtg.shtml index.shtml mailto.js mod_watch.shtml style.css
DOCS_HTMLIMAGES=	apache-header-476-62.png mrpixel.gif mrtg-bar.png \
			sun-logo.jpg wave1.jpg

do-install:
	${APXS} -i -a -n watch ${WRKSRC}/mod_watch.la
	${INSTALL_SCRIPT} ${WRKSRC}/apache2mrtg.pl ${PREFIX}/sbin
	${INSTALL_SCRIPT} ${WRKSRC}/mod_watch.pl ${PREFIX}/sbin
	${INSTALL_SCRIPT} ${WRKSRC}/nfields.pl ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
	@@${INSTALL} -d -m 0755 ${DOCSDIR}/html/Img
	${INSTALL_DATA} ${WRKSRC}/CHANGES.TXT ${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${DOCSDIR}/
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/html/
.endfor
.for f in ${DOCS_HTMLIMAGES}
	${INSTALL_DATA} ${WRKSRC}/Img/${f} ${DOCSDIR}/html/Img/
.endfor
.endif
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.3
log
@- Utilize LATEST_LINK

PR:		ports/63916
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@Say hello to the new "net-mgmt" category.  There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.

Approved in principle by: marcus
@
text
@d33 2
@


1.1
log
@Add mod_watch4 4.3, an Apache2 module to monitor bandwidth usage, for
use with MRTG etc.

PR:		57865
Submitted by:	Toshiya SAITOH <toshiya@@saitoh.nu>
Approved by:    erwin (mentor) (implicitly)
@
text
@d19 1
a19 1
RUN_DEPENDS=	mrtg:${PORTSDIR}/net/mrtg
@

