diff options
author | tonio <tonio@pkgsrc.org> | 2007-03-04 17:22:45 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2007-03-04 17:22:45 +0000 |
commit | 7357311d833ce5766989d0dc208a307dcd196b12 (patch) | |
tree | c31f3e408ddf0655193663a94992b7f7cd3598e3 /mail/mutt-devel/Makefile | |
parent | ef8e228b227f23da8ff70662dc182538d7694955 (diff) | |
download | pkgsrc-7357311d833ce5766989d0dc208a307dcd196b12.tar.gz |
- Add an smime option (enables by default). When disabled, it removes the perl
dependancy (may be good for small systems)
- Make pkglint happy
- Fix a mistake in patch-ab
Diffstat (limited to 'mail/mutt-devel/Makefile')
-rw-r--r-- | mail/mutt-devel/Makefile | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index e0b663225b3..52b358ae5fe 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.56 2007/03/04 13:43:44 tonio Exp $ +# $NetBSD: Makefile,v 1.57 2007/03/04 17:22:45 tonio Exp $ DISTNAME= mutt-1.5.14 +PKGREVISION= 1 CATEGORIES= mail MUTT_SITES= ftp://ftp.mutt.org/mutt/ \ ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \ @@ -18,8 +19,7 @@ PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" USE_PKGLOCALEDIR= yes -USE_TOOLS+= msgfmt perl:run -REPLACE_PERL= *.pl */*.pl +USE_TOOLS+= msgfmt GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \ @@ -64,18 +64,10 @@ INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR} .include "../../devel/gettext-lib/buildlink3.mk" # Fix some absolute paths in installed files. -post-build: - for file in ${WRKSRC}/contrib/gpg.rc; do \ - ${MV} -f $$file $$file.save; \ - ${SED} -e "s,/usr/bin/gpg,gpg,g" \ - $$file.save > $$file; \ - done - for file in ${WRKSRC}/doc/mutt.man; do \ - ${MV} -f $$file $$file.save; \ - ${SED} -e "s,/etc/,${PKG_SYSCONFDIR}/,g" \ - -e "s,/usr/local/doc/mutt/,${DOCDIR}/,g" \ - -e "s,/usr/local/,${PREFIX}/,g" \ - $$file.save > $$file; \ - done +SUBST_CLASSES+= paths +SUBST_MESSAGE.paths= Fix absolute path +SUBST_STAGE.paths= post-build +SUBST_FILES.paths= contrib/gpg.rc +SUBST_SED.paths= -e 's,/usr/bin/gpg,gpg,g' .include "../../mk/bsd.pkg.mk" |