pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
logswan: Install docs and examples
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Sep 29 00:05:20 2015 +0200
Changeset: a581fa4fcd416d74737705c9a2995a5dae4b7c10
Modified Files:
logswan/Makefile
logswan/PLIST
Log Message:
logswan: Install docs and examples
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a581fa4fcd416d74737705c9a2995a5dae4b7c10
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
logswan/Makefile | 14 ++++++++++++++
logswan/PLIST | 5 +++++
2 files changed, 19 insertions(+)
diffs:
diff --git a/logswan/Makefile b/logswan/Makefile
index adb2c00..5e4ed81 100644
--- a/logswan/Makefile
+++ b/logswan/Makefile
@@ -16,6 +16,20 @@ SUBST_STAGE.geoip= post-patch
SUBST_FILES.geoip+= src/logswan.c
SUBST_SED.geoip+= -e 's,/usr/local,${PREFIX},g'
+DOCDIR= share/doc/logswan
+EGDIR= share/examples/logswan
+
+CONF_FILES+= ${EGDIR}/logswan.json ${PKG_SYSCONFDIR}/logswan.json
+
+AUTO_MKDIRS= yes
+
+post-install:
+.for f in AUTHORS README.md THANKS TODO
+ ${RUN}${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
+ ${RUN}${INSTALL_DATA} ${WRKSRC}/examples/logswan.json \
+ ${DESTDIR}${PREFIX}/${EGDIR}
+
.include "../../textproc/jansson/buildlink3.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/logswan/PLIST b/logswan/PLIST
index 3030c26..b1e55d1 100644
--- a/logswan/PLIST
+++ b/logswan/PLIST
@@ -1,2 +1,7 @@
@comment $NetBSD$
bin/logswan
+share/doc/logswan/AUTHORS
+share/doc/logswan/README.md
+share/doc/logswan/THANKS
+share/doc/logswan/TODO
+share/examples/logswan/logswan.json
Home |
Main Index |
Thread Index |
Old Index