# New ports collection makefile for: MRTG # Date created: April 18th 1997 # Whom: James FitzGibbon # # $FreeBSD$ # PORTNAME= mrtg PORTVERSION= 2.9.25 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \ ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/ \ ${MASTER_SITE_RINGSERVER} MASTER_SITE_SUBDIR= net/mrtg MAINTAINER= demon@FreeBSD.org .if defined(WITH_GD2) LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2 CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ --with-gd-inc=${LOCALBASE}/include .else LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \ --with-gd-inc=${LOCALBASE}/include/gd .endif USE_PERL5= YES MAKE_ENV+= PERL=${PERL} GNU_CONFIGURE= YES CONFIGURE_ENV= PERL=${PERL} MAN1= cfgmaker.1 contrib.1 faq.1 forum.1 indexmaker.1 logfile.1 \ mibhelp.1 mrtg.1 mrtg-rrd.1 mrtglib.1 nt-guide.1 reference.1 \ squid.1 unix-guide.1 webserver.1 do-install: ${MKDIR} -m 755 ${PREFIX}/etc/mrtg ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod ${MKDIR} -m 755 ${DATADIR} .if !defined(NOPORTDOCS) ${MKDIR} -m 755 ${DOCSDIR} for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \ doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \ ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \ done .endif ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod ${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin/ for file in mrtg cfgmaker indexmaker; do \ ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \ done post-install: .if !defined(BATCH) @${ECHO} "" @${ECHO} "############################################################################" @${ECHO} "# Please create a MRTG config file in ${PREFIX}/etc/mrtg #" @${ECHO} "# A configuration file can be automatically generated with cfgmaker #" @${ECHO} "# A sample configuration file is installed as mrtg.cfg.sample #" @${ECHO} "############################################################################" .endif .include evel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 2.2.0ehaupt2017-06-142-3/+4
* Cleanup GH_* and variables order.mat2015-12-291-1/+0
* Update to version 2.1.0pawel2015-10-296-52/+80
* - Switch to options helpersamdmi32015-08-281-7/+2
* Cleanup some abusive use of GH_TAGNAME.mat2015-08-042-3/+2
* Add USES=alias to 11 ports (non-invasive DragonFly support)marino2015-07-031-1/+1
* Convert to USES=autoreconftijl2015-04-181-3/+1
* net/torsocks: 1.2 -> 2.0.0pi2015-03-3015-238/+100
* - Fix plistantoine2014-12-212-1/+3
* Cleanup plistbapt2014-12-101-2/+0
* - Stagifyamdmi32014-07-042-14/+11
* - Convert gmake,bzip2 to USESmiwi2014-05-291-1/+1
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Hack around fallout from recent update to automake-1.14ade2013-07-242-0/+10
* - Convert to OptionsNG [1]wg2013-05-279-69/+92
* - Update to 1.2miwi2012-01-289-84/+62
* Fix library patharved2011-01-142-0/+12