pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lemonbar: Change perl to a build dependency



Module Name:	pkgsrc-wip
Committed By:	Zach Hopkins <hopkinsza%gmail.com@localhost>
Pushed By:	frz
Date:		Sat Oct 3 17:02:21 2020 -0400
Changeset:	e0836941e53d152e9d75cf141c99acd3876ff09b

Modified Files:
	lemonbar/Makefile

Log Message:
lemonbar: Change perl to a build dependency

pod2man, provided by the perl package, is only needed to generate the
man page at build time; it is not a runtime dependency.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e0836941e53d152e9d75cf141c99acd3876ff09b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lemonbar/Makefile | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diffs:
diff --git a/lemonbar/Makefile b/lemonbar/Makefile
index f62c5f1257..8a027b10fd 100644
--- a/lemonbar/Makefile
+++ b/lemonbar/Makefile
@@ -11,13 +11,12 @@ HOMEPAGE=	https://github.com/LemonBoy/bar
 COMMENT=	Featherweight lemon-scented bar
 LICENSE=	mit
 
-USE_TOOLS+=	gmake
+# perl is a build dependency because pod2man is needed
+# to generate lemonbar's man page
+USE_TOOLS+=	gmake perl
 
-# this post-build target was copied from the FreeBSD port.
-#
-# this generates the man page because, for some reason, the `all'
-# target of lemonbar's Makefile does not call the `doc' target
-# that would normally do this.
+# generate the man page as in the lemonbar Makefile's `doc' target
+# because, for some reason, `all' does not call it
 post-build:
 	${LOCALBASE}/bin/pod2man --section=1 --name=lemonbar \
 		--center="lemonbar manual" \
@@ -31,6 +30,4 @@ do-install:
 	${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/man/man1/
 
 .include "../../x11/libxcb/buildlink3.mk"
-# perl for pod2man
-.include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index