diff options
author | jlam <jlam@pkgsrc.org> | 2017-08-19 00:20:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-08-19 00:20:25 +0000 |
commit | 629c0a867ff489625bd8390644d86f4b87e7b378 (patch) | |
tree | 4566b7ef47c52eff15c3eeaee63ae87a2e1b3099 /mail/elm | |
parent | 5a499aecce9a118628b0663bd82290a063ce7f30 (diff) | |
download | pkgsrc-629c0a867ff489625bd8390644d86f4b87e7b378.tar.gz |
mail/elm: Install manpages into ${PKGMANDIR}.
This project uses a Perl-style Configure script that can use a
custom config.sh to provide default answers to questions that it
asks as part of the configuration process. Modify the custom
${FILESDIR}/config.sh to allow substituting for @PKGMANDIR@ in the
default location for unformatted manpages.
Diffstat (limited to 'mail/elm')
-rw-r--r-- | mail/elm/Makefile | 6 | ||||
-rw-r--r-- | mail/elm/files/config.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/elm/Makefile b/mail/elm/Makefile index fcf276e7366..f3eb4856b0b 100644 --- a/mail/elm/Makefile +++ b/mail/elm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2016/05/17 10:32:07 fhajny Exp $ +# $NetBSD: Makefile,v 1.52 2017/08/19 00:20:25 jlam Exp $ DISTNAME= elm2.5.8 PKGNAME= elm-2.5.8 @@ -32,12 +32,12 @@ LIBC.*= /usr/lib/libc.so SPECIAL_PERMS+= bin/elm ${REAL_ROOT_USER} mail 2755 pre-configure: - ${CP} ${FILESDIR}/config.sh ${WRKSRC}/config.sh.orig ${SED} -e 's:@PREFIX@:${PREFIX}:g' \ -e 's:@DESTDIR@:${DESTDIR}:g' \ -e 's:@LOCALBASE@:${LOCALBASE}:g' \ + -e 's:@PKGMANDIR@:${PKGMANDIR}:g' \ -e 's:@LIBC@:${LIBC}:g' \ - ${WRKSRC}/config.sh.orig > ${WRKSRC}/config.sh + ${FILESDIR}/config.sh > ${WRKSRC}/config.sh ${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl ${SED} -e 's:__PREFIX:'${PREFIX}':g' < ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS diff --git a/mail/elm/files/config.sh b/mail/elm/files/config.sh index 4c21e66eeb1..585cb869c5b 100644 --- a/mail/elm/files/config.sh +++ b/mail/elm/files/config.sh @@ -240,7 +240,7 @@ linepr='/usr/bin/lp' maildir='/var/mail' mailer='/usr/sbin/sendmail' mailgrp='wheel' -mansrc='@DESTDIR@@PREFIX@/man/man1' +mansrc='@DESTDIR@@PREFIX@/@PKGMANDIR@/man1' catmansrc='none' manext='.1' manext_choice='.1' |