Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Dec 2016 12:01:54 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429742 - in head/mail/mailutils: . files
Message-ID:  <201612281201.uBSC1s7m077812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Dec 28 12:01:54 2016
New Revision: 429742
URL: https://svnweb.freebsd.org/changeset/ports/429742

Log:
  - USES+=localbase is required for NLS-less builds
  - Install startup scripts and documentation files
  - Amend COMMENT text and bump port revision
  
  Submitted by:	maintainer (rc.d scripts)

Added:
  head/mail/mailutils/files/
  head/mail/mailutils/files/comsatd.in   (contents, props changed)
  head/mail/mailutils/files/imap4d.in   (contents, props changed)
  head/mail/mailutils/files/pop3d.in   (contents, props changed)
Modified:
  head/mail/mailutils/Makefile

Modified: head/mail/mailutils/Makefile
==============================================================================
--- head/mail/mailutils/Makefile	Wed Dec 28 11:59:40 2016	(r429741)
+++ head/mail/mailutils/Makefile	Wed Dec 28 12:01:54 2016	(r429742)
@@ -3,26 +3,27 @@
 
 PORTNAME=	mailutils
 PORTVERSION=	3.1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	GNU
 
 MAINTAINER=	zeus@gnu.org.ua
-COMMENT=	Utilities and daemons for processing e-mail
+COMMENT=	Utilities, daemons, and filters for processing e-mail
 
 LICENSE=	GPLv3+
 
 LIB_DEPENDS=	libltdl.so:devel/libltdl
 
-USES=		gmake iconv libtool makeinfo readline tar:xz
+USES=		gmake iconv libtool localbase makeinfo readline tar:xz
 GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
+USE_RC_SUBR=	comsatd imap4d pop3d
 INSTALL_TARGET=	install-strip
 
 INFO=		${PORTNAME}
+PORTDOCS=	AUTHORS ChangeLog NEWS README* THANKS TODO
 
-OPTIONS_DEFINE=		GNUTLS GSSAPI GUILE MH NNTP NLS PAM PYTHON
+OPTIONS_DEFINE=		DOCS GNUTLS GSSAPI GUILE MH NNTP NLS PAM PYTHON
 OPTIONS_DEFAULT=	BDB GNUTLS PAM
 OPTIONS_MULTI=		DB
 OPTIONS_MULTI_DB=	BDB GDBM KYOTOCABINET LDAP MYSQL PGSQL TOKYOCABINET
@@ -88,4 +89,8 @@ post-patch:
 		${WRKSRC}/maidag/Makefile.in
 	@${REINPLACE_CMD} -e 's,-E,& -P,' ${WRKSRC}/libmu_scm/Makefile.in
 
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>

Added: head/mail/mailutils/files/comsatd.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailutils/files/comsatd.in	Wed Dec 28 12:01:54 2016	(r429742)
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: comsatd
+# REQUIRE: DAEMON
+# BEFORE: mail
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name="comsatd"
+rcvar=comsatd_enable
+command="%%PREFIX%%/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config ${name}
+
+comsatd_enable=${comsatd_enable:-"NO"}
+comsatd_flags=${comsatd_flags:-""}
+
+run_rc_command "$1"

Added: head/mail/mailutils/files/imap4d.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailutils/files/imap4d.in	Wed Dec 28 12:01:54 2016	(r429742)
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: imap4d
+# REQUIRE: DAEMON
+# BEFORE: mail
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name="imap4d"
+rcvar=imap4d_enable
+command="%%PREFIX%%/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config ${name}
+
+imap4d_enable=${imap4d_enable:-"NO"}
+imap4d_flags=${imap4d_flags:-""}
+
+run_rc_command "$1"

Added: head/mail/mailutils/files/pop3d.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailutils/files/pop3d.in	Wed Dec 28 12:01:54 2016	(r429742)
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: pop3d
+# REQUIRE: DAEMON
+# BEFORE: mail
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name="pop3d"
+rcvar=pop3d_enable
+command="%%PREFIX%%/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+
+load_rc_config ${name}
+
+pop3d_enable=${pop3d_enable:-"NO"}
+pop3d_flags=${pop3d_flags:-""}
+
+run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612281201.uBSC1s7m077812>