pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/lxmenu-data Create directories before copying...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f954a9f02b07
branches:  trunk
changeset: 366230:f954a9f02b07
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Aug 07 08:54:16 2017 +0000

description:
Create directories before copying config files in sysutils/lxmenu.

Add ${PKG_SYSCONFDIR}/menus to MAKE_DIRS to ensure that the menus
subdirectory is created before the example menu file is copied
there.  We use MAKE_DIRS instead of OWN_DIRS since this directory
is probably owned by another package.

Bump the PKREVISION due to fixes in the package install scripts.

diffstat:

 sysutils/lxmenu-data/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 43431b29cbce -r f954a9f02b07 sysutils/lxmenu-data/Makefile
--- a/sysutils/lxmenu-data/Makefile     Mon Aug 07 08:44:14 2017 +0000
+++ b/sysutils/lxmenu-data/Makefile     Mon Aug 07 08:54:16 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2016/06/06 02:02:33 youri Exp $
+# $NetBSD: Makefile,v 1.3 2017/08/07 08:54:16 jlam Exp $
 
 DISTNAME=      lxmenu-data-0.1.5
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=lxde/}
 EXTRACT_SUFX=  .tar.xz
@@ -15,6 +16,7 @@
 
 MENU_CONF=             share/examples/menus
 PKG_SYSCONFSUBDIR=     xdg
+MAKE_DIRS=             ${PKG_SYSCONFDIR}/menus
 
 CONF_FILES=    ${MENU_CONF}/lxde-applications.menu \
                ${PKG_SYSCONFDIR}/menus/lxde-applications.menu



Home | Main Index | Thread Index | Old Index