summaryrefslogtreecommitdiff
path: root/mail/mailsort/Makefile
blob: 148693bdfd69ea92deedcc3f39841f387c2b6b1d (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
# $NetBSD: Makefile,v 1.3 2014/05/29 23:36:46 wiz Exp $
#

DISTNAME=	mailsort-1.26
PKGREVISION=	2
CATEGORIES=	mail
MASTER_SITES=	http://search.cpan.org/CPAN/authors/id/A/AZ/AZS/mailsort/

MAINTAINER=	reed@reedmedia.net
HOMEPAGE=	http://search.cpan.org/~azs/mailsort/
COMMENT=	Sort mbox mail folders by date

LICENSE=	gnu-gpl-v2

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
REPLACE_PERL+=	mailsort
USE_LANGUAGES=	# none
USE_TOOLS=	perl pod2man

do-build:
	pod2man ${WRKSRC}/mailsort > ${WRKSRC}/mailsort.1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mailsort ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/mailsort.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/

.include "../../mk/bsd.pkg.mk"