diff options
author | joerg <joerg> | 2006-01-22 04:13:33 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-01-22 04:13:33 +0000 |
commit | 02b54a1cceac3a409162da4d8aab0a58694ff6c0 (patch) | |
tree | d9f3bd413835e3b0999fd7b7e258e5c5fcd362ee /x11/gnome-themes/Makefile | |
parent | f7b03a1caa0940fb2154c7dd17ee0417d484c687 (diff) | |
download | pkgsrc-02b54a1cceac3a409162da4d8aab0a58694ff6c0.tar.gz |
"install -dc foo bar" doesn't copy foo to bar, it creates two directories
foo and bar. On NetBSD, it doesn't matter whether foo already exists or
whether it is a directory, so the passed flags just created a bunch of
garbage directories. Since I don't want to patch a dozen Makefile.ams to
avoid the nobase usage, just precreate the directories in pre-install.
Bump revision.
Diffstat (limited to 'x11/gnome-themes/Makefile')
-rw-r--r-- | x11/gnome-themes/Makefile | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/x11/gnome-themes/Makefile b/x11/gnome-themes/Makefile index 419acc6d433..a9578955cf6 100644 --- a/x11/gnome-themes/Makefile +++ b/x11/gnome-themes/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.37 2005/12/31 12:32:48 wiz Exp $ +# $NetBSD: Makefile,v 1.38 2006/01/22 04:13:33 joerg Exp $ # DISTNAME= gnome-themes-2.12.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-themes/2.12/} EXTRACT_SUFX= .tar.bz2 @@ -21,7 +21,35 @@ USE_LIBTOOL= yes USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes -INSTALL_MAKE_FLAGS+= install_sh="${INSTALL} -d" +pre-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/Smokey-Red + cd ${PREFIX}/share/icons/Smokey-Red && ${INSTALL_DATA_DIR} \ + 96x96/filesystems 72x72/filesystems 64x64/filesystems \ + 48x48/filesystems 48x48/emblems + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/Smokey-Blue + cd ${PREFIX}/share/icons/Smokey-Blue && ${INSTALL_DATA_DIR} \ + 96x96/filesystems 72x72/filesystems 64x64/filesystems \ + 48x48/emblems + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/Sandy + cd ${PREFIX}/share/icons/Sandy && ${INSTALL_DATA_DIR} \ + 96x96/filesystems 72x72/filesystems \ + 48x48/filesystems 36x36/filesystems 24x24/filesystems \ + 12x12/filesystems + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/LowContrastLargePrint/48x48 + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/HighContrastLargePrintInverse/48x48 + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/HighContrastLargePrint/48x48 + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/Flat-Blue + cd ${PREFIX}/share/icons/Flat-Blue && ${INSTALL_DATA_DIR} \ + 96x96/filesystems 72x72/filesystems 72x72/devices \ + 48x48/filesystems 48x48/emblems \ + 48x48/devices 36x36/filesystems 36x36/emblems \ + 24x24/filesystems 24x24/emblems 20x20/filesystems \ + 192x192/filesystems 12x12/filesystems 12x12/emblems scalable/emblems + ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/Crux + cd ${PREFIX}/share/icons/Crux && ${INSTALL_DATA_DIR} \ + 96x96/filesystems 96x96/emblems 72x72/filesystems 72x72/emblems \ + 48x48/filesystems 48x48/emblems 36x36/filesystems \ + 24x24/filesystems 192x192/filesystems 12x12/filesystems .include "../../devel/libgnomeui/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" |