blob: 16f56be282d536282cbea25464c77ff6b2ed8dc0 (
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
|
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= popular
PORTVERSION= 1.5.5
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://www.remote.org/jochen/mail/popular/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Suite of programs for setting up large POP3 server systems
BUILD_DEPENDS= p5-XML-DOM>=0:${PORTSDIR}/textproc/p5-XML-DOM
CONFLICTS= pserv-[0-9]* synce-librapi2-[0-9]*
USES= libtool perl5 gmake
GNU_CONFIGURE= yes
USE_OPENSSL= yes
PDM_MODULES= any master
CONFIGURE_ARGS= --without-bdb --disable-docbook --with-confdir=${PREFIX}/etc/popular \
--enable-ssl --with-pdm="${PDM_MODULES}"
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
USE_RC_SUBR= pcheckd pproxy pserv 0ringd
OPTIONS_DEFINE= DB4
OPTIONS_DEFAULT= DB4
OPTIONS_SUB= yes
DB4_DESC= Build db4 pdm module
DB4_LIB_DEPENDS= libdb4.so:${PORTSDIR}/databases/db4
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDB4}
PDM_MODULES+= db4
.endif
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/conf/pproxy.rc ${STAGEDIR}${ETCDIR}/pproxy.rc.sample
${INSTALL_DATA} ${WRKSRC}/conf/pserv.rc ${STAGEDIR}${ETCDIR}/pserv.rc.sample
@${MKDIR} ${STAGEDIR}${PREFIX}/include/popular
${FIND} ${WRKSRC}/src -name *.h | ${XARGS} -n 1 -J % ${INSTALL_DATA} % \
${STAGEDIR}${PREFIX}/include/popular
.include <bsd.port.mk>
|