blob: 5cbe0e6c6d39122c420d727adb4257a78f5b2b77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.6 1999/01/23 15:01:28 tron Exp $
DISTNAME= wmthemes-0.50.x
CATEGORIES= x11
MASTER_SITES= http://wm.themes.org/WMThemes/
DISTFILES= ${THEME_FILES}
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://wm.themes.org/
DEPENDS+= windowmaker-0.50.2:../../x11/windowmaker
CONFLICTS= wm-themes-* wmthemes-*
USE_X11= yes
NO_BUILD= yes
NO_CONFIGURE= yes
NO_CHECKSUM= yes
NO_PATCH= yes
NO_WRKSUBDIR= yes
WINDOWMAKER_THEMES?= FreeBSD-theme
PLIST_SRC= ${WRKDIR}/PLIST
THEME_SUBDIRS= Backgrounds IconSets Icons Pixmaps Sounds Styles Themes
WM_DATADIR= share/WindowMaker
do-install:
@${RM} -f ${PLIST_SRC}
@${TOUCH} ${PLIST_SRC}
.for DIR in ${THEME_SUBDIRS}
@if [ -d ${WRKSRC}/${DIR} ]; then \
${ECHO} "Installing files in directory ${DIR}."; \
cd ${WRKSRC}/${DIR}; \
for FILE in `ls`; do \
${INSTALL_DATA} $$FILE ${PREFIX}/${WM_DATADIR}/${DIR}; \
${ECHO} ${WM_DATADIR}/${DIR}/$$FILE >>${PLIST_SRC}; \
done; \
fi
.endfor
.include "../../mk/bsd.pkg.mk"
THEME_FILES=
.for FILE in ${WINDOWMAKER_THEMES}
THEME_FILES+= ${FILE}${EXTRACT_SUFX}
.endfor
|