openbsd-ports/mail/p5-GetLive/Makefile
2013-03-11 11:20:26 +00:00

38 lines
895 B
Makefile

# $OpenBSD: Makefile,v 1.14 2013/03/11 11:23:52 espie Exp $
COMMENT= automatically fetch hotmail.com email
DISTNAME= GetLive_2_4
PKGNAME= p5-GetLive-2.4
PKG_ARCH= *
CATEGORIES= mail perl5
EXTRACT_SUFX= .tgz
MAINTAINER= Michael Erdely <merdely@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=getlive/}
RUN_DEPENDS= devel/p5-Net-Server \
net/curl>=7.15.5 \
mail/procmail \
www/p5-URI
NO_BUILD= Yes
NO_TEST= Yes
post-patch:
@${SUBST_CMD} ${WRKSRC}/{GetLive.pl,Manual}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/GetLive.pl ${PREFIX}/bin/GetLive
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/GetLive
${INSTALL_SCRIPT} ${WRKSRC}/{SmtpAuthForward,SmtpForward}.pl \
${PREFIX}/share/examples/GetLive/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/GetLive
${INSTALL_DATA} ${WRKSRC}/{License,Manual} ${PREFIX}/share/doc/GetLive
.include <bsd.port.mk>