From f68ebcb753a7aae9b103f02e409b73d6f4c8da55 Mon Sep 17 00:00:00 2001 From: dvl Date: Thu, 17 May 2018 14:12:18 +0000 Subject: [PATCH] Add CONFLICTS_INSTALL. Simplify sample configuration installation after sending patches upstream. Submitted by: Mateusz Piotrowski <0mp@FreeBSD.org> Differential Revision: D15079 --- sysutils/py-hared/Makefile | 3 +-- sysutils/py-hared/pkg-descr | 4 ++-- sysutils/py-hared/pkg-plist | 3 +++ 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 sysutils/py-hared/pkg-plist diff --git a/sysutils/py-hared/Makefile b/sysutils/py-hared/Makefile index 59e322950842..44659b8ae6c2 100644 --- a/sysutils/py-hared/Makefile +++ b/sysutils/py-hared/Makefile @@ -3,6 +3,7 @@ PORTNAME= hared PORTVERSION= 1.0 PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,8 +20,6 @@ ETCDIR= ${PREFIX}/etc RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt@${PY_FLAVOR} -PLIST_FILES+= "@sample %%ETCDIR%%/hared.ini.sample" - pre-install: ${INSTALL_DATA} ${FILESDIR}/hared.conf ${STAGEDIR}${ETCDIR}/hared.ini.sample diff --git a/sysutils/py-hared/pkg-descr b/sysutils/py-hared/pkg-descr index 6fbcb797d965..681ca0bede59 100644 --- a/sysutils/py-hared/pkg-descr +++ b/sysutils/py-hared/pkg-descr @@ -1,7 +1,7 @@ -Small Python server for receiving notications and tossing them into mtqq. +Small Python server for receiving notifications and tossing them into MTQQ. This will form part of a centralized message distribution system. -A client for this server is sysutils/hare +A client for this server is sysutils/hare. WWW: https://github.com/jpmens/hared-hare diff --git a/sysutils/py-hared/pkg-plist b/sysutils/py-hared/pkg-plist new file mode 100644 index 000000000000..f411c4f61bdc --- /dev/null +++ b/sysutils/py-hared/pkg-plist @@ -0,0 +1,3 @@ +@mode 640 +@sample %%ETCDIR%%/hared.ini.sample +@mode