+CONTENTS000644 000000 000000 00000000441 11130351717 012265 0ustar00rootroot000000 000000 @cwd /usr/pkg @src /usr/pkg @name theme-dirs-1.1nb1 @blddep xdg-dirs-1.4 @pkgdep xdg-dirs>=1.1 @comment theme-dirs-1.1nb1 has no files. @cwd . @ignore +COMMENT @ignore +DESC @ignore +INSTALL @ignore +DEINSTALL @ignore +BUILD_VERSION @ignore +BUILD_INFO @ignore +SIZE_PKG @ignore +SIZE_ALL +COMMENT000444 000000 000000 00000000031 11130351717 012123 0ustar00rootroot000000 000000 Shared theme directories +DESC000444 000000 000000 00000000323 11130351717 011543 0ustar00rootroot000000 000000 theme-dirs installs a set of shared directories used by GTK2+ (gtk2-engines) and other GNOME packages (such as metacity and gnome-themes). It is useful to simplify PLIST handling in other packages. Homepage: +INSTALL000755 000000 000001 00000035736 11130351706 012315 0ustar00rootother000000 000000 #!/usr/pkg/bin/pdksh # # $NetBSD: header,v 1.2 2006/07/19 22:26:26 jlam Exp $ SELF="$0" PKGNAME="$1" STAGE="$2" shift 2 AWK="/usr/pkg/bin/nawk" BASENAME="/usr/bin/basename" CAT="/usr/bin/cat" CHGRP="/usr/bin/chgrp" CHMOD="/usr/bin/chmod" CHOWN="/usr/bin/chown" CMP="/bin/cmp" CP="/bin/cp" DIRNAME="/usr/bin/dirname" ECHO="echo" ECHO_N="echo -n" EGREP="/usr/xpg4/bin/grep -E" EXPR="/usr/xpg4/bin/expr" FALSE="false" FIND="/usr/bin/find" GREP="/usr/xpg4/bin/grep" GTAR="" HEAD="/usr/bin/head" ID="/usr/xpg4/bin/id" LINKFARM="/usr/pkg/sbin/linkfarm" LN="/usr/bin/ln" LS="/usr/bin/ls" MKDIR="/usr/bin/mkdir -p" MV="/usr/bin/mv" PERL5="/usr/pkg/bin/perl" PKG_ADMIN="/usr/pkg/sbin/pkg_admin" PKG_INFO="/usr/pkg/sbin/pkg_info" PWD_CMD="/bin/pwd" RM="/usr/bin/rm" RMDIR="/usr/bin/rmdir" SED="/usr/pkg/bin/nbsed" SETENV="/usr/bin/env" SH="/usr/pkg/bin/pdksh" SORT="/usr/bin/sort" SU="/usr/bin/su" TEST="test" TOUCH="/usr/bin/touch" TR="/usr/bin/tr" TRUE="true" XARGS="/usr/bin/xargs" CURDIR=`${PWD_CMD}` : ${PKG_METADATA_DIR=${CURDIR}} PKGBASE="theme-dirs" LOCALBASE="/usr/pkg" X11BASE="/usr/openwin" DEPOTBASE="/usr/pkg/packages" PREFIX="/usr/pkg" case ${PKG_PREFIX} in ${LOCALBASE}/*) VIEW="${PKG_PREFIX#${LOCALBASE}/}" ;; *) VIEW="" ;; esac PKG_SYSCONFBASE="/usr/pkg/etc" PKG_SYSCONFDEPOTBASE="" PKG_SYSCONFBASEDIR="/usr/pkg/etc" PKG_SYSCONFDIR="/usr/pkg/etc" CONF_DEPENDS="" case ${VIEW} in "") PKG_SYSCONFVIEWBASE="${PKG_SYSCONFBASE}" ;; *) PKG_SYSCONFVIEWBASE="${PKG_SYSCONFBASE}/${VIEW}" ;; esac CONF_IGNORE_FILES="*[~#] *.OLD *.orig *,v .pkgsrc */.pkgsrc" PKG_INSTALLATION_TYPE="overwrite" case "${PKG_CONFIG:-YES}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CONFIG=yes ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CONFIG=yes ;; esac # $NetBSD: dirs,v 1.4 2008/01/04 21:50:27 heinz Exp $ # # Generate a +DIRS script that reference counts directories that are # required for the proper functioning of the package. # case "${STAGE},$1" in UNPACK,|UNPACK,+DIRS) ${CAT} > ./+DIRS << 'EOF' #!/usr/pkg/bin/pdksh # # +DIRS - reference-counted directory management script # # Usage: ./+DIRS ADD|REMOVE|PERMS [metadatadir] # ./+DIRS CHECK-ADD|CHECK-REMOVE|CHECK-PERMS [metadatadir] # # This script supports two actions, ADD and REMOVE, that will add or # remove the directories needed by the package associated with # . The CHECK-ADD action will check whether any directories # needed by the package are missing, and print an informative message # noting those directories. The CHECK-REMOVE action will check whether # any directories needed by the package still exist, and print an # informative message noting those directories. The CHECK-ADD and # CHECK-REMOVE actions return non-zero if they detect either missing # or existing directories, respectively. The PERMS action will correct # any ownership or permission discrepancies between the existing # directories and the data in this script, and the CHECK-PERMS action # will check whether any directories have the wrong ownership or # permission and print an informative message noting those directories. # The CHECK-PERMS action will return non-zero if it detects directories # with wrong ownership or permissions. # # Lines starting with "# DIR: " are data read by this script that # name the directories that this package requires to exist to function # correctly, e.g. # # # DIR: /etc/foo m # # DIR: /var/log/foo/tmp mo 0700 foo-user foo-group # # DIR: share/foo-plugins fm # # For each DIR entry, if the directory path is relative, then it is taken # to be relative to ${PKG_PREFIX}. # # The second field in each DIR entry is a set of flags with the following # meanings: # # f ignore ${PKG_CONFIG} # m create (make) the directory when ADDing # o directory is owned by the package # AWK="/usr/pkg/bin/nawk" CAT="/usr/bin/cat" CHGRP="/usr/bin/chgrp" CHMOD="/usr/bin/chmod" CHOWN="/usr/bin/chown" ECHO="echo" GREP="/usr/xpg4/bin/grep" LS="/usr/bin/ls" MKDIR="/usr/bin/mkdir -p" MV="/usr/bin/mv" PWD_CMD="/bin/pwd" RM="/usr/bin/rm" RMDIR="/usr/bin/rmdir" SED="/usr/pkg/bin/nbsed" SORT="/usr/bin/sort" TEST="test" TRUE="true" SELF=$0 ACTION=$1 CURDIR=`${PWD_CMD}` PKG_METADATA_DIR="${2-${CURDIR}}" : ${PKGNAME=${PKG_METADATA_DIR##*/}} : ${PKG_DBDIR=${PKG_METADATA_DIR%/*}} : ${PKG_REFCOUNT_DBDIR=${PKG_DBDIR}.refcount} : ${PKG_PREFIX=/usr/pkg} PKG_REFCOUNT_DIRS_DBDIR="${PKG_REFCOUNT_DBDIR}/dirs" case "${PKG_CONFIG:-YES}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CONFIG=yes ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CONFIG=no ;; esac case "${PKG_CONFIG_PERMS:-NO}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CONFIG_PERMS=yes ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CONFIG_PERMS=no ;; esac exitcode=0 case $ACTION in ADD) ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -u | while read dir d_flags d_mode d_user d_group; do case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac case $d_flags in *m*) ;; *) continue ;; esac shadow_dir="${PKG_REFCOUNT_DIRS_DBDIR}$dir" perms="$shadow_dir/+PERMISSIONS" preexist="$shadow_dir/+PREEXISTING" token="$shadow_dir/${PKGNAME}" if ${TEST} ! -d "$shadow_dir"; then ${MKDIR} $shadow_dir ${TEST} ! -d "$dir" || ${ECHO} "${PKGNAME}" > $preexist fi if ${TEST} -f "$token" && \ ${GREP} "^${PKG_METADATA_DIR}$" $token >/dev/null; then : else ${ECHO} "${PKG_METADATA_DIR}" >> $token fi case $d_mode$d_user$d_group in "") ;; *) ${ECHO} "$d_user $d_group $d_mode" > $perms ;; esac case $d_flags:$_PKG_CONFIG in *f*:*|*:yes) ${MKDIR} $dir case $d_user in "") ;; *) ${CHOWN} $d_user $dir ;; esac case $d_group in "") ;; *) ${CHGRP} $d_group $dir ;; esac case $d_mode in "") ;; *) ${CHMOD} $d_mode $dir ;; esac ;; esac done ;; REMOVE) ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -ru | while read dir d_flags d_mode d_user d_group; do case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac case $d_flags in *m*) ;; *) continue ;; esac shadow_dir="${PKG_REFCOUNT_DIRS_DBDIR}$dir" perms="$shadow_dir/+PERMISSIONS" preexist="$shadow_dir/+PREEXISTING" token="$shadow_dir/${PKGNAME}" tokentmp="$token.tmp.$$" if ${TEST} -f "$token" && \ ${GREP} "^${PKG_METADATA_DIR}$" $token >/dev/null; then ${CAT} "$token" | ${GREP} -v "^${PKG_METADATA_DIR}$" > $tokentmp case `${CAT} $tokentmp | ${SED} -n "$="` in "") ${TEST} -f "$preexist" || { case $d_flags:$_PKG_CONFIG in *f*:*|*:yes) ${RMDIR} -p $dir 2>/dev/null || ${TRUE}; ;; esac; } ${RM} -f $perms $preexist $token $token.tmp.* ${RMDIR} -p $shadow_dir 2>/dev/null || ${TRUE} ;; *) ${MV} -f $tokentmp $token ;; esac fi done ;; PERMS) ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -u | while read dir d_flags d_mode d_user d_group; do case $_PKG_CONFIG:$_PKG_CONFIG_PERMS in yes:yes) ;; *) continue ;; esac case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac case $d_user in "") ;; *) ${CHOWN} $d_user $dir ;; esac case $d_group in "") ;; *) ${CHGRP} $d_group $dir ;; esac case $d_mode in "") ;; *) ${CHMOD} $d_mode $dir ;; esac done ;; CHECK-ADD) ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -u | { while read dir d_flags d_mode d_user d_group; do case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac ${TEST} ! -d "$dir" || continue case $d_flags in *m*) ;; *) continue ;; esac case "$printed_header" in yes) ;; *) printed_header=yes ${ECHO} "===========================================================================" ${ECHO} "The following directories should be created for ${PKGNAME}:" ${ECHO} "" ;; esac case $d_user:$d_group:$d_mode in [!:]*:[!:]*:[!:]*) ${ECHO} " $dir (m=$d_mode, o=$d_user, g=$d_group)" ;; *) ${ECHO} " $dir" ;; esac done case "$printed_header" in yes) ${ECHO} "" ${ECHO} "===========================================================================" exit 1 ;; esac; } ${TEST} $? -eq 0 || exitcode=1 ;; CHECK-REMOVE) ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -ru | { while read dir d_flags d_mode d_user d_group; do case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac ${TEST} -d "$dir" || continue case $d_flags in *o*) ;; *) continue ;; esac shadow_dir="${PKG_REFCOUNT_DIRS_DBDIR}$dir" ${TEST} ! -d "$shadow_dir" || continue # refcount isn't zero case "$printed_header" in yes) ;; *) printed_header=yes ${ECHO} "===========================================================================" ${ECHO} "The following directories are no longer being used by ${PKGNAME}," ${ECHO} "and they can be removed if no other packages are using them:" ${ECHO} "" ;; esac ${ECHO} " $dir" done case "$printed_header" in yes) ${ECHO} "" ${ECHO} "===========================================================================" exit 1 ;; esac; } ${TEST} $? -eq 0 || exitcode=1 ;; CHECK-PERMS) tmpdir="./.pkginstall.$$" ${MKDIR} -p $tmpdir 2>/dev/null || exit 1 ${CHMOD} 0700 $tmpdir ${SED} -n "/^\# DIR: /{s/^\# DIR: //;p;}" ${SELF} | ${SORT} -ru | { while read dir d_flags d_mode d_user d_group; do case $dir in "") continue ;; [!/]*) dir="${PKG_PREFIX}/$dir" ;; esac ${TEST} -d "$dir" || continue case $d_user:$d_group:$d_mode in ::) continue ;; esac perms=`${LS} -ld $dir | ${AWK} '{ print $1":"$3":"$4 }'` testpath="$tmpdir/dir_perms" ${MKDIR} -p $testpath ${CHMOD} $d_mode $testpath 2>/dev/null longmode=`${LS} -ld $testpath | ${AWK} '{ print $1 }'` case $d_mode:$d_user:$d_group in :[!:]*:) case "$perms" in *:$d_user:*) continue ;; esac ;; :[!:]*:[!:]*) case "$perms" in *:$d_user:$d_group) continue ;; esac ;; [!:]*::) case "$perms" in $longmode:*:*) continue ;; esac ;; [!:]*:[!:]*:) case "$perms" in $longmode:$d_user:*) continue ;; esac ;; [!:]*:[!:]*:[!:]*) case "$perms" in $longmode:$d_user:$d_group) continue ;; esac ;; esac case "$printed_header" in yes) ;; *) printed_header=yes ${ECHO} "===========================================================================" ${ECHO} "The following directories are used by ${PKGNAME} and" ${ECHO} "have the wrong ownership and/or permissions:" ${ECHO} "" ;; esac case $d_mode:$d_user:$d_group in [!:]*::) ${ECHO} " $dir (m=$d_mode)" ;; [!:]*:[!:]*:) ${ECHO} " $dir (m=$d_mode, o=$d_user)" ;; [!:]*:[!:]*:[!:]*) ${ECHO} " $dir (m=$d_mode, o=$d_user, g=$d_group)" ;; esac done case "$printed_header" in yes) ${ECHO} "" ${ECHO} "===========================================================================" exit 1 ;; esac; } ${TEST} $? -eq 0 || exitcode=1 ${RM} -fr $tmpdir ;; *) ${ECHO} "Usage: ./+DIRS ADD|REMOVE|PERMS [metadatadir]" ${ECHO} " ./+DIRS CHECK-ADD|CHECK-REMOVE|CHECK-PERMS [metadatadir]" ;; esac exit $exitcode EOF ${SED} -n "/^\# DIR: /p" ${SELF} >> ./+DIRS ${CHMOD} +x ./+DIRS ;; esac # $NetBSD: install,v 1.2 2007/07/18 18:01:03 jlam Exp $ case ${STAGE} in PRE-INSTALL) # # Unpack the helper scriptlets. # ${SH} ${SELF} ${PKGNAME} UNPACK # # Require that necessary users and groups exist or else fail the # installation of the package. # ${TEST} ! -x ./+USERGROUP || { ./+USERGROUP ADD ${PKG_METADATA_DIR} if ./+USERGROUP CHECK-ADD ${PKG_METADATA_DIR}; then : else exit 1 fi; } # # Create package directories at pre-install time. # if [ "${PKG_INSTALLATION_TYPE}" = "pkgviews" -a \ "${_PKG_CONFIG}" = "yes" -a -n "${CONF_DEPENDS}" ]; then pkg=`${PKG_ADMIN} -b -d ${DEPOTBASE} -s "" lsbest "${CONF_DEPENDS}"` sysconfdir=`${PKG_INFO} -B -K ${DEPOTBASE} $pkg | \ ${AWK} '/^PKG_SYSCONFDIR=/ { \ gsub("^PKG_SYSCONFDIR=[ ]*", ""); \ print; \ }' \ ` if [ -d $sysconfdir -a ! -d ${PKG_SYSCONFDIR} ]; then ${MKDIR} -p `${DIRNAME} ${PKG_SYSCONFDIR}` ${LN} -sf $sysconfdir ${PKG_SYSCONFDIR} fi fi ${TEST} ! -x ./+DIRS || ./+DIRS ADD ${PKG_METADATA_DIR} ${TEST} ! -x ./+DIRS || ./+DIRS PERMS ${PKG_METADATA_DIR} ;; POST-INSTALL) # # Rebuild the system run-time library search path database. # ${TEST} ! -x ./+SHLIBS || ./+SHLIBS ADD ${PKG_METADATA_DIR} # # Copy configuration/support files into place. # ${TEST} ! -x ./+FILES || ./+FILES ADD ${PKG_METADATA_DIR} ${TEST} ! -x ./+FILES || ./+FILES PERMS ${PKG_METADATA_DIR} # # Set special permissions on any files/directories that need them. # ${TEST} ! -x ./+PERMS || ./+PERMS ${PKG_METADATA_DIR} # # Update any fonts databases. # ${TEST} ! -x ./+FONTS || ./+FONTS ${PKG_METADATA_DIR} # Check for any missing bits after we're finished installing. # ${TEST} ! -x ./+DIRS || ./+DIRS CHECK-ADD ${PKG_METADATA_DIR} ${TEST} ! -x ./+DIRS || ./+DIRS CHECK-PERMS ${PKG_METADATA_DIR} ${TEST} ! -x ./+FILES || ./+FILES CHECK-ADD ${PKG_METADATA_DIR} ${TEST} ! -x ./+FILES || ./+FILES CHECK-PERMS ${PKG_METADATA_DIR} ;; VIEW-INSTALL) # # Register shells in /etc/shells. # ${TEST} ! -x ./+SHELL || ./+SHELL ADD ${PKG_METADATA_DIR} ${TEST} ! -x ./+SHELL || ./+SHELL CHECK-ADD ${PKG_METADATA_DIR} # # Register info files. # ${TEST} ! -x ./+INFO_FILES || ./+INFO_FILES ADD ${PKG_METADATA_DIR} # If ${PKG_SYSCONFBASE} points outside of ${PREFIX}, then add the # package config files to the proper view. # if [ "${_PKG_CONFIG}" = "yes" -a -n "${PKG_SYSCONFDEPOTBASE}" ]; then ${SETENV} PLIST_IGNORE_FILES="${CONF_IGNORE_FILES}" \ ${LINKFARM} -t ${PKG_SYSCONFVIEWBASE} -d ${PKG_SYSCONFDEPOTBASE} ${PKGNAME} fi ;; esac # $NetBSD: install-post,v 1.1 2006/05/21 23:50:15 jlam Exp $ # Ensure that the VIEW-INSTALL action is called for overwrite packages. # This is here to ensure that it's the final POST-INSTALL action (after # any INSTALL_TEMPLATE POST-INSTALL actions). # case ${STAGE} in POST-INSTALL) if [ "${PKG_INSTALLATION_TYPE}" = "overwrite" ]; then ${SETENV} PKG_PREFIX="${PKG_PREFIX}" \ $0 ${PKGNAME} VIEW-INSTALL fi ;; esac # $NetBSD: footer,v 1.1 2006/05/21 23:50:15 jlam Exp $ exit 0 # DIR: share/themes/AgingGorilla fm # DIR: share/themes/Atlanta fm # DIR: share/themes/Bright fm # DIR: share/themes/Clearlooks fm # DIR: share/themes/Crux fm # DIR: share/themes/Esco fm # DIR: share/themes/Glider fm # DIR: share/themes/Grand-Canyon fm # DIR: share/themes/HighContrast fm # DIR: share/themes/HighContrastInverse fm # DIR: share/themes/HighContrastLargePrint fm # DIR: share/themes/HighContrastLargePrintInverse fm # DIR: share/themes/Industrial fm # DIR: share/themes/LargePrint fm # DIR: share/themes/LighthouseBlue fm # DIR: share/themes/LowContrast fm # DIR: share/themes/LowContrastLargePrint fm # DIR: share/themes/Metabox fm # DIR: share/themes/Metal fm # DIR: share/themes/Mist fm # DIR: share/themes/Ocean-Dream fm # DIR: share/themes/Redmond fm # DIR: share/themes/Sandwish fm # DIR: share/themes/Simple fm # DIR: share/themes/Smokey fm # DIR: share/themes/Smokey-Blue fm # DIR: share/themes/ThinIce fm # DIR: share/themes/Traditional fm +DEINSTALL000755 000000 000001 00000010125 11130351706 012507 0ustar00rootother000000 000000 #!/usr/pkg/bin/pdksh # # $NetBSD: header,v 1.2 2006/07/19 22:26:26 jlam Exp $ SELF="$0" PKGNAME="$1" STAGE="$2" shift 2 AWK="/usr/pkg/bin/nawk" BASENAME="/usr/bin/basename" CAT="/usr/bin/cat" CHGRP="/usr/bin/chgrp" CHMOD="/usr/bin/chmod" CHOWN="/usr/bin/chown" CMP="/bin/cmp" CP="/bin/cp" DIRNAME="/usr/bin/dirname" ECHO="echo" ECHO_N="echo -n" EGREP="/usr/xpg4/bin/grep -E" EXPR="/usr/xpg4/bin/expr" FALSE="false" FIND="/usr/bin/find" GREP="/usr/xpg4/bin/grep" GTAR="" HEAD="/usr/bin/head" ID="/usr/xpg4/bin/id" LINKFARM="/usr/pkg/sbin/linkfarm" LN="/usr/bin/ln" LS="/usr/bin/ls" MKDIR="/usr/bin/mkdir -p" MV="/usr/bin/mv" PERL5="/usr/pkg/bin/perl" PKG_ADMIN="/usr/pkg/sbin/pkg_admin" PKG_INFO="/usr/pkg/sbin/pkg_info" PWD_CMD="/bin/pwd" RM="/usr/bin/rm" RMDIR="/usr/bin/rmdir" SED="/usr/pkg/bin/nbsed" SETENV="/usr/bin/env" SH="/usr/pkg/bin/pdksh" SORT="/usr/bin/sort" SU="/usr/bin/su" TEST="test" TOUCH="/usr/bin/touch" TR="/usr/bin/tr" TRUE="true" XARGS="/usr/bin/xargs" CURDIR=`${PWD_CMD}` : ${PKG_METADATA_DIR=${CURDIR}} PKGBASE="theme-dirs" LOCALBASE="/usr/pkg" X11BASE="/usr/openwin" DEPOTBASE="/usr/pkg/packages" PREFIX="/usr/pkg" case ${PKG_PREFIX} in ${LOCALBASE}/*) VIEW="${PKG_PREFIX#${LOCALBASE}/}" ;; *) VIEW="" ;; esac PKG_SYSCONFBASE="/usr/pkg/etc" PKG_SYSCONFDEPOTBASE="" PKG_SYSCONFBASEDIR="/usr/pkg/etc" PKG_SYSCONFDIR="/usr/pkg/etc" CONF_DEPENDS="" case ${VIEW} in "") PKG_SYSCONFVIEWBASE="${PKG_SYSCONFBASE}" ;; *) PKG_SYSCONFVIEWBASE="${PKG_SYSCONFBASE}/${VIEW}" ;; esac CONF_IGNORE_FILES="*[~#] *.OLD *.orig *,v .pkgsrc */.pkgsrc" PKG_INSTALLATION_TYPE="overwrite" case "${PKG_CONFIG:-YES}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CONFIG=yes ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CONFIG=yes ;; esac # $NetBSD: deinstall-pre,v 1.1 2006/05/21 23:50:15 jlam Exp $ # Ensure that the VIEW-DEINSTALL action is called for overwrite packages. # This is here to ensure that it's the first DEINSTALL action (before # any DEINSTALL_TEMPLATE DEINSTALL actions). # case ${STAGE} in DEINSTALL) if [ "${PKG_INSTALLATION_TYPE}" = "overwrite" ]; then ${SETENV} PKG_PREFIX="${PKG_PREFIX}" \ $0 ${PKGNAME} VIEW-DEINSTALL fi ;; esac # $NetBSD: deinstall,v 1.2 2007/07/18 18:01:03 jlam Exp $ case ${STAGE} in VIEW-DEINSTALL) case ${_PKG_CONFIG} in yes) case ${PKG_SYSCONFDEPOTBASE} in "") ${TEST} ! -x ./+FILES || ./+FILES VIEW-REMOVE ${PREFIX} ${PKG_PREFIX} ;; *) ${SETENV} PLIST_IGNORE_FILES="${CONF_IGNORE_FILES}" \ ${LINKFARM} -D -t ${PKG_SYSCONFVIEWBASE} -d ${PKG_SYSCONFDEPOTBASE} ${PKGNAME} ${RMDIR} -p ${PKG_SYSCONFVIEWBASE} 2>/dev/null || ${TRUE} ;; esac ;; esac # # Unregister info files. # ${TEST} ! -x ./+INFO_FILES || ./+INFO_FILES REMOVE ${PKG_METADATA_DIR} # # Remove shells from /etc/shells. # ${TEST} ! -x ./+SHELL || ./+SHELL REMOVE ${PKG_METADATA_DIR} ${TEST} ! -x ./+SHELL || ./+SHELL CHECK-REMOVE ${PKG_METADATA_DIR} ;; DEINSTALL) # Remove configuration files if they don't differ from the default # config file. # ${TEST} ! -x ./+FILES || ./+FILES REMOVE ${PKG_METADATA_DIR} ;; POST-DEINSTALL) if [ "${PKG_INSTALLATION_TYPE}" = "pkgviews" -a \ "${_PKG_CONFIG}" = "yes" -a -n "${CONF_DEPENDS}" ]; then if [ -h ${PKG_SYSCONFDIR} ]; then ${RM} -f ${PKG_SYSCONFDIR} fi ${RMDIR} -p `${DIRNAME} ${PKG_SYSCONFDIR}` 2>/dev/null || ${TRUE} fi # # Update any fonts databases. # ${TEST} ! -x ./+FONTS || ./+FONTS ${PKG_METADATA_DIR} # # Rebuild the system run-time library search path database. # ${TEST} ! -x ./+SHLIBS || ./+SHLIBS REMOVE ${PKG_METADATA_DIR} # # Remove empty directories and unused users/groups. # ${TEST} ! -x ./+DIRS || ./+DIRS REMOVE ${PKG_METADATA_DIR} ${TEST} ! -x ./+USERGROUP || ./+USERGROUP REMOVE ${PKG_METADATA_DIR} # # Check for any existing bits after we're finished de-installing. # ${TEST} ! -x ./+USERGROUP || ./+USERGROUP CHECK-REMOVE ${PKG_METADATA_DIR} ${TEST} ! -x ./+FILES || ./+FILES CHECK-REMOVE ${PKG_METADATA_DIR} ${TEST} ! -x ./+DIRS || ./+DIRS CHECK-REMOVE ${PKG_METADATA_DIR} ;; esac # $NetBSD: footer,v 1.1 2006/05/21 23:50:15 jlam Exp $ exit 0 +BUILD_VERSION000644 000000 000001 00000000244 11130351713 013230 0ustar00rootother000000 000000 misc/theme-dirs/dirs.mk: $NetBSD: dirs.mk,v 1.5 2005/12/05 20:50:40 rillig Exp $ misc/theme-dirs/Makefile: $NetBSD: Makefile,v 1.10 2008/06/20 01:09:27 joerg Exp $ +BUILD_INFO000644 000000 000001 00000001146 11130351716 012643 0ustar00rootother000000 000000 ABI= BUILD_DATE=2009-01-05 03:33:02 %z BUILD_HOST=SunOS marcie 5.9 Generic_118558-34 sun4u sparc SUNW,Ultra-5_10 CATEGORIES=misc gnome kde CFLAGS=-O -O3 CPPFLAGS= FFLAGS=-O HOMEPAGE= LDFLAGS= -Wl,-R/usr/pkg/lib LICENSE= LOCALBASE=/usr/pkg MACHINE_ARCH=sparc MACHINE_GNU_ARCH=sparc MAINTAINER=pkgsrc-users@NetBSD.org NO_BIN_ON_CDROM= NO_BIN_ON_FTP= NO_SRC_ON_CDROM= NO_SRC_ON_FTP= OBJECT_FMT=ELF OPSYS=SunOS OS_VERSION=5.9 PKGINFODIR=info PKGMANDIR=man PKGPATH=misc/theme-dirs PKG_SYSCONFBASEDIR=/usr/pkg/etc PKG_SYSCONFDIR=/usr/pkg/etc PKGTOOLS_VERSION=20081002 _PLIST_IGNORE_FILES= RESTRICTED= _USE_DESTDIR=no +SIZE_PKG000644 000000 000001 00000000002 11130351717 012433 0ustar00rootother000000 000000 0 +SIZE_ALL000644 000000 000001 00000000002 11130351714 012417 0ustar00rootother000000 000000 0