blob: 2d3b4ad6403e522fa81bd25b6d984d86a7feb274 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# 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.6
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
http://www.ibiblio.org/%SUBDIR%/
MASTER_SITE_SUBDIR= system/mail/pop
MAINTAINER= ports@FreeBSD.org
COMMENT= A virtual POP3 server
GNU_CONFIGURE= yes
.if defined(WITH_IPVIRTUAL)
CONFIGURE_ARGS+= --enable-ip-based-virtual --enable-virtual
.elif defined(WITH_VIRTUAL)
CONFIGURE_ARGS+= --enable-virtual
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
MAN8= vm-pop3d.8
DOCS= AUTHORS CHANGES COPYING FAQ INSTALL README
pre-patch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " WITH_VIRTUAL enable virtual passwd files and spool directories."
@${ECHO} " WITH_IPVIRTUAL enable IP-based virtual passwd files and spool directories."
@${ECHO} " WITH_DEBUG enable debugging."
@${ECHO} ""
post-patch:
@${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
post-install:
${INSTALL_MAN} ${WRKSRC}/vm-pop3d.8 ${MAN8PREFIX}/man/man8
${INSTALL_SCRIPT} ${WRKSRC}/vm-pop3d.sh.sample ${PREFIX}/etc/rc.d
.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>
|