pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/xdg-dirs Register the following new directories:
details: https://anonhg.NetBSD.org/pkgsrc/rev/e45576ae1d5e
branches: trunk
changeset: 470358:e45576ae1d5e
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Mon Mar 08 19:27:53 2004 +0000
description:
Register the following new directories:
share/application-registry
share/icons
share/images
share/mime-info
share/pixmaps
share/sounds
share/themes
Bump version to 1.1 due to this.
While here, split the Makefile to ease the addition of xdg-x11-dirs.
diffstat:
misc/xdg-dirs/Makefile | 24 ++++--------------------
misc/xdg-dirs/Makefile.common | 31 +++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 20 deletions(-)
diffs (74 lines):
diff -r 74bfc3f82e32 -r e45576ae1d5e misc/xdg-dirs/Makefile
--- a/misc/xdg-dirs/Makefile Mon Mar 08 19:22:26 2004 +0000
+++ b/misc/xdg-dirs/Makefile Mon Mar 08 19:27:53 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2004/02/15 18:08:03 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2004/03/08 19:27:53 jmmv Exp $
#
-DISTNAME= xdg-dirs-1.0
+DISTNAME= xdg-dirs-${XDG_DIRS_VERSION}
CATEGORIES= misc gnome kde
MASTER_SITES= # empty
DISTFILES= # empty
@@ -12,23 +12,7 @@
CONFLICTS= gnome2-dirs<=1.2
-WRKSRC= ${WRKDIR}
-USE_LANGUAGES= # empty
-NO_EXTRACT= # defined
-NO_CHECKSUM= # defined
-NO_BUILDLINK= # defined
-NO_CONFIGURE= # defined
-NO_BUILD= # defined
-
-.include "../../mk/bsd.prefs.mk"
+XDG_DIRS_REGISTER= yes
-XDG_DIRS= share/applications
-
-_SORTED!= ${ECHO} ${XDG_DIRS} | ${TR} -s ' \t' '\n' | ${SORT}
-
-USE_PKGINSTALL= yes
-MAKE_DIRS+= ${_SORTED:S/^/${PREFIX}\//}
-
-do-install: # nothing
-
+.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r 74bfc3f82e32 -r e45576ae1d5e misc/xdg-dirs/Makefile.common
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xdg-dirs/Makefile.common Mon Mar 08 19:27:53 2004 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.1 2004/03/08 19:27:53 jmmv Exp $
+#
+
+XDG_DIRS_VERSION= 1.1
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # empty
+USE_PKGINSTALL= yes
+NO_EXTRACT= # defined
+NO_CHECKSUM= # defined
+NO_BUILDLINK= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+XDG_DIRS+= share/application-registry
+XDG_DIRS+= share/applications
+XDG_DIRS+= share/icons
+XDG_DIRS+= share/images
+XDG_DIRS+= share/mime-info
+XDG_DIRS+= share/pixmaps
+XDG_DIRS+= share/sounds
+XDG_DIRS+= share/themes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${XDG_DIRS_REGISTER} == "yes"
+_SORTED!= ${ECHO} ${XDG_DIRS} | ${TR} -s ' \t' '\n' | ${SORT}
+MAKE_DIRS+= ${_SORTED:S/^/${PREFIX}\//}
+.endif
+
+do-install: # nothing
Home |
Main Index |
Thread Index |
Old Index