x11/xob: Install configuration file properly

PR:		250607
Approved by:	maintainer
This commit is contained in:
Max Brazhnikov 2020-10-25 21:16:40 +00:00
parent 887c1283f3
commit e3c17b5e29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553293
2 changed files with 4 additions and 3 deletions

View File

@ -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:

View File

@ -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)"