summaryrefslogtreecommitdiffstats
path: root/x11/wmappl/Makefile
blob: 8934952839eb5323f753f06e21414ae134ee6e26 (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
# 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+
LICENSE_FILE=	${WRKSRC}/COPYING

USE_XORG=	ice sm x11 xext xpm
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=		DOCS IMLIB2

IMLIB2_LIB_DEPENDS= 	libImlib2.so: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-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud