pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lemonbar: change build dependency from perl to pod2man
Module Name: pkgsrc-wip
Committed By: Zach Hopkins <hopkinsza%gmail.com@localhost>
Pushed By: frz
Date: Tue Nov 3 01:13:29 2020 -0500
Changeset: 172c454b94bc81e3ca3517357e3c801f1f19baef
Modified Files:
lemonbar/Makefile
Log Message:
lemonbar: change build dependency from perl to pod2man
note: this functionality was, as far as I can tell, not documented in
any ``bmake help''. Is this best practice?
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=172c454b94bc81e3ca3517357e3c801f1f19baef
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lemonbar/Makefile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diffs:
diff --git a/lemonbar/Makefile b/lemonbar/Makefile
index 8a027b10fd..3b98ccfa05 100644
--- a/lemonbar/Makefile
+++ b/lemonbar/Makefile
@@ -11,14 +11,12 @@ HOMEPAGE= https://github.com/LemonBoy/bar
COMMENT= Featherweight lemon-scented bar
LICENSE= mit
-# perl is a build dependency because pod2man is needed
-# to generate lemonbar's man page
-USE_TOOLS+= gmake perl
+USE_TOOLS+= gmake pod2man
# generate the man page as in the lemonbar Makefile's `doc' target
-# because, for some reason, `all' does not call it
+# because `all' does not call it
post-build:
- ${LOCALBASE}/bin/pod2man --section=1 --name=lemonbar \
+ ${TOOLS_PATH.pod2man} --section=1 --name=lemonbar \
--center="lemonbar manual" \
--release="${PKGVERSION_NOREV}" \
${WRKSRC}/README.pod > ${WRKSRC}/lemonbar.1
Home |
Main Index |
Thread Index |
Old Index