summaryrefslogtreecommitdiff
path: root/mail/mailsort/Makefile
blob: 16c0334b2eeabef5c983600dcd3957b2e166a7d1 (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.4 2015/06/12 10:50:20 wiz Exp $
#

DISTNAME=	mailsort-1.26
PKGREVISION=	3
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"