pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
newsraft: use pax to copy examples
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Wed Jan 10 21:00:13 2024 -0500
Changeset: 876369c1dd14c26caea7566b5c718707671c73a0
Modified Files:
newsraft/Makefile
Log Message:
newsraft: use pax to copy examples
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=876369c1dd14c26caea7566b5c718707671c73a0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
newsraft/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diffs:
diff --git a/newsraft/Makefile b/newsraft/Makefile
index cdb414fc5e..0542c6856d 100644
--- a/newsraft/Makefile
+++ b/newsraft/Makefile
@@ -11,7 +11,7 @@ LICENSE= isc
WRKSRC= ${WRKDIR}/newsraft
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config pax
USE_LANGUAGES= c
MAKE_FILE= makefile
@@ -34,9 +34,8 @@ INSTALLATION_DIRS+= bin man/man1 share/examples/newsraft
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/newsraft ${DESTDIR}${PREFIX}/bin && \
${INSTALL_MAN} ${WRKSRC}/doc/newsraft.1 \
- ${DESTDIR}${PKGMANDIR}/man1 && \
- ${CP} ${WRKSRC}/doc/examples/config ${DESTDIR}${EGDIR} && \
- ${CP} ${WRKSRC}/doc/examples/feeds ${DESTDIR}${EGDIR}
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
+ cd ${WRKSRC}/doc/examples && ${PAX} -wr . ${DESTDIR}${EGDIR}
.include "../../www/curl/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index