2006-03-14 02:27:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2006/03/14 01:28:09 jlamwww Exp $
|
2005-10-27 07:24:34 +02:00
|
|
|
#
|
|
|
|
|
2006-03-09 15:50:27 +01:00
|
|
|
DISTNAME= pop-before-smtp-1.41
|
2005-10-27 07:24:34 +02:00
|
|
|
CATEGORIES= mail perl5
|
2006-02-12 02:26:01 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=popbsmtp/}
|
2005-10-27 07:24:34 +02:00
|
|
|
|
|
|
|
MAINTAINER= obata@lins.jp
|
|
|
|
HOMEPAGE= http://popbsmtp.sourceforge.net/
|
|
|
|
COMMENT= Simple daemon for pop-before-smtp
|
|
|
|
|
2006-02-12 02:26:01 +01:00
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
USE_TOOLS+= perl:run pod2man
|
|
|
|
REPLACE_PERL+= pop-before-smtp
|
2005-10-27 07:24:34 +02:00
|
|
|
|
|
|
|
DEPENDS+= p5-Net-Netmask-[0-9]*:../../devel/p5-Net-Netmask
|
|
|
|
DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pop-before-smtp
|
2006-02-12 02:26:01 +01:00
|
|
|
CONF_FILES= ${EGDIR:Q}/pop-before-smtp-conf.pl ${PKG_SYSCONFDIR:Q}/pop-before-smtp-conf.pl
|
2005-10-27 07:24:34 +02:00
|
|
|
RCD_SCRIPTS= pop-before-smtp
|
|
|
|
DOCS_DIR= ${PREFIX}/share/doc/pop-before-smtp
|
|
|
|
|
|
|
|
INSTALLATION_DIRS=${EGDIR:S|^${PREFIX}/||} ${DOCS_DIR:S|^${PREFIX}/||}
|
|
|
|
|
|
|
|
do-build:
|
2006-02-12 02:26:01 +01:00
|
|
|
${POD2MAN} ${WRKSRC:Q}/pop-before-smtp > ${WRKSRC:Q}/pop-before-smtp.8
|
2005-10-27 07:24:34 +02:00
|
|
|
|
|
|
|
do-install:
|
2006-02-12 02:26:01 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC:Q}/pop-before-smtp ${PREFIX:Q}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/pop-before-smtp-conf.pl \
|
|
|
|
${EGDIR:Q}/pop-before-smtp-conf.pl
|
|
|
|
${INSTALL_MAN} ${WRKSRC:Q}/pop-before-smtp.8 \
|
|
|
|
${PREFIX:Q}/man/man8/pop-before-smtp.8
|
2005-10-27 07:24:34 +02:00
|
|
|
.for f in COPYING ChangeLog README TODO
|
2006-02-26 13:41:48 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/${f:Q} ${DOCS_DIR:Q}/${f:Q}
|
2005-10-27 07:24:34 +02:00
|
|
|
.endfor
|
|
|
|
.for f in README.QUICKSTART README.rootless-install popauth.m4
|
2006-02-26 13:41:48 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC:Q}/contrib/${f:Q} ${DOCS_DIR}
|
2005-10-27 07:24:34 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|