aboutsummaryrefslogtreecommitdiffstats
path: root/net/NeTraMet/Makefile
blob: 892b8fc72f7bce42a255766d5c8bb083ea652f86 (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
32
# New ports collection makefile for:    NeTraMet
# Date created:     24-Feb-2001
# Whom:         Jimmy Olgeni <olgeni@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   NeTraMet
PORTVERSION=    4.3
CATEGORIES= net
MASTER_SITES=   ftp://ftp.gla.ac.uk/pub/software/NeTraMet/
DISTNAME=   NeTraMet${PORTVERSION:S/.//}

MAINTAINER= olgeni@FreeBSD.org

WRKSRC=     ${WRKDIR}/NeTraMet${PORTVERSION:S/.//}

USE_AUTOCONF=   yes
USE_GMAKE=  yes

.if defined(WITH_MOTIF)
USE_MOTIF=  yes
CONFIGURE_ENV+= MOTIF_LIB="${MOTIFLIB}"
PLIST_SUB=  MOTIF=""
.else
PLIST_SUB=  MOTIF="@comment "
.endif

post-patch:
    ${PERL} -pi -e "s|"/etc/mib.txt"|${LOCALBASE}/share/NeTraMet/mibs/mib.txt|g;" ${WRKSRC}/src/snmplib/mib.c

.include <bsd.port.mk>