summaryrefslogtreecommitdiff
path: root/mail/mailsort/Makefile
blob: 4f840ab38e97f891316d81d2161b91a16e666091 (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.2 2013/05/31 12:41:15 wiz Exp $
#

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