openbsd-ports/mail/p5-GetLive/Makefile
merdely aac86eb517 Update to GetLive-0.56 (bugfixes and new features)
- fmt -72 on DESCR
 - Removed unused variables from Makefile
 - Fix patch-Manual to be consistent with sample scripts (ending in .pl).

help and ok okan@
2007-12-05 23:00:56 +00:00

42 lines
999 B
Makefile

# $OpenBSD: Makefile,v 1.3 2007/12/05 23:00:56 merdely Exp $
COMMENT= automatically fetch hotmail.com email
DISTNAME= GetLive_0_56
PKGNAME= p5-GetLive-0.56
CATEGORIES= mail perl5
EXTRACT_SUFX= .tgz
MAINTAINER= Michael Erdely <merdely@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=getlive/}
RUN_DEPENDS= :curl->=7.15.5:net/curl \
::mail/procmail \
::www/p5-URI
PKG_ARCH= *
NO_BUILD= Yes
NO_REGRESS= Yes
post-patch:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},' \
${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>