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

PORTNAME=   libdockapp
PORTVERSION=    0.6.2
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= xride

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

OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB=    yes

USES=       libtool
USE_BZIP2=  yes
USE_XORG=   xext xpm
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-font --without-examples
USE_LDCONFIG=   yes

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/dockapp
.for file in fonts.alias fonts.dir *.pcf.gz
    ${INSTALL_DATA} ${WRKSRC}/fonts/${file} ${STAGEDIR}${PREFIX}/lib/X11/fonts/dockapp
.endfor
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for file in README
    ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${STAGEDIR}${EXAMPLESDIR}
.endfor
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/basic
.for file in Imakefile README *.c *.xpm
    ${INSTALL_DATA} ${WRKSRC}/examples/basic/${file} ${STAGEDIR}${EXAMPLESDIR}/basic
.endfor
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/rectangles
.for file in Imakefile *.c
    ${INSTALL_DATA} ${WRKSRC}/examples/rectangles/${file} ${STAGEDIR}${EXAMPLESDIR}/rectangles
.endfor

.include <bsd.port.mk>