diff options
-rw-r--r-- | mail/courier-imap/Makefile | 19 | ||||
-rw-r--r-- | mail/courier-imap/distinfo | 2 | ||||
-rw-r--r-- | mail/courier-imap/pkg-plist | 19 |
3 files changed, 30 insertions, 10 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 2ee990860416..f26eef36a56a 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -6,7 +6,7 @@ # PORTNAME= courier-imap -PORTVERSION= 0.33 +PORTVERSION= 0.36a CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= courier @@ -16,9 +16,13 @@ MAINTAINER= nbm@FreeBSD.org GNU_CONFIGURE= YES USE_GMAKE= YES +CFLAGS+= -DNO_IDEA + CONFIGURE_ARGS= --without-authldap --with-authldaprc=filename \ --without-authpam --without-authshadow \ - --without-authvchkpw --without-authcram + --without-authvchkpw --without-authcram \ + --with-userdb=${PREFIX}/etc/userdb \ + --datadir=${PREFIX}/share/doc/courier-imap MAN1= maildirmake.1 MAN8= authlib.8 makeuserdb.8 userdb.8 userdbpw.8 couriertcpd.8 \ @@ -29,15 +33,24 @@ MLINKS= authlib.8 authpwd.8 \ makeuserdb.8 pw2userdb.8 \ makeuserdb.8 vchkpw2userdb.8 +EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog + .include <bsd.port.pre.mk> post-patch: - @perl -i -pe s'@^if test -w confmdtest1$$@if test -z 0@' \ + @perl -i -pe 's@^if test -w confmdtest1$$@if test -z 0@' \ ${WRKSRC}/configure + @perl -i -pe 's@(\$$.sysconfdir./\$$\$$p)@\1.dist@' \ + ${WRKSRC}/imap/Makefile.in .if ${OSVERSION} >= 400016 @perl -i -pe 's@^#include\s*<netinet6/in6.h>$$@@' \ ${WRKSRC}/rfc1035/configure \ ${WRKSRC}/rfc1035/rfc1035.h.in .endif +post-install: +.for a in ${EXTRA_DOCS} + @${INSTALL_DATA} ${WRKSRC}/${a} ${PREFIX}/share/doc/courier-imap/ +.endfor + .include <bsd.port.post.mk> diff --git a/mail/courier-imap/distinfo b/mail/courier-imap/distinfo index 88ab7df82c4e..8005452759a8 100644 --- a/mail/courier-imap/distinfo +++ b/mail/courier-imap/distinfo @@ -1 +1 @@ -MD5 (courier-imap-0.33.tar.gz) = 8ae13c0a4f89ca7ea51477b982c54632 +MD5 (courier-imap-0.36a.tar.gz) = 49adbb5821acb34598be4bd3d11e2b09 diff --git a/mail/courier-imap/pkg-plist b/mail/courier-imap/pkg-plist index dcc636cd338a..f4aa0b3f21f1 100644 --- a/mail/courier-imap/pkg-plist +++ b/mail/courier-imap/pkg-plist @@ -1,19 +1,26 @@ +bin/couriertls bin/imapd bin/maildirmake -etc/imapd.config.dist etc/imapd-ssl.config.dist -libexec/makedatprog +etc/imapd.cnf.dist +etc/imapd.config.dist +libexec/authlib/authpwd +libexec/authlib/authuserdb libexec/couriertcpd libexec/deliverquota -libexec/logger -libexec/imapd.rc libexec/imapd-ssl.rc -libexec/authlib/authuserdb -libexec/authlib/authpwd +libexec/imapd.rc +libexec/logger +libexec/makedatprog sbin/imaplogin sbin/makeuserdb sbin/pw2userdb sbin/userdb sbin/userdbpw sbin/vchkpw2userdb +share/doc/courier-imap/AUTHORS +share/doc/courier-imap/ChangeLog +share/doc/courier-imap/INSTALL +share/doc/courier-imap/README +share/doc/courier-imap/mkimapdcert @unexec rmdir %D/libexec/authlib |