diff options
Diffstat (limited to 'sysutils/munin-common/Makefile')
| -rw-r--r-- | sysutils/munin-common/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/munin-common/Makefile b/sysutils/munin-common/Makefile new file mode 100644 index 000000000000..f4d352923f00 --- /dev/null +++ b/sysutils/munin-common/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: munin-common +# Date created: 10 February 2010 +# Whom: Sean Rees <sean@rees.us> +# +# $FreeBSD$ +# + +PORTNAME= munin +PORTVERSION= 1.4.3 +CATEGORIES= sysutils perl5 +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION} +PKGNAMESUFFIX= -common + +MAINTAINER= des@FreeBSD.org +COMMENT= Common components between a munin node and server + +BUILD_DEPENDS= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build \ + ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay + +USE_PERL5= yes +USE_GMAKE= yes +PATCH_STRIP= -p1 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.r/rc/} +PKGMESSAGE= ${WRKDIR}/pkg-message + +MAKE_ARGS= LIBDIR=${DATADIR} CONFDIR=${ETCDIR} \ + PERL=${PERL} SITE_PERL_REL=${SITE_PERL_REL} +ALL_TARGET= build-common-prime +INSTALL_TARGET= install-common + +MAN3= Munin::Common::Config.3 \ + Munin::Common::Defaults.3 \ + Munin::Common::TLS.3 \ + Munin::Common::TLSClient.3 \ + Munin::Common::TLSServer.3 \ + Munin::Common::Timeout.3 + +SUB_FILES= pkg-message + +post-install: + @(cd ${WRKSRC}/common/blib/libdoc && for man in ${MAN3} ; do \ + ${INSTALL_MAN} -C $$man ${PREFIX}/man/man3; \ + done) + +.include <bsd.port.mk> |
