View | Details | Raw Unified | Return to bug 49974
Collapse All | Expand All

(-)Makefile (-26 / +42 lines)
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>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (maildrop-1.5.0.tar.bz2) = 2362ece1de4f14a77ae3014fef319f7f
1
MD5 (maildrop-1.5.2.tar.bz2) = 45ce438482780861ec43ce3af55b99cd
(-)pkg-plist (+18 lines)
Lines 1-3 Link Here
1
%%MAILDIRQUOTA%%bin/deliverquota
1
bin/lockmail
2
bin/lockmail
2
bin/mailbot
3
bin/mailbot
3
bin/maildirmake
4
bin/maildirmake
Lines 5-18 Link Here
5
bin/makemime
6
bin/makemime
6
bin/reformail
7
bin/reformail
7
bin/reformime
8
bin/reformime
9
%%PORTDOCS%%share/doc/maildrop/INSTALL
10
%%PORTDOCS%%share/doc/maildrop/INSTALL.html
11
%%PORTDOCS%%share/doc/maildrop/README
12
%%PORTDOCS%%share/doc/maildrop/README.html
13
%%PORTDOCS%%share/doc/maildrop/README.maildirfilter.html
14
%%PORTDOCS%%share/doc/maildrop/README.maildirquota.html
15
%%PORTDOCS%%share/doc/maildrop/README.maildirquota.txt
16
%%PORTDOCS%%share/doc/maildrop/README.postfix
17
%%PORTDOCS%%share/doc/maildrop/README.sharedfolders.html
18
%%PORTDOCS%%share/doc/maildrop/README.sharedfolders.txt
19
%%PORTDOCS%%share/doc/maildrop/UPGRADE
20
%%PORTDOCS%%share/doc/maildrop/UPGRADE.html
21
%%MAILDIRQUOTA%%%%PORTDOCS%%share/doc/maildrop/deliverquota.html
8
%%PORTDOCS%%share/doc/maildrop/lockmail.html
22
%%PORTDOCS%%share/doc/maildrop/lockmail.html
9
%%PORTDOCS%%share/doc/maildrop/mailbot.html
23
%%PORTDOCS%%share/doc/maildrop/mailbot.html
24
%%PORTDOCS%%share/doc/maildrop/maildir.html
10
%%PORTDOCS%%share/doc/maildrop/maildirmake.html
25
%%PORTDOCS%%share/doc/maildrop/maildirmake.html
26
%%MAILDIRQUOTA%%%%PORTDOCS%%share/doc/maildrop/maildirquota.html
11
%%PORTDOCS%%share/doc/maildrop/maildrop.html
27
%%PORTDOCS%%share/doc/maildrop/maildrop.html
12
%%PORTDOCS%%share/doc/maildrop/maildropex.html
28
%%PORTDOCS%%share/doc/maildrop/maildropex.html
13
%%PORTDOCS%%share/doc/maildrop/maildropfilter.html
29
%%PORTDOCS%%share/doc/maildrop/maildropfilter.html
14
%%PORTDOCS%%share/doc/maildrop/maildropgdbm.html
30
%%PORTDOCS%%share/doc/maildrop/maildropgdbm.html
31
%%PORTDOCS%%share/doc/maildrop/maildroptips.txt
15
%%PORTDOCS%%share/doc/maildrop/makemime.html
32
%%PORTDOCS%%share/doc/maildrop/makemime.html
33
%%PORTDOCS%%share/doc/maildrop/manpage.css
16
%%PORTDOCS%%share/doc/maildrop/reformail.html
34
%%PORTDOCS%%share/doc/maildrop/reformail.html
17
%%PORTDOCS%%share/doc/maildrop/reformime.html
35
%%PORTDOCS%%share/doc/maildrop/reformime.html
18
%%PORTDOCS%%share/doc/maildrop/rfc2045.html
36
%%PORTDOCS%%share/doc/maildrop/rfc2045.html

Return to bug 49974