diff options
author | wiz <wiz@pkgsrc.org> | 2000-12-15 23:25:17 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-12-15 23:25:17 +0000 |
commit | 4f916562128f2e4ab0791b431f2665a9db320eed (patch) | |
tree | b1f363e0cb2dbfbf5db291dbdb569c4dc9fb1c35 /wm/wmthemes | |
parent | fc32f48c023fa5f0304d143548090c2d6802b9f0 (diff) | |
download | pkgsrc-4f916562128f2e4ab0791b431f2665a9db320eed.tar.gz |
Move three window manager support packages from x11 to wm.
Diffstat (limited to 'wm/wmthemes')
-rw-r--r-- | wm/wmthemes/Makefile | 63 | ||||
-rw-r--r-- | wm/wmthemes/pkg/COMMENT | 1 | ||||
-rw-r--r-- | wm/wmthemes/pkg/DESCR | 7 |
3 files changed, 71 insertions, 0 deletions
diff --git a/wm/wmthemes/Makefile b/wm/wmthemes/Makefile new file mode 100644 index 00000000000..3edca9095ba --- /dev/null +++ b/wm/wmthemes/Makefile @@ -0,0 +1,63 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 23:25:18 wiz Exp $ + +DISTNAME= wmthemes-0.62.x +CATEGORIES= x11 wm +MASTER_SITES= http://download.themes.org/wm/ +DISTFILES= ${THEME_FILES} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://wm.themes.org/ + +DEPENDS+= windowmaker-*:../../wm/windowmaker + +DIST_SUBDIR= wmthemes + +USE_X11BASE= yes +NO_BUILD= yes +NO_CHECKSUM= yes +NO_WRKSUBDIR= yes + +PLIST_SRC= ${WRKDIR}/PLIST +THEME_SUBDIRS= Backgrounds IconSets Icons Pixmaps Sounds Styles Themes +WM_DATADIR= share/WindowMaker + +BUILD_DEFS+= WINDOWMAKER_THEMES + +.include "../../mk/bsd.prefs.mk" + +WINDOWMAKER_THEMES?= FreeBSD-theme-0.52 + +do-install: + @${RM} -f ${PLIST_SRC} + @${TOUCH} ${PLIST_SRC} +.for DIR in ${THEME_SUBDIRS} + @if [ -d ${WRKSRC}/${DIR} ] && [ -n "`ls ${WRKSRC}/${DIR}`" ]; then \ + ${ECHO} "Installing files in directory ${DIR}."; \ + cd ${WRKSRC}/${DIR}; \ + for FILE in *; do \ + ${INSTALL_DATA} "$$FILE" ${PREFIX}/${WM_DATADIR}/${DIR}; \ + ${ECHO} "${WM_DATADIR}/${DIR}/$$FILE" >>${PLIST_SRC}; \ + done; \ + fi +.endfor + @cd ${WRKSRC}; \ + for DIR in *.themed; do \ + if [ -d "$$DIR" ] && [ -n "`ls "$$DIR"`" ]; then \ + ${ECHO} "Installing \"$${DIR%.*}\" theme."; \ + ${MKDIR} "${PREFIX}/${WM_DATADIR}/Themes/$$DIR"; \ + cd "${WRKSRC}/$$DIR"; \ + for FILE in *; do \ + ${INSTALL_DATA} "$$FILE" "${PREFIX}/${WM_DATADIR}/Themes/$$DIR"; \ + ${ECHO} "${WM_DATADIR}/Themes/$$DIR/$$FILE" >>${PLIST_SRC}; \ + done; \ + cd ..; \ + ${ECHO} "@dirrm ${WM_DATADIR}/Themes/$$DIR" >>${PLIST_SRC}; \ + fi; \ + done + +.include "../../mk/bsd.pkg.mk" + +THEME_FILES= +.for FILE in ${WINDOWMAKER_THEMES} +THEME_FILES+= ${FILE}${EXTRACT_SUFX} +.endfor diff --git a/wm/wmthemes/pkg/COMMENT b/wm/wmthemes/pkg/COMMENT new file mode 100644 index 00000000000..adcd585be53 --- /dev/null +++ b/wm/wmthemes/pkg/COMMENT @@ -0,0 +1 @@ +Themes for the window manager WindowMaker diff --git a/wm/wmthemes/pkg/DESCR b/wm/wmthemes/pkg/DESCR new file mode 100644 index 00000000000..fb5fb4514cd --- /dev/null +++ b/wm/wmthemes/pkg/DESCR @@ -0,0 +1,7 @@ +Themes for the window manager WindowMaker. + +What exactly are themes? +---------------------------------- +Themes are a great aspect of WindowMaker allowing a user to simply save the +entire 'look' of their desktop in a Archive to distribute freely among +friends, fellow users and/or the whole net in general. :) |