aboutsummaryrefslogtreecommitdiffstats
path: root/mail/vm-pop3d/Makefile
blob: b48b8e992f3a134398815eeac3cdd2aa1c74ea5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    vm-pop3d
# Date created:         24 August 2001
# Whom:             Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
#
# $FreeBSD$
#

PORTNAME=   vm-pop3d
PORTVERSION=    1.1.4
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/mail/pop

MAINTAINER= gslin@ccca.nctu.edu.tw

GNU_CONFIGURE=  yes

.if defined(WITH_IPVIRTUAL)
CONFIGURE_ARGS+=    --enable-ip-based-virtual
.endif

MAN8=       vm-pop3d.8

DOCS=       AUTHORS CHANGES COPYING FAQ INSTALL README

pre-fetch:
    @${ECHO} ""
    @${ECHO} "You may use the following build options:"
    @${ECHO} ""
    @${ECHO} "  WITH_IPVIRTUAL  enable IP-based virtual passwd files and spool directories."
    @${ECHO} ""

post-patch:
    @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/vm-pop3d.h

post-install:
    ${INSTALL_MAN} ${WRKSRC}/vm-pop3d.8 ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
    @${ECHO} "Documentation installed in ${DOCSDIR}."
.endif

.include <bsd.port.mk>