pkgsrc-WIP-changes archive

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

Install a symlink pointing at a nonexistent file, for local config.



Module Name:	pkgsrc-wip
Committed By:	Jeff Rizzo <riz%tastylime.net@localhost>
Pushed By:	riz
Date:		Sat Dec 5 21:09:24 2015 -0800
Changeset:	cc2b9879ebaab202032ca573f6bc455e9ecdf758

Modified Files:
	py-graphite-web/Makefile
	py-graphite-web/PLIST

Log Message:
Install a symlink pointing at a nonexistent file, for local config.

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

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

diffstat:
 py-graphite-web/Makefile | 3 +++
 py-graphite-web/PLIST    | 1 +
 2 files changed, 4 insertions(+)

diffs:
diff --git a/py-graphite-web/Makefile b/py-graphite-web/Makefile
index 5451848..a9b89a6 100644
--- a/py-graphite-web/Makefile
+++ b/py-graphite-web/Makefile
@@ -61,6 +61,9 @@ pre-build:
 	${CP} -LR ${WRKSRC}/webapp/content ${WRKSRC}/graphite/webapp
 	${RM} -f ${WRKSRC}/bin/build-index.sh.orig
 
+post-install:
+	${LN} -s ${PKG_SYSCONFDIR}/local_settings.py ${DESTDIR}${PREFIX}/${PYSITELIB}/graphite/
+
 .include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-graphite-web/PLIST b/py-graphite-web/PLIST
index 927ecb0..2584a00 100644
--- a/py-graphite-web/PLIST
+++ b/py-graphite-web/PLIST
@@ -622,6 +622,7 @@ ${PYSITELIB}/graphite/events/urls.pyo
 ${PYSITELIB}/graphite/events/views.py
 ${PYSITELIB}/graphite/events/views.pyc
 ${PYSITELIB}/graphite/events/views.pyo
+${PYSITELIB}/graphite/local_settings.py
 ${PYSITELIB}/graphite/local_settings.py.example
 ${PYSITELIB}/graphite/logger.py
 ${PYSITELIB}/graphite/logger.pyc


Home | Main Index | Thread Index | Old Index