1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add knobs (turned off by default) for non-standard mailbox formats.

Submitted by:	Johann Visagie <wjv@sunesi.net>
This commit is contained in:
Sheldon Hearn 2000-02-19 17:18:27 +00:00
parent c9674ef11b
commit 1b39f669df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26013
3 changed files with 51 additions and 0 deletions

View File

@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
# Uncomment to compile support for non-standard mailbox formats.
#USE_MAILDIR= YES
#USE_MAILSTORE= YES
#USE_MBX= YES
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
.endif
.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
.endif
.if defined(USE_MBX) && ${USE_MBX} == YES
SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
.endif
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile

View File

@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
# Uncomment to compile support for non-standard mailbox formats.
#USE_MAILDIR= YES
#USE_MAILSTORE= YES
#USE_MBX= YES
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
.endif
.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
.endif
.if defined(USE_MBX) && ${USE_MBX} == YES
SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
.endif
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile

View File

@ -39,6 +39,11 @@ LDAP_LIB_TYPE= UMICHIGAN
PAM_CRAM_MD5= YES
PAM_PLAINTEXT= YES
# Uncomment to compile support for non-standard mailbox formats.
#USE_MAILDIR= YES
#USE_MAILSTORE= YES
#USE_MBX= YES
# You should not need to fiddle with anything below this point.
SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' \
@ -84,6 +89,18 @@ SEDLIST+= -e 's/^AUTH_CRAM_MD5/\#AUTH_CRAM_MD5/'
SEDLIST+= -e 's/^AUTH_PLAINTEXT/\#AUTH_PLAINTEXT/'
.endif
.if defined(USE_MAILDIR) && ${USE_MAILDIR} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILDIR/SUPPORT_MAILDIR/'
.endif
.if defined(USE_MAILSTORE) && ${USE_MAILSTORE} == YES
SEDLIST+= -e 's/^\# SUPPORT_MAILSTORE/SUPPORT_MAILSTORE/'
.endif
.if defined(USE_MBX) && ${USE_MBX} == YES
SEDLIST+= -e 's/^\# SUPPORT_MBX/SUPPORT_MBX/'
.endif
do-configure:
${MKDIR} ${WRKSRC}/Local
${SED} ${SEDLIST} < ${FILESDIR}/Makefile > ${WRKSRC}/Local/Makefile