pkgsrc-wip/pop-before-smtp/Makefile
OBATA Akio beb77b8a02 Update pop-before-smtp to 1.42.
While here, DESTDIR support and pkglint clean.

Version 1.42 was released on June 6, 2007. Here's a list of the most noteworthy changes:
  * Improved how --reprocess works, so that we verify that the $logtime_pat variable is set right, and we output a message when we get to the end of the logfile.
  * Enhanced the startup log message.
  * Fixed a bug in the "Match Many Patterns" config code.
  * Improved the Cyrus $pat.
  * Added a missing logout category (TIMEOUT) to Courier-POP/IMAP $out_pat.
2007-12-17 07:29:03 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2007/12/17 07:29:03 obache Exp $
#
DISTNAME= pop-before-smtp-1.42
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=popbsmtp/}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://popbsmtp.sourceforge.net/
COMMENT= Simple daemon for pop-before-smtp
USE_LANGUAGES= # empty
USE_TOOLS+= perl:run pod2man
REPLACE_PERL+= pop-before-smtp
DEPENDS+= p5-Net-Netmask-[0-9]*:../../devel/p5-Net-Netmask
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
PKG_DESTDIR_SUPPORT= user-destdir
EGDIR= ${PREFIX}/share/examples/pop-before-smtp
CONF_FILES= ${EGDIR}/pop-before-smtp-conf.pl ${PKG_SYSCONFDIR}/pop-before-smtp-conf.pl
RCD_SCRIPTS= pop-before-smtp
DOCS_DIR= ${PREFIX}/share/doc/pop-before-smtp
INSTALLATION_DIRS=${EGDIR:S|^${PREFIX}/||} ${DOCS_DIR:S|^${PREFIX}/||} \
sbin ${PKGMANDIR}/man8
do-build:
pod2man ${WRKSRC}/pop-before-smtp > ${WRKSRC}/pop-before-smtp.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pop-before-smtp ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/pop-before-smtp-conf.pl \
${DESTDIR}${EGDIR}/pop-before-smtp-conf.pl
${INSTALL_MAN} ${WRKSRC}/pop-before-smtp.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/pop-before-smtp.8
.for f in COPYING ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${f:Q} ${DESTDIR}${DOCS_DIR}/${f:Q}
.endfor
.for f in README.QUICKSTART README.rootless-install popauth.m4
${INSTALL_DATA} ${WRKSRC}/contrib/${f:Q} ${DESTDIR}${DOCS_DIR}/${f:Q}
.endfor
.include "../../mk/bsd.pkg.mk"