aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/wmicons/Makefile
blob: ba36558443baceccd54c37b4db28d7e0d186d39f (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# New ports collection makefile for:    icons for WindowMaker
# Date created:         26 Japnuary 1999
# Whom:                 KIRIYAMA Kazuhiko
#
# $FreeBSD$
#

PORTNAME=   wmicons
PORTVERSION=    1.0
PORTREVISION=   2
CATEGORIES= graphics windowmaker
MASTER_SITES=   ${MASTER_SITE_LOCAL:S|%SUBDIR%|kiri/wmicons|} \
        ${MASTER_SITE_WINDOWMAKER} \
        ${MASTER_SITE_PORTS_JP} \
        http://www.itlb.te.noda.tus.ac.jp/~manome/wmaker/archive/
MASTER_SITE_SUBDIR= . contrib/old/icons
DISTFILES=  ${EXTRACT_ONLY} isiconpack4.tgz
EXTRACT_ONLY=   DWiconpack1.tar.gz DWiconpack2.tar.gz IconFest-1.2.tgz \
        NeXT_XEmacs_tar.gz  wm_icons_png.tar.gz wm_icons_tif.tar.gz \
        japanese-step-icons1.1.tar.gz \
        KTermIcons-1.0.tar.gz \
        WindowMaker-extra-0.1.tar.gz

MAINTAINER= gamato@users.sf.net
COMMENT=    Icons mainly for use in Window Maker

GNU_CONFIGURE=  yes
PORTDOCS=   *

WRKSRC=     ${WRKDIR}/WindowMaker-extra-0.1
WMICONDIR=  ${PREFIX}/share/WindowMaker/Pixmaps

post-extract:
    ${MKDIR} ${WRKDIR}/isiconpack4
    ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/isiconpack4.tgz \
        ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}/isiconpack4

post-install:
    ${MKDIR} ${WMICONDIR}
    cd ${WRKDIR}/IconFest-1.2; \
    ${INSTALL_DATA} *.xpm *.tif ${WMICONDIR}
    cd ${WRKDIR}/Icons; \
    ${INSTALL_DATA} *.xpm ${WMICONDIR}
    cd ${WRKDIR}/NeXT.XEmacs; \
    ${INSTALL_DATA} ./*/*.xpm ${WMICONDIR}
    cd ${WRKDIR}/dwiconpack1; \
    ${INSTALL_DATA} *.tif ${WMICONDIR}
    cd ${WRKDIR}/dwiconpack2; \
    ${INSTALL_DATA} *.tif ${WMICONDIR}
    cd ${WRKDIR}/isiconpack4; \
    ${INSTALL_DATA} *.xpm *.tif ${WMICONDIR}
    cd ${WRKDIR}/japanese-step-icons; \
    ${INSTALL_DATA} *.xpm ${WMICONDIR}
    cd ${WRKDIR}/vf_png; \
    ${INSTALL_DATA} *.png ${WMICONDIR}
    cd ${WRKDIR}/vf_tif; \
    ${INSTALL_DATA} *.tif ${WMICONDIR}

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/IconFest-1.2/README \
        ${DOCSDIR}/README.IconFest
    ${INSTALL_DATA} ${WRKDIR}/NeXT.XEmacs/README.NeXT.XEmacs \
        ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/dwiconpack1/dwiconpack1.README \
        ${DOCSDIR}/README.dwiconpack1
    ${INSTALL_DATA} ${WRKDIR}/dwiconpack2/dwiconpack2.README \
        ${DOCSDIR}/README.dwiconpack2
    ${INSTALL_DATA} ${WRKDIR}/isiconpack4/CREDITS \
        ${DOCSDIR}
    ${INSTALL_DATA} ${WRKDIR}/japanese-step-icons/README.txt \
        ${DOCSDIR}/README.japanese-step-icons.txt
    ${INSTALL_DATA} ${WRKDIR}/vf_png/README \
        ${DOCSDIR}/README.vf_png
    ${INSTALL_DATA} ${WRKDIR}/vf_tif/README \
        ${DOCSDIR}/README.vf_tif
.endif

.include <bsd.port.mk>