blob: 44de81ca7b40bf1e401aa6c6e01705acb55fff56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.5 1999/05/03 20:25:37 tv Exp $
# FreeBSD Id: Makefile,v 1.7 1997/12/16 19:42:17 vanilla Exp
#
DISTNAME= mrtg-2.5.3
CATEGORIES= net
MASTER_SITES= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/pub/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
DEPENDS= gd-1.3p1:../../graphics/gd
USE_PERL5= YES
ALL_TARGET= rateup substitute
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/etc/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/mrtg
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mrtg
for file in mrtg-conf.html mrtg-conf.txt readme.html readme.txt mibhelp.txt COPYING COPYRIGHT; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \
done
for file in ${WRKSRC}/*.gif; do \
${INSTALL_DATA} $$file ${PREFIX}/share/mrtg/; \
done
${INSTALL_PROGRAM} ${WRKSRC}/rateup ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKSRC}/mrtg ${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKSRC}/BER.pm ${WRKSRC}/SNMP_Session.pm \
${PREFIX}/lib/perl5/site_perl/
for file in cfgmaker convert indexmaker; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$file ${PREFIX}/bin/mrtg$$file; \
done
.include "../../mk/bsd.pkg.mk"
|