aboutsummaryrefslogtreecommitdiffstats
path: root/net/tvark/Makefile
blob: 4421a4b2903f05cdb5e9c23715f005c30b63ecb1 (plain) (blame)
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
# New ports collection makefile for:    tvark
# Date created:     19 July 2001
# Whom:         mwest@uct.ac.za
#
# $FreeBSD$
#

PORTNAME=   tvark
PORTVERSION=    0.4
PORTREVISION=   3
CATEGORIES= net
MASTER_SITES=   http://voodoo.bawue.com/download/ \
        http://www.tvark.com/

MAINTAINER= ports@FreeBSD.org
COMMENT=    GUI network monitoring tool, tied to a MySQL database

USE_PERL5_BUILD=yes
USE_GNOME=  gtk12
USE_MYSQL=  yes

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -E -e "s|^(LDFLAGS.*)/usr/local|\1${LOCALBASE}|" \
        -e "s|/usr/local/bin|${PREFIX}/bin|" \
        -e "s|gtk-config|${GTK_CONFIG}|g" \
        -e "s|-ggdb|${CFLAGS}|" \
        ${WRKSRC}/Makefile

.include <bsd.port.post.mk>