pkgsrc/mail/YoSucker/Makefile
jlam a80fd13efc Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-04 17:57:17 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2008/03/04 17:57:17 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
PKG_DESTDIR_SUPPORT= user-destdir
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/* ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/* ${DESTDIR}${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"