summaryrefslogtreecommitdiff
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2002-11-27 19:05:39 +0000
committerjmmv <jmmv>2002-11-27 19:05:39 +0000
commitfada2fea498d4069ccd7bdf1a8da3cebe139ae6f (patch)
treef9105825e2306af4694a2ddfc486f6cc375366a2 /mail/mutt/Makefile
parent6398672b94454d7ee9532297317643743d17dd97 (diff)
downloadpkgsrc-fada2fea498d4069ccd7bdf1a8da3cebe139ae6f.tar.gz
Change location of mutt examples, so they are installed under the
standard directory share/examples/mutt instead of beeing in share/doc/mutt/samples. Provide a compatibility symlink. Also avoid direct installation of files under PKG_SYSCONFDIR. Instead force mutt to install them inside the examples directory and let bsd.pkg.install.mk copy them to the right place. Bump PKGREVISION to 2. Approved by tron (the maintainer) and wiz.
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 3b0b42b3a24..3d14971a7d2 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.86 2002/10/28 21:09:18 elric Exp $
+# $NetBSD: Makefile,v 1.87 2002/11/27 19:05:39 jmmv Exp $
DISTNAME= mutt-1.4i
PKGNAME= ${DISTNAME:C/i$//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
@@ -60,13 +60,12 @@ CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
BUILD_DEFS+= MUTT_USE_NCURSES MUTT_USE_SLANG MUTT_USE_SSL USE_SASL
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
-EGDIR= ${PREFIX}/share/doc/mutt/samples
+EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
SUPPORT_FILES= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
post-install:
- ${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/share/doc/mutt/samples
- ${INSTALL_DATA} ${WRKSRC}/mime.types ${PREFIX}/share/doc/mutt/samples
+ ${LN} -s ${EGDIR} ${PREFIX}/share/doc/mutt/samples
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"