Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2020 18:04:36 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r553371 - in branches/2020Q4/x11/xob: . files
Message-ID:  <202010261804.09QI4ajb037887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Mon Oct 26 18:04:36 2020
New Revision: 553371
URL: https://svnweb.freebsd.org/changeset/ports/553371

Log:
  MFH: r553293
  
  x11/xob: Install configuration file properly
  
  PR:		250607
  Approved by:	maintainer
  
  Approved by:	ports-secteam (blanket)

Modified:
  branches/2020Q4/x11/xob/Makefile
  branches/2020Q4/x11/xob/files/patch-Makefile
Directory Properties:
  branches/2020Q4/   (props changed)

Modified: branches/2020Q4/x11/xob/Makefile
==============================================================================
--- branches/2020Q4/x11/xob/Makefile	Mon Oct 26 17:59:25 2020	(r553370)
+++ branches/2020Q4/x11/xob/Makefile	Mon Oct 26 18:04:36 2020	(r553371)
@@ -3,6 +3,7 @@
 PORTNAME=	xob
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	vulcan@wired.sh
@@ -22,8 +23,8 @@ PORTDOCS=	CHANGELOG.md CONTRIBUTING.md README.md
 
 OPTIONS_DEFINE=	DOCS
 
-PLIST_FILES=	${ETCDIR}/styles.cfg \
-		bin/xob \
+PLIST_FILES=	bin/xob \
+		"@sample ${ETCDIR}/styles.cfg.sample" \
 		share/man/man1/xob.1.gz
 
 post-install-DOCS-on:

Modified: branches/2020Q4/x11/xob/files/patch-Makefile
==============================================================================
--- branches/2020Q4/x11/xob/files/patch-Makefile	Mon Oct 26 17:59:25 2020	(r553370)
+++ branches/2020Q4/x11/xob/files/patch-Makefile	Mon Oct 26 18:04:36 2020	(r553371)
@@ -15,7 +15,7 @@
 +	mkdir -p "$(DESTDIR)$(man1dir)"
 +	$(BSD_INSTALL_DATA) "$(MANPAGE)" "$(DESTDIR)$(man1dir)"
 +	mkdir -p "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
-+	$(BSD_INSTALL_DATA) "$(SYSCONF)" "$(DESTDIR)$(sysconfdir)/$(PROGRAM)"
++	$(BSD_INSTALL_DATA) "$(SYSCONF)" "$(DESTDIR)$(sysconfdir)/$(PROGRAM)/$(SYSCONF).sample"
  
  uninstall:
  	rm -f "$(DESTDIR)$(bindir)/$(PROGRAM)"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010261804.09QI4ajb037887>