aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-02-08 03:20:23 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-02-08 03:20:23 +0000
commit1218cfa7e6dab998d67903da587bba1bda4bf2bd (patch)
tree995450256eab97af88ae41831ee365ff1d7eaf9c /mail
parent1f0e8237341349844327c4ec4d451f0c998e588d (diff)
downloadports-1218cfa7e6dab998d67903da587bba1bda4bf2bd.tar.gz
ports-1218cfa7e6dab998d67903da587bba1bda4bf2bd.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt/Makefile11
-rw-r--r--mail/mutt/pkg-plist3
-rw-r--r--mail/mutt14/Makefile11
-rw-r--r--mail/mutt14/pkg-plist3
4 files changed, 16 insertions, 12 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 0e5a202c085f..27edaf144163 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -80,12 +80,12 @@ CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
.endif
.if defined(WITH_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
-.endif
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
+.endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.else
-PLIST_SUB+= NLS=""
+PLIST_SUB+= NLS=""
.endif
.if defined(WITH_SLANG)
CONFIGURE_ARGS+= --with-slang=${PREFIX}
@@ -145,6 +145,7 @@ pre-install:
post-install:
${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
+ ${INSTALL_DATA} ${WRKSRC}/mime.types ${PREFIX}/etc/mime.types.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
diff --git a/mail/mutt/pkg-plist b/mail/mutt/pkg-plist
index f60215aef057..b53d5514b89d 100644
--- a/mail/mutt/pkg-plist
+++ b/mail/mutt/pkg-plist
@@ -6,8 +6,9 @@ bin/muttbug
bin/pgpewrap
bin/pgpring
@unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
+@unexec if cmp -s %D/etc/mime.types.dist %D/etc/mime.types; then rm -f %D/etc/mime.types; fi
etc/Muttrc.dist
-etc/mime.types
+etc/mime.types.dist
%%DOCSDIR%%/COPYRIGHT
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/GPL
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 0e5a202c085f..27edaf144163 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/Makefile
@@ -80,12 +80,12 @@ CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
.endif
.if defined(WITH_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
-.endif
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
+.endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.else
-PLIST_SUB+= NLS=""
+PLIST_SUB+= NLS=""
.endif
.if defined(WITH_SLANG)
CONFIGURE_ARGS+= --with-slang=${PREFIX}
@@ -145,6 +145,7 @@ pre-install:
post-install:
${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
+ ${INSTALL_DATA} ${WRKSRC}/mime.types ${PREFIX}/etc/mime.types.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
diff --git a/mail/mutt14/pkg-plist b/mail/mutt14/pkg-plist
index f60215aef057..b53d5514b89d 100644
--- a/mail/mutt14/pkg-plist
+++ b/mail/mutt14/pkg-plist
@@ -6,8 +6,9 @@ bin/muttbug
bin/pgpewrap
bin/pgpring
@unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
+@unexec if cmp -s %D/etc/mime.types.dist %D/etc/mime.types; then rm -f %D/etc/mime.types; fi
etc/Muttrc.dist
-etc/mime.types
+etc/mime.types.dist
%%DOCSDIR%%/COPYRIGHT
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/GPL