1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Do not install files which are included into p5-SNMP_Session port.

Rather depend on it.  This fixes conflict when both ports are installed.

PR:		50470
Submitted by:	Ruben van Staveren <ruben@helium.verweg.com>
This commit is contained in:
Dmitry Sivachenko 2003-06-07 19:02:05 +00:00
parent 8bb44d482d
commit 3d0cca017a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82464
4 changed files with 12 additions and 6 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= mrtg
PORTVERSION= 2.9.29
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \
@ -17,6 +18,8 @@ MASTER_SITE_SUBDIR= net/mrtg
MAINTAINER= demon@FreeBSD.org
COMMENT= The multi-router traffic grapher
RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session
.if defined(WITH_GD2)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
@ -38,6 +41,9 @@ 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
post-patch:
${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm
do-install:
${MKDIR} -m 755 ${PREFIX}/etc/mrtg
${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}

View File

@ -3,15 +3,12 @@ bin/indexmaker
bin/mrtg
bin/rateup
etc/mrtg/mrtg.cfg.sample
lib/perl5/site_perl/%%PERL_VER%%/BER.pm
lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm
%%PORTDOCS%%share/doc/mrtg/ANNOUNCE
%%PORTDOCS%%share/doc/mrtg/CHANGES

View File

@ -7,6 +7,7 @@
PORTNAME= mrtg
PORTVERSION= 2.9.29
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \
@ -17,6 +18,8 @@ MASTER_SITE_SUBDIR= net/mrtg
MAINTAINER= demon@FreeBSD.org
COMMENT= The multi-router traffic grapher
RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session
.if defined(WITH_GD2)
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
CONFIGURE_ARGS= --with-gd-lib=${LOCALBASE}/lib \
@ -38,6 +41,9 @@ 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
post-patch:
${RM} ${WRKSRC}/lib/mrtg2/BER.pm ${WRKSRC}/lib/mrtg2/SNMP_*.pm
do-install:
${MKDIR} -m 755 ${PREFIX}/etc/mrtg
${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}

View File

@ -3,15 +3,12 @@ bin/indexmaker
bin/mrtg
bin/rateup
etc/mrtg/mrtg.cfg.sample
lib/perl5/site_perl/%%PERL_VER%%/BER.pm
lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm
lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm
%%PORTDOCS%%share/doc/mrtg/ANNOUNCE
%%PORTDOCS%%share/doc/mrtg/CHANGES