aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wmappl/Makefile
blob: 8987768889c5e58d5ca2a6ae0e39681939f53626 (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
# Created by: od <od@iclub.nsu.ru>
# $FreeBSD$

PORTNAME=   wmappl
PORTVERSION=    0.71
PORTREVISION=   2
CATEGORIES= x11 windowmaker
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Application launcher dockapp similar to wmbutton

LICENSE=    GPLv2 # (or later)

USE_XORG=   ice sm x11 xext xpm
GNU_CONFIGURE=  yes

OPTIONS_DEFINE=     DOCS IMLIB2

IMLIB2_LIB_DEPENDS=     libImlib2.so:${PORTSDIR}/graphics/imlib2
IMLIB2_CONFIGURE_ENABLE=Imlib2

post-extract:
    @${RM} -rf ${WRKSRC}/icons/CVS

post-patch:
    @${REINPLACE_CMD} -e \
        's|"/etc|"${PREFIX}/etc| ; \
         s|/usr/share/icons/wmappl|${DATADIR}| ; \
         s|/usr/share/pixmaps/mini|${LOCALBASE}/share/pixmaps|' \
        ${WRKSRC}/src/wmappl.c

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>