aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 11:20:23 +0800
committerleeym <leeym@FreeBSD.org>2004-02-08 11:20:23 +0800
commit060b959e6321763d956064c9f8358551db973684 (patch)
tree0cc31b3f94a6bf7bb7a70f7b786ff103e19b050a /mail/mutt/Makefile
parente13ea2bb8fc6081e5d980d60a2f77f4ea067bb5e (diff)
downloadfreebsd-ports-gnome-060b959e6321763d956064c9f8358551db973684.tar.gz
freebsd-ports-gnome-060b959e6321763d956064c9f8358551db973684.tar.zst
freebsd-ports-gnome-060b959e6321763d956064c9f8358551db973684.zip
- Preserve $PREFIX/etc/mime.types
- Add $PREFIX/etc/mime.types.dist PR: 62452 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile11
1 files changed, 6 insertions, 5 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}