blob: 4e281d777d2315a6af9cbafd7c5aa4c4c8c0d784 (
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
|
# ports collection Makefile for: cone
# Whom: Matthias Andree <matthias.andree@gmx.de>
# Date created: 2003-06-19
#
# $FreeBSD$
#
PORTNAME= cone
PORTVERSION= 0.56
CATEGORIES= mail
# This is for beta versions, leave it in please:
#MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/
# This is for release versions, leave it in please:
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
MAINTAINER= matthias.andree@gmx.de
COMMENT= Console based mail client with POP3/IMAP/SMAP support
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
aspell.15:${PORTSDIR}/textproc/aspell \
ncurses.5:${PORTSDIR}/devel/ncurses
BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_BZIP2= yes
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -C --without-db --prefix=${PREFIX} --exec-prefix=${PREFIX}
CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash" LDFLAGS=-L${LOCALBASE}/lib \
CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cone.1 leaf.1 mailtool.1
do-install:
cd ${WRKSRC} && make install-strip
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${PREFIX}/sbin/cone-sysconftool
PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PORTNAME} POST-INSTALL
${RM} -f ${PREFIX}/share/cone/rootcerts/.0
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= "does not build on FreeBSD versions before FreeBSD 5"
.endif
.include <bsd.port.post.mk>
|