summaryrefslogtreecommitdiff
path: root/mail/YoSucker/Makefile
blob: b7a7780c8f9bdbb3f1e06924bf35daef57f8eedd (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
33
34
35
36
# $NetBSD: Makefile,v 1.6 2006/03/04 21:29:57 jlam Exp $
#

DISTNAME=		YoSucker-pr37
PKGNAME=		${DISTNAME:S/pr//}
PKGREVISION=		1
CATEGORIES=		mail
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=yosucker/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://yosucker.sourceforge.net/
COMMENT=		Download mails from Yahoo webmail into mbox

DEPENDS+=		p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
DEPENDS+=		p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
DEPENDS+=		p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
DEPENDS+=		p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64

USE_TOOLS+=		perl:run
REPLACE_PERL=		bin/EncProxyPasswd bin/EncPasswd bin/YoSucker

NO_BUILD=		yes

EGDIR=			${PREFIX}/share/examples/YoSucker
DOCDIR=			${PREFIX}/share/doc/YoSucker
INSTALLATION_DIRS=	bin lib

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/lib
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/conf/* ${EGDIR}
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCDIR}

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