pkgsrc-WIP-changes archive

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

lemonbar: use AUTO_MKDIRS=yes, use PKGMANDIR



Module Name:	pkgsrc-wip
Committed By:	Zach Hopkins <hopkinsza%gmail.com@localhost>
Pushed By:	frz
Date:		Tue Nov 3 01:43:17 2020 -0500
Changeset:	2f00864c47458768f24d8c7535d46cf66c67e4fa

Modified Files:
	lemonbar/Makefile

Log Message:
lemonbar: use AUTO_MKDIRS=yes, use PKGMANDIR

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

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

diffstat:
 lemonbar/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/lemonbar/Makefile b/lemonbar/Makefile
index 3b98ccfa05..b88467dee6 100644
--- a/lemonbar/Makefile
+++ b/lemonbar/Makefile
@@ -13,6 +13,8 @@ LICENSE=	mit
 
 USE_TOOLS+=	gmake pod2man
 
+AUTO_MKDIRS=	yes
+
 # generate the man page as in the lemonbar Makefile's `doc' target
 # because `all' does not call it
 post-build:
@@ -22,10 +24,8 @@ post-build:
 		${WRKSRC}/README.pod > ${WRKSRC}/lemonbar.1
 
 do-install:
-	${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin/
 	${INSTALL_PROGRAM} ${WRKSRC}/lemonbar ${DESTDIR}${PREFIX}/bin/
-	${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/lemonbar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
 
 .include "../../x11/libxcb/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index