summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorrichard <richard>2015-07-04 18:06:37 +0000
committerrichard <richard>2015-07-04 18:06:37 +0000
commit753475405541205c2e199f986f493c4badd8792c (patch)
tree865577ecb854310f925bb5735afc26f621b82a0c /x11
parentbf1533f86ea40b16b3d16ed74d6afa77882213bc (diff)
downloadpkgsrc-753475405541205c2e199f986f493c4badd8792c.tar.gz
use PKG_SYSCONFSUBDIR to get over conf file issues.
Diffstat (limited to 'x11')
-rw-r--r--x11/lbxproxy/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/x11/lbxproxy/Makefile b/x11/lbxproxy/Makefile
index 560880f71ac..a61047c1238 100644
--- a/x11/lbxproxy/Makefile
+++ b/x11/lbxproxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/07/04 14:36:52 rodent Exp $
+# $NetBSD: Makefile,v 1.13 2015/07/04 18:06:37 richard Exp $
DISTNAME= lbxproxy-1.0.3
CATEGORIES= x11
@@ -13,15 +13,14 @@ LICENSE= x11 # XXX and others
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
-EGDIR= share/examples/lbxproxy
-CONF_FILES+= ${EGDIR}/AtomControl ${PKG_SYSCONFDIR}/X11/lbxproxy/AtomControl
+PKG_SYSCONFSUBDIR= X11/lbxproxy
+EGDIR= ${PREFIX}/share/examples/lbxproxy
+CONF_FILES+= ${EGDIR}/AtomControl ${PKG_SYSCONFDIR}/AtomControl
-INSTALLATION_DIRS+= ${EGDIR}
+INSTALLATION_DIRS+= share/examples/lbxproxy
post-install:
- ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/X11/lbxproxy/AtomControl
- ${INSTALL_DATA} ${WRKSRC}/config/AtomControl \
- ${DESTDIR}${PREFIX}/${EGDIR}
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/AtomControl ${DESTDIR}${EGDIR}/
.include "../../x11/bigreqsproto/buildlink3.mk"
.include "../../x11/xproxymanagementprotocol/buildlink3.mk"