pkgsrc-WIP-changes archive

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

herbe: copy README during install



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Mon Nov 6 20:48:18 2023 -0500
Changeset:	395417c1ce3585a2c9ea2efe1460c29113bdfe72

Modified Files:
	herbe/Makefile
	herbe/PLIST

Log Message:
herbe: copy README during install

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

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

diffstat:
 herbe/Makefile | 6 ++++++
 herbe/PLIST    | 1 +
 2 files changed, 7 insertions(+)

diffs:
diff --git a/herbe/Makefile b/herbe/Makefile
index 5b417af19f..0a15ae75cf 100644
--- a/herbe/Makefile
+++ b/herbe/Makefile
@@ -15,6 +15,12 @@ LICENSE=	mit
 MAKE_FLAGS+=	CC=${CC}
 MAKE_FLAGS+=	PREFIX=${PREFIX}
 
+DOC_DIR=	${DESTDIR}/${PREFIX}/share/doc/herbe
+pre-install:
+	mkdir -p ${DOC_DIR}
+	cp ${WRKSRC}/README.md ${DOC_DIR}
+	chmod 644 ${DOC_DIR}/README.md
+
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXft/buildlink3.mk"
diff --git a/herbe/PLIST b/herbe/PLIST
index 26344544e3..cee107083f 100644
--- a/herbe/PLIST
+++ b/herbe/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/herbe
+share/doc/herbe/README.md


Home | Main Index | Thread Index | Old Index