2001-08-24 18:39:11 +00:00
|
|
|
# New ports collection makefile for: vm-pop3d
|
2001-08-24 08:51:23 +00:00
|
|
|
# Date created: 24 August 2001
|
2001-08-24 12:47:54 +00:00
|
|
|
# Whom: Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
|
2001-08-24 08:51:23 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vm-pop3d
|
2002-03-21 07:52:33 +00:00
|
|
|
PORTVERSION= 1.1.6
|
2002-05-09 09:33:01 +00:00
|
|
|
PORTREVISION= 1
|
2001-08-24 08:51:23 +00:00
|
|
|
CATEGORIES= mail
|
2002-03-21 07:52:33 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
2002-05-09 09:33:01 +00:00
|
|
|
http://www.ibiblio.org/%SUBDIR%/
|
2001-08-24 08:51:23 +00:00
|
|
|
MASTER_SITE_SUBDIR= system/mail/pop
|
|
|
|
|
2001-08-24 12:47:54 +00:00
|
|
|
MAINTAINER= gslin@ccca.nctu.edu.tw
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= A virtual POP3 server
|
2001-08-24 08:51:23 +00:00
|
|
|
|
2002-06-19 08:18:10 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-08-24 08:51:23 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2001-08-24 12:47:54 +00:00
|
|
|
|
|
|
|
.if defined(WITH_IPVIRTUAL)
|
2002-03-21 07:52:33 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ip-based-virtual --enable-virtual
|
|
|
|
.elsif defined(WITH_VIRTUAL)
|
|
|
|
CONFIGURE_ARGS+= --enable-virtual
|
2001-08-24 12:47:54 +00:00
|
|
|
.endif
|
|
|
|
|
2001-08-24 08:51:23 +00:00
|
|
|
MAN8= vm-pop3d.8
|
|
|
|
|
2001-08-24 12:47:54 +00:00
|
|
|
DOCS= AUTHORS CHANGES COPYING FAQ INSTALL README
|
|
|
|
|
2002-03-21 07:52:33 +00:00
|
|
|
pre-patch:
|
2001-08-24 12:47:54 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "You may use the following build options:"
|
|
|
|
@${ECHO} ""
|
2002-03-21 07:52:33 +00:00
|
|
|
@${ECHO} " WITH_VIRTUAL enable virtual passwd files and spool directories."
|
2001-08-24 12:47:54 +00:00
|
|
|
@${ECHO} " WITH_IPVIRTUAL enable IP-based virtual passwd files and spool directories."
|
|
|
|
@${ECHO} ""
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-14 07:04:51 +00:00
|
|
|
@${REINPLACE_CMD} -e "s@LIBS -ldl@LIBS@" ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/vm-pop3d.h
|
|
|
|
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/vm-pop3d.sh > ${WRKSRC}/vm-pop3d.sh.sample
|
2001-08-24 12:47:54 +00:00
|
|
|
|
2001-08-24 08:51:23 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/vm-pop3d.8 ${MAN8PREFIX}/man/man8
|
2002-05-09 09:33:01 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vm-pop3d.sh.sample ${PREFIX}/etc/rc.d
|
2001-08-24 08:51:23 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2001-08-24 12:47:54 +00:00
|
|
|
.for FILE in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
@${ECHO} "Documentation installed in ${DOCSDIR}."
|
2001-08-24 08:51:23 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|