summaryrefslogtreecommitdiff
path: root/x11-wm/libdockapp/Makefile
blob: 64d04513ddff66888e1e579a7212a939000b88e6 (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
# Created by: Jim Mock <jim@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libdockapp
PORTVERSION=	0.7.2
CATEGORIES=	x11-wm
MASTER_SITES=	https://www.dockapps.net/download/

MAINTAINER=	xride@FreeBSD.org
COMMENT=	Standard library for Window Maker dock apps

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	mkfontdir:x11-fonts/mkfontscale

USES=		autoreconf fonts libtool pkgconfig
USE_LDCONFIG=	yes
USE_XORG=	fontutil x11 xext xpm

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-font --without-examples

WRKSRC=		${WRKDIR}/dockapps-b9baa8f

OPTIONS_DEFINE=	EXAMPLES

post-install:
	@${MKDIR} ${STAGEDIR}${FONTSDIR}
.for file in *.pcf.gz
	${INSTALL_DATA} ${WRKSRC}/fonts/${file} ${STAGEDIR}${FONTSDIR}
.endfor
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for file in README
	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${STAGEDIR}${EXAMPLESDIR}
.endfor
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/basic
.for file in README *.c *.xpm
	${INSTALL_DATA} ${WRKSRC}/examples/basic/${file} ${STAGEDIR}${EXAMPLESDIR}/basic
.endfor
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/rectangles
.for file in *.c
	${INSTALL_DATA} ${WRKSRC}/examples/rectangles/${file} ${STAGEDIR}${EXAMPLESDIR}/rectangles
.endfor

.include <bsd.port.mk>