Add CONFLICTS_INSTALL.

Simplify sample configuration installation after sending patches upstream.

Submitted by:	Mateusz Piotrowski <0mp@FreeBSD.org>
Differential Revision:	D15079
This commit is contained in:
dvl
2018-05-17 14:12:18 +00:00
parent ec8ea46845
commit f68ebcb753
3 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -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
+2 -2
View File
@@ -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
+3
View File
@@ -0,0 +1,3 @@
@mode 640
@sample %%ETCDIR%%/hared.ini.sample
@mode