Lines 5-12
Link Here
|
5 |
# $FreeBSD: ports/mail/maildrop/Makefile,v 1.24 2003/03/07 06:05:53 ade Exp $ |
5 |
# $FreeBSD: ports/mail/maildrop/Makefile,v 1.24 2003/03/07 06:05:53 ade Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
|
|
8 |
# The following compile-time options are available: |
9 |
# WITHOUT_GDBM=yes Disable building maildrop gdbm extensions. |
10 |
# (default: enabled) |
11 |
# WITH_MAILDIRQUOTA=yes Enable optional support for maildir quotas |
12 |
# (default: disabled) |
13 |
# MAILDROP_SUID=<uid>, |
14 |
# MAILDROP_SGID=<gid> Maildrop will be installed with suid permissions for |
15 |
# MAILDROP_SUID, and sgid permissions for MAILDROP_SGID. |
16 |
# If undefined, these values default to "root" and "mail" |
17 |
# respectively, which should be suitable for most |
18 |
# systems. |
19 |
|
8 |
PORTNAME= maildrop |
20 |
PORTNAME= maildrop |
9 |
PORTVERSION= 1.5.0 |
21 |
PORTVERSION= 1.5.2 |
10 |
CATEGORIES= mail |
22 |
CATEGORIES= mail |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
23 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= courier |
24 |
MASTER_SITE_SUBDIR= courier |
Lines 14-64
Link Here
|
14 |
MAINTAINER= petef@FreeBSD.org |
26 |
MAINTAINER= petef@FreeBSD.org |
15 |
COMMENT= Replacement local mail delivery agent, similar to procmail |
27 |
COMMENT= Replacement local mail delivery agent, similar to procmail |
16 |
|
28 |
|
17 |
# Maildrop is usually installed with gdbm extensions. If you do not |
|
|
18 |
# want these extensions installed, define WITHOUT_GDBM. |
19 |
# |
20 |
.if !defined(WITHOUT_GDBM) |
29 |
.if !defined(WITHOUT_GDBM) |
21 |
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm |
30 |
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm |
|
|
31 |
.else |
32 |
CONFIGURE_ARGS+= --without-db |
22 |
.endif |
33 |
.endif |
23 |
|
|
|
24 |
INSTALL_TARGET= install-strip |
25 |
|
34 |
|
26 |
# Maildrop will be installed with suid permissions for MAILDROP_SUID, |
35 |
GNU_CONFIGURE= yes |
27 |
# and sgid permissions for MAILDROP_SGID. If undefined, these values |
36 |
USE_BZIP2= yes |
28 |
# default to "root" and "mail" respectively, which should be suitable |
37 |
USE_PERL5_BUILD=yes |
29 |
# for most systems. |
38 |
USE_PERL5_RUN= yes |
30 |
# |
|
|
31 |
MAILDROP_SUID?= root |
32 |
MAILDROP_SGID?= mail |
33 |
|
39 |
|
|
|
40 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \ |
41 |
LIBS="-L${LOCALBASE}/lib" |
42 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
34 |
CONFIGURE_ARGS+= --enable-syslog=1 \ |
43 |
CONFIGURE_ARGS+= --enable-syslog=1 \ |
35 |
--enable-use-flock \ |
44 |
--enable-use-flock \ |
36 |
--with-etcdir="${PREFIX}/etc" \ |
45 |
--with-etcdir="${PREFIX}/etc" \ |
37 |
--enable-maildrop-uid="${MAILDROP_SUID}" \ |
46 |
--enable-maildrop-uid="${MAILDROP_SUID}" \ |
38 |
--enable-maildrop-gid="${MAILDROP_SGID}" |
47 |
--enable-maildrop-gid="${MAILDROP_SGID}" |
39 |
.if defined(MAILDROPDEFAULT) |
48 |
|
40 |
CONFIGURE_ARGS+= --with-default-maildrop=${MAILDROPDEFAULT} |
49 |
.if defined(WITH_MAILDIRQUOTA) |
|
|
50 |
CONFIGURE_ARGS+= --enable-maildirquota |
51 |
PLIST_SUB+= MAILDIRQUOTA="" |
52 |
.else |
53 |
PLIST_SUB+= MAILDIRQUOTA="@comment " |
41 |
.endif |
54 |
.endif |
42 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \ |
|
|
43 |
LIBS="-L${LOCALBASE}/lib" |
44 |
GNU_CONFIGURE= yes |
45 |
USE_BZIP2= yes |
46 |
USE_PERL5_BUILD=yes |
47 |
USE_PERL5_RUN= yes |
48 |
|
55 |
|
49 |
.if defined(NOPORTDOCS) |
56 |
MAILDROP_SUID?= root |
|
|
57 |
MAILDROP_SGID?= mail |
58 |
|
59 |
.if !defined(NOPORTDOCS) |
60 |
INSTALL_TARGET= install-strip |
61 |
.else |
50 |
# Just install the binary and man pages, no extra documentation |
62 |
# Just install the binary and man pages, no extra documentation |
51 |
INSTALL_TARGET= install-maildrop install-man |
63 |
INSTALL_TARGET= install-maildrop install-man |
52 |
.endif |
64 |
.endif |
53 |
|
65 |
|
54 |
MAN1= lockmail.1 mailbot.1 maildirmake.1 maildrop.1 makemime.1 \ |
66 |
MAN1= lockmail.1 mailbot.1 maildirmake.1 maildrop.1 makemime.1 \ |
55 |
reformail.1 reformime.1 |
67 |
reformail.1 reformime.1 |
56 |
MAN5= maildropex.5 maildropfilter.5 maildropgdbm.5 |
68 |
MAN5= maildir.5 maildropex.5 maildropfilter.5 maildropgdbm.5 |
57 |
MAN7= maildirquota.7 |
69 |
MAN7= maildirquota.7 |
58 |
MAN8= deliverquota.8 |
70 |
MAN8= deliverquota.8 |
59 |
|
71 |
INSTALL_DOCS= INSTALL INSTALL.html README README.html README.postfix \ |
60 |
.if defined(WITHOUT_GDBM) |
72 |
UPGRADE UPGRADE.html maildroptips.txt \ |
61 |
CONFIGURE_ARGS+= --without-db |
73 |
maildir/README.*.html maildir/README.*.txt |
|
|
74 |
|
75 |
.if !defined(NOPORTDOCS) |
76 |
post-install: |
77 |
cd ${WRKSRC} && ${INSTALL_DATA} ${INSTALL_DOCS} ${DOCSDIR} |
62 |
.endif |
78 |
.endif |
63 |
|
79 |
|
64 |
.include <bsd.port.mk> |
80 |
.include <bsd.port.mk> |