pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
herbe: cleaned up pre-install
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Mon Nov 6 22:26:43 2023 -0500
Changeset: ce297708d4384519bf8263cb9db21e2bd32c96c7
Modified Files:
herbe/Makefile
Log Message:
herbe: cleaned up pre-install
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ce297708d4384519bf8263cb9db21e2bd32c96c7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
herbe/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diffs:
diff --git a/herbe/Makefile b/herbe/Makefile
index 0a15ae75cf..a851d78e53 100644
--- a/herbe/Makefile
+++ b/herbe/Makefile
@@ -15,11 +15,12 @@ LICENSE= mit
MAKE_FLAGS+= CC=${CC}
MAKE_FLAGS+= PREFIX=${PREFIX}
-DOC_DIR= ${DESTDIR}/${PREFIX}/share/doc/herbe
+DOC_DIR= ${PREFIX}/share/doc/herbe
+
+INSTALLATION_DIRS+= ${DOC_DIR}
+
pre-install:
- mkdir -p ${DOC_DIR}
- cp ${WRKSRC}/README.md ${DOC_DIR}
- chmod 644 ${DOC_DIR}/README.md
+ ${INSTALL_MAN} ${WRKSRC}/README.md ${DESTDIR}${DOC_DIR}
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index