# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
# $FreeBSD: tags/RELEASE_10_3_0/security/munge/Makefile 393429 2015-08-02 15:03:19Z tijl $

PORTNAME=	munge
PORTVERSION=	0.5.11
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Authentication service for creating and validating credentials

LICENSE=	GPLv3 LGPL3
LICENSE_COMB=	dual

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--localstatedir=/var
USES=		libtool pathfix perl5 tar:bzip2
USE_LDCONFIG=	yes
USE_RC_SUBR=	munged
INSTALL_TARGET=	install-strip

post-install:
	${RM} -r ${STAGEDIR}${PREFIX}/etc/default
	${RM} -r ${STAGEDIR}${PREFIX}/etc/init.d
	${RM} -r ${STAGEDIR}${ETCDIR}

.include <bsd.port.mk>
