diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-09-26 15:59:24 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-09-26 15:59:24 +0000 |
commit | dd88614723a6ce4b248e667272e1d5c21d507344 (patch) | |
tree | 16bbaa3f03f35b5879b2b9e178a6706100b2b889 /mail/dbmail | |
parent | 5d3ab38411c9608f0b214c74df042e4c9663fe31 (diff) | |
download | ports-dd88614723a6ce4b248e667272e1d5c21d507344.tar.gz ports-dd88614723a6ce4b248e667272e1d5c21d507344.zip |
Notes
Diffstat (limited to 'mail/dbmail')
-rw-r--r-- | mail/dbmail/Makefile | 44 | ||||
-rw-r--r-- | mail/dbmail/distinfo | 4 | ||||
-rw-r--r-- | mail/dbmail/pkg-plist | 12 |
3 files changed, 25 insertions, 35 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile index 696e56103d71..01168fe2c887 100644 --- a/mail/dbmail/Makefile +++ b/mail/dbmail/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= dbmail -PORTVERSION= 3.1.6 +PORTVERSION= 3.1.7 CATEGORIES= mail MASTER_SITES= http://www.dbmail.org/download/3.1/ @@ -22,7 +22,7 @@ BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \ CONFLICTS= dbmail-2.* -OPTIONS_DEFINE= LDAP SIEVE THREADS +OPTIONS_DEFINE= DOCS LDAP SIEVE THREADS OPTIONS_DEFAULT= THREADS SIEVE_DESC= Build with support for Sieve mail sorting language @@ -41,17 +41,8 @@ MAKE_ARGS+= mandir=${MANPREFIX}/man PORTDOCS= AUTHORS BUGS INSTALL THANKS UPGRADING -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCS} -MAN1= dbmail-deliver.1 dbmail.1 -MAN5= dbmail.conf.5 -MAN8= dbmail-export.8 dbmail-httpd.8 dbmail-imapd.8 \ - dbmail-lmtpd.8 dbmail-pop3d.8 dbmail-sievecmd.8 \ - dbmail-timsieved.8 dbmail-users.8 dbmail-util.8 -.endif - DBMAIL_USER?= mailnull DBMAIL_GROUP?= mail PIDDIR?= /var/run/dbmail @@ -60,12 +51,6 @@ PLIST_SUB+= DBMAIL_USER="${DBMAIL_USER}" \ DBMAIL_GROUP="${DBMAIL_GROUP}" \ PIDDIR="${PIDDIR}" -.if empty(PORT_OPTIONS:MDOCS) -PLIST_SUB+= PORTDOCS="@comment " -.else -PLIST_SUB+= PORTDOCS="" -.endif - .if ${PORT_OPTIONS:MSIEVE} CONFIGURE_ARGS+=--with-sieve=${LOCALBASE} LIB_DEPENDS+= libsieve.so:${PORTSDIR}/mail/libsieve @@ -93,23 +78,16 @@ CONFIGURE_ARGS+= --enable-manpages .endif post-install: - @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist - @if [ ! -f ${PREFIX}/etc/dbmail.conf ] ; then \ - ${CP} -p ${PREFIX}/etc/dbmail.conf-dist ${PREFIX}/etc/dbmail.conf; \ - fi - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/dbmail.schema ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/dbmail.schema ${STAGEDIR}${DATADIR} @for f in mysql oracle postgresql sqlite; do \ - ${MKDIR} ${DATADIR}/$$f ; \ - ${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${DATADIR}/$$f; \ + ${MKDIR} ${STAGEDIR}${DATADIR}/$$f ; \ + ${INSTALL_DATA} ${WRKSRC}/sql/$$f/* ${STAGEDIR}${DATADIR}/$$f; \ done - @${MKDIR} ${PIDDIR} - @${CHOWN} ${DBMAIL_USER}:${DBMAIL_GROUP} ${PIDDIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} * ${DOCSDIR}) -.endif - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${PIDDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} * ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/mail/dbmail/distinfo b/mail/dbmail/distinfo index b3410be4ca3b..a36a9344092e 100644 --- a/mail/dbmail/distinfo +++ b/mail/dbmail/distinfo @@ -1,2 +1,2 @@ -SHA256 (dbmail-3.1.6.tar.gz) = 380fc123c8e6cfca7e9c06892d501ddea61c36f88e567d133202c16bf265a71a -SIZE (dbmail-3.1.6.tar.gz) = 2394514 +SHA256 (dbmail-3.1.7.tar.gz) = 657965a87a217495b2bd5f292ef1b4948e85d195e54e9c0e4981d46cf72427aa +SIZE (dbmail-3.1.7.tar.gz) = 2395315 diff --git a/mail/dbmail/pkg-plist b/mail/dbmail/pkg-plist index 3f82a174fe9a..fd523782eb4d 100644 --- a/mail/dbmail/pkg-plist +++ b/mail/dbmail/pkg-plist @@ -13,6 +13,18 @@ lib/dbmail/libdbmail.so.0 %%SIEVE%%lib/dbmail/libsort_sieve.la %%SIEVE%%lib/dbmail/libsort_sieve.so %%SIEVE%%lib/dbmail/libsort_sieve.so.0 +man/man1/dbmail-deliver.1.gz +man/man1/dbmail.1.gz +man/man5/dbmail.conf.5.gz +man/man8/dbmail-export.8.gz +man/man8/dbmail-httpd.8.gz +man/man8/dbmail-imapd.8.gz +man/man8/dbmail-lmtpd.8.gz +man/man8/dbmail-pop3d.8.gz +man/man8/dbmail-sievecmd.8.gz +man/man8/dbmail-timsieved.8.gz +man/man8/dbmail-users.8.gz +man/man8/dbmail-util.8.gz sbin/dbmail-deliver sbin/dbmail-export sbin/dbmail-httpd |