2006-03-14 02:14:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2006/03/14 01:14:30 jlam Exp $
|
2001-11-16 00:21:29 +01:00
|
|
|
#
|
|
|
|
|
2001-12-21 04:55:13 +01:00
|
|
|
DISTNAME= yatsvrs-5.00p6
|
2001-11-16 00:21:29 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/p/./}
|
2005-01-08 10:39:56 +01:00
|
|
|
PKGREVISION= 4
|
2001-11-16 00:21:29 +01:00
|
|
|
CATEGORIES= mail
|
2003-05-24 02:57:04 +02:00
|
|
|
MASTER_SITES= ftp://ftp.jone-system.com/pub/jepro/yatsvr/
|
2001-11-16 00:21:29 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2003-05-24 02:57:04 +02:00
|
|
|
HOMEPAGE= # not available
|
2001-11-16 00:21:29 +01:00
|
|
|
COMMENT= Extended POP3 server and some supporting servers
|
|
|
|
|
|
|
|
CONFLICTS= ascyd-* yatsvr4-*
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
DOCS= IMPORTANT README UPDATE doc/YATCONF doc/YATEXT4
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/yatsvr5
|
|
|
|
EXAMPLES= yatrc2 yatsvrrc
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/yatsvr5
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-popper-xmit
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-log-facility=${YATSVR_LOGFAC:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-yat-sys-dir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-yat-sys-old-dir-v4=${OLDCONFDIR:Q}
|
2003-10-05 06:25:14 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-shadow-password
|
2001-11-16 00:21:29 +01:00
|
|
|
|
|
|
|
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
|
|
|
INSTALL_FILE= ${WRKDIR}/INSTALL
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= DEFAULT_ADMIN=${DEFAULT_YATADMIN:Q}
|
|
|
|
FILES_SUBST+= YATSVR_MINGID=${YATSVR_MINGID:Q}
|
|
|
|
FILES_SUBST+= YATSVR_MAXGID=${YATSVR_MAXGID:Q}
|
2001-11-16 00:21:29 +01:00
|
|
|
|
2004-12-15 14:18:02 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2005-10-23 23:45:16 +02:00
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
2004-12-15 14:18:02 +01:00
|
|
|
.endfor
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}
|
2001-11-16 00:21:29 +01:00
|
|
|
|
2004-12-15 14:18:02 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
YATSVR_LOGFAC?= LOG_LOCAL4
|
|
|
|
YATSVR_MINGID?= 1001
|
|
|
|
YATSVR_MAXGID?= 64999
|
|
|
|
DEFAULT_YATADMIN?= root
|
|
|
|
PKG_SYSCONFSUBDIR?= yatsvr5
|
|
|
|
OLDCONFDIR?= ${PKG_SYSCONFBASE}/yat
|
2001-11-16 00:21:29 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
.for f in ${DOCS}
|
2005-10-23 23:45:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
|
2001-11-16 00:21:29 +01:00
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
.for f in ${EXAMPLES}
|
2005-10-23 23:45:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${EXAMPLESDIR}/${f}
|
2001-11-16 00:21:29 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|