Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/6175

Submitted by:   	Joe Auty
Reviewed by:
Approved by:
Obtained from:
uprev to v2.12.2 per patch from Joe Auty
add sha1 hash
twiddle my maintainer email
depend on gd2 instead of gd
add libpng and zlib deps
add explicit configure args for gd2, libpng, and zlib

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15681 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ghosthound committed Jan 3, 2006
1 parent 0e1cd92 commit ad8892d70a5fd1ebd896fb19913b300fe2858ce1
Showing with 14 additions and 7 deletions.
  1. +14 −7 net/mrtg/Portfile
@@ -1,12 +1,12 @@
# $Id: Portfile,v 1.4 2004/12/03 19:41:51 jberry Exp $
# $Id: Portfile,v 1.5 2006/01/03 21:41:07 ricci Exp $

PortSystem 1.0

name mrtg
version 2.10.15
version 2.12.2

categories net
maintainers ricci@opendarwin.org jberry@opendarwin.org
maintainers opendarwin.org@darkart.com jberry@opendarwin.org
platforms darwin

description The multi-router traffic grapher
@@ -16,13 +16,19 @@ homepage http://www.mrtg.org/

master_sites http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \
ftp://ftp.chg.ru/pub/networking/monitoring/mrtg/
checksums md5 39f3afeac9a7fdba8e4e500313234e50
checksums md5 dd74c4f28ac594938d15dc16b7f88bd2 \
sha1 b968a8afca8bc12a5164de0f869422bb2d0156a5

depends_lib lib:gd:gd
depends_lib port:gd2 \
port:libpng \
port:zlib

configure.env LDFLAGS="-L${prefix}/lib" \
CPPFLAGS="-I${prefix}/include"
configure.args --mandir=${prefix}/share/man
configure.args --mandir=${prefix}/share/man \
--with-gd=${prefix} \
--with-z=${prefix} \
--with-png=${prefix}

post-destroot {
destroot.keepdirs \
@@ -32,4 +38,5 @@ post-destroot {

reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
}
}

0 comments on commit ad8892d

Please sign in to comment.
You can’t perform that action at this time.