summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-07 08:54:16 +0000
committerjlam <jlam@pkgsrc.org>2017-08-07 08:54:16 +0000
commit0bdf73a8851fd9b6505bd98579eebe20d2cd7c2b (patch)
tree5dcada01d828c164109d1855f983f23ed39e8ecc /sysutils
parentd4bc52b4c4dca2738ebaa224f7c3c091dbf736b2 (diff)
downloadpkgsrc-0bdf73a8851fd9b6505bd98579eebe20d2cd7c2b.tar.gz
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 (limited to 'sysutils')
-rw-r--r--sysutils/lxmenu-data/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/lxmenu-data/Makefile b/sysutils/lxmenu-data/Makefile
index a50c0e4c2c4..605c9ef68da 100644
--- a/sysutils/lxmenu-data/Makefile
+++ b/sysutils/lxmenu-data/Makefile
@@ -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 @@ USE_TOOLS+= gettext gmake intltool msgfmt
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