summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-ListDetector/Makefile
blob: 77afdbd942f21af8bf481a45df2a02b2563a7a41 (plain)
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
# Created by: petef
# $FreeBSD$

PORTNAME=	Mail-ListDetector
PORTVERSION=	1.04
PORTREVISION=	2
CATEGORIES=	mail perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:MSTEVENS
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl module for detecting mailing list messages

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Email-Abstract>=3.001:mail/p5-Email-Abstract \
		p5-Email-Valid>=0.182:mail/p5-Email-Valid \
		p5-Mail-Tools>=2.04:mail/p5-Mail-Tools \
		p5-URI>=1.1:net/p5-URI

USES=		perl5 shebangfix
SHEBANG_FILES=	examples/sample.pl
USE_PERL5=	configure
NO_ARCH=	yes

OPTIONS_DEFINE=	EXAMPLES

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/sample.pl ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>