1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/tvark/Makefile
Ion-Mihai Tetcu 83016998af Fix with custom LOCALBASE / PREFIX
Submitted by:	Sahil Tandon
Reported by:	QATty
2009-07-06 17:14:44 +00:00

32 lines
670 B
Makefile

# 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>