aboutsummaryrefslogtreecommitdiffstats
path: root/net/nagios-plugins/Makefile
blob: 6d84d42c1fa84cc0723bb756ead2d03d76ac3ab2 (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
33
34
35
36
37
38
39
40
# New ports collection makefile for:    netsaint-plugins
# Date created:             Wed 12 Jul 2000
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   netsaint-plugins
PORTVERSION=    1.2.9.3
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   http://download.sourceforge.net/netsaintplug/
DISTNAME=   ${PORTNAME}-1.2.9-3

MAINTAINER= blaz@amis.net

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \
        --libexecdir=${PREFIX}/libexec/netsaint \
        --datadir=${PREFIX}/share/netsaint \
        --sysconfdir=${PREFIX}/etc/netsaint \
        --localstatedir=${PREFIX}/var/netsaint
CONFIGURE_ENV=  LOCALBASE=${LOCALBASE}
USE_AUTOMAKE=   yes
USE_GMAKE=  yes

pre-fetch:
    @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

pre-install:
    ${PERL} ${SCRIPTDIR}/createuser

post-clean:
    @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
    
.include <bsd.port.mk>