# New ports collection makefile for: 	listadmin
# Date Created:			29 May 2010
# Whom:					Christer Edwards <christer.edwards@gmail.com>
#
# $FreeBSD: branches/RELEASE_8_4_0/mail/listadmin/Makefile 308985 2012-12-16 06:12:28Z az $
#

PORTNAME=	listadmin
PORTVERSION=	2.40
CATEGORIES=	mail perl5
MASTER_SITES=	http://heim.ifi.uio.no/kjetilho/hacks/

MAINTAINER=	christer.edwards@gmail.com
COMMENT=	Command-line alternative to Mailman Web interface

RUN_DEPENDS=	p5-Text-Reform>=0:${PORTSDIR}/textproc/p5-Text-Reform \
		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
		p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww

USE_PERL5_RUN=	yes

PLIST_FILES=	bin/listadmin
MAN1=		listadmin.1

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/listadmin.pl ${PREFIX}/bin/listadmin
	@${INSTALL_MAN} ${WRKSRC}/listadmin.man ${MAN1PREFIX}/man/man1/listadmin.1

.include <bsd.port.mk>
