diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-01-27 09:35:25 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-01-27 09:35:25 +0000 |
commit | 532ed206962eb079ff4fe7c75d9896b0de7beaf7 (patch) | |
tree | ef737b9077fd7ca2fc1d24a3bdd43b7ef2634c24 /misc | |
parent | 5266ae1ed9d97d78d84cbdf53cf36c786deb6b78 (diff) | |
download | pkgsrc-532ed206962eb079ff4fe7c75d9896b0de7beaf7.tar.gz |
Initial import of gnome-dirs, version 1.0:
gnome-dirs installs a set of shared directories used by many GTK/GNOME
applications. Do not directly depend on this package. Please use
gnome1-dirs and gnome2-dirs instead.
This is an attempt to simplify shared directory handling in PLIST's, as
many packages use the GNOME directory hierarchy.
Reviewed by rh.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnome-dirs/DESCR | 3 | ||||
-rw-r--r-- | misc/gnome-dirs/Makefile | 25 | ||||
-rw-r--r-- | misc/gnome-dirs/Makefile.common | 58 | ||||
-rw-r--r-- | misc/gnome-dirs/buildlink2.mk | 22 |
4 files changed, 108 insertions, 0 deletions
diff --git a/misc/gnome-dirs/DESCR b/misc/gnome-dirs/DESCR new file mode 100644 index 00000000000..874832579d7 --- /dev/null +++ b/misc/gnome-dirs/DESCR @@ -0,0 +1,3 @@ +gnome-dirs installs a set of shared directories used by many GTK/GNOME +applications. Do not directly depend on this package. Please use +gnome1-dirs and gnome2-dirs instead. diff --git a/misc/gnome-dirs/Makefile b/misc/gnome-dirs/Makefile new file mode 100644 index 00000000000..bacc5bf044d --- /dev/null +++ b/misc/gnome-dirs/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/01/27 09:35:25 jmmv Exp $ +# + +DISTNAME= gnome-dirs-${GNOME_DIRS_VERSION} +WRKSRC= ${WRKDIR} +CATEGORIES= misc gnome +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= packages@netbsd.org +HOMEPAGE= # empty +COMMENT= Shared GTK/GNOME (v1 and v2) directories + +NO_BUILD= # defined +NO_CHECKSUM= # defined +NO_CONFIGURE= # defined +NO_EXTRACT= # defined + +USE_BUILDLINK2= YES +USE_X11BASE= YES + +GNOME_DIRS= ${GNOME_DIRS_COMMON} + +.include "Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/gnome-dirs/Makefile.common b/misc/gnome-dirs/Makefile.common new file mode 100644 index 00000000000..ee4bb4106c5 --- /dev/null +++ b/misc/gnome-dirs/Makefile.common @@ -0,0 +1,58 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2003/01/27 09:35:25 jmmv Exp $ +# + +# This Makefile contains all the logic needed to automatically generate +# PLIST's for the gnome*-dirs packages. +# It also installs all GTK/GNOME directories common to v1 and v2. + +GNOME_DIRS_VERSION= 1.0 + +GNOME_DIRS_COMMON= share/gnome/apps +GNOME_DIRS_COMMON+= share/gnome/apps/Applications +GNOME_DIRS_COMMON+= share/gnome/apps/Development +GNOME_DIRS_COMMON+= share/gnome/apps/Games +GNOME_DIRS_COMMON+= share/gnome/apps/Graphics +GNOME_DIRS_COMMON+= share/gnome/apps/Internet +GNOME_DIRS_COMMON+= share/gnome/apps/Multimedia +GNOME_DIRS_COMMON+= share/gnome/apps/Settings +GNOME_DIRS_COMMON+= share/gnome/apps/Settings/Desktop +GNOME_DIRS_COMMON+= share/gnome/apps/Settings/Session +GNOME_DIRS_COMMON+= share/gnome/apps/System +GNOME_DIRS_COMMON+= share/gnome/apps/Utilities +GNOME_DIRS_COMMON+= share/gnome/help +GNOME_DIRS_COMMON+= share/gnome/help/fdl +GNOME_DIRS_COMMON+= share/gnome/help/fdl/C +GNOME_DIRS_COMMON+= share/gnome/help/fdl/C/figures +GNOME_DIRS_COMMON+= share/gnome/help/gpl +GNOME_DIRS_COMMON+= share/gnome/help/gpl/C +GNOME_DIRS_COMMON+= share/gnome/help/gpl/C/figures +GNOME_DIRS_COMMON+= share/gnome/help/lgpl +GNOME_DIRS_COMMON+= share/gnome/help/lgpl/C +GNOME_DIRS_COMMON+= share/gnome/help/lgpl/C/figures + +.include "../../mk/bsd.prefs.mk" + +_SORTED!= ${ECHO} ${GNOME_DIRS} | ${TR} -s ' \t' '\n' | ${SORT} +_REVERSE!= ${ECHO} ${GNOME_DIRS} | ${TR} -s ' \t' '\n' | ${SORT} -r + +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + +do-install: +.for d in ${_SORTED} + ${INSTALL_DATA_DIR} ${PREFIX}/$d +.endfor +.undef d + +post-install: + @${RM} -f ${PLIST_SRC} + @${TOUCH} ${PLIST_SRC} +.for d in ${_SORTED} + @${ECHO} "@exec \$${MKDIR} %D/$d" >> ${PLIST_SRC} +.endfor +.for d in ${_REVERSE} + @${ECHO} "@unexec \$${RMDIR} %D/$d || \$${TRUE}" >> ${PLIST_SRC} +.endfor +.undef d + +.undef _SORTED +.undef _REVERSE diff --git a/misc/gnome-dirs/buildlink2.mk b/misc/gnome-dirs/buildlink2.mk new file mode 100644 index 00000000000..6db870375ff --- /dev/null +++ b/misc/gnome-dirs/buildlink2.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/01/27 09:35:25 jmmv Exp $ +# +# This Makefile fragment is included by packages that use gnome1-dirs. +# +# This file was created automatically using createbuildlink 2.3. +# + +.if !defined(GNOME_DIRS_BUILDLINK2_MK) +GNOME_DIRS_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= gnome-dirs +BUILDLINK_DEPENDS.gnome-dirs?= gnome-dirs>=1.0 +BUILDLINK_PKGSRCDIR.gnome-dirs?= ../../misc/gnome-dirs + +EVAL_PREFIX+= BUILDLINK_PREFIX.gnome-dirs=gnome-dirs +BUILDLINK_PREFIX.gnome-dirs_DEFAULT= ${X11PREFIX} + +BUILDLINK_TARGETS+= gnome-dirs-buildlink + +gnome-dirs-buildlink: _BUILDLINK_USE + +.endif # GNOME_DIRS_BUILDLINK2_MK |