blob: 1c050499160759b1590e291516a8f07ee3a9ee19 (
plain) (
blame)
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
48
49
|
# New ports collection makefile for: icon-bluecurve-theme
# Date created: 29 May 2005
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= icon-bluecurve-theme
COMMENT= The Bluecurve icon set
BUILD_DEPENDS= icon-slicer:${PORTSDIR}/graphics/icon-slicer
MASTERDIR= ${.CURDIR}/../bluecurve-themes
WANT_GNOME= yes
INSTALLS_ICONS= yes
BUILD_WRKSRC= ${WRKSRC}/art/icon/Bluecurve/sheets
BC_HIERS= ${BUILD_WRKSRC}/Bluecurve:${PREFIX}/share/icons/Bluecurve
do-build:
${MKDIR} ${BUILD_WRKSRC}/Bluecurve
.for t in added apps dialogs emblems files stock ooo
${LOCALBASE}/bin/icon-slicer \
--output-dir=${BUILD_WRKSRC}/Bluecurve \
--image-dir=${BUILD_WRKSRC} \
${BUILD_WRKSRC}/icons-${t}.icontheme
.endfor
${MKDIR} ${BUILD_WRKSRC}/Bluecurve/36x36/apps
${MV} -f ${BUILD_WRKSRC}/gnome-spinner*.png ${BUILD_WRKSRC}/Bluecurve/36x36/apps
${MV} -f ${WRKSRC}/art/icon/Bluecurve/index.theme ${BUILD_WRKSRC}/Bluecurve
.for d in 16x16 24x24 32x32 48x48
cd ${BUILD_WRKSRC}/Bluecurve/${d}/apps && \
${LN} -sf icon-db-user.png openofficeorg-base.png && \
${LN} -sf redhat-spreadsheet.png openofficeorg-calc.png && \
${LN} -sf icon-vector-editor.png openofficeorg-draw.png && \
${LN} -sf redhat-presentations.png openofficeorg-impress.png && \
${LN} -sf icon-calculator.png openofficeorg-math.png && \
${LN} -sf redhat-word-processor.png openofficeorg-writer.png
.endfor
cd ${BUILD_WRKSRC}/Bluecurve/48x48/filesystems && \
${LN} -sf ../mimetypes/fileshare.png gnome-fs-ftp.png
pre-install:
@${ECHO_CMD} "@dirrm share/icons/Bluecurve" >> ${PLIST}
@${ECHO_CMD} "@dirrmtry share/icons" >> ${PLIST}
.include "${MASTERDIR}/Makefile"
|