aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/echinus/Makefile
blob: 4689df44ba37787c54b2ff1ea48aff737382c8ec (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
# Created by: hrkfrd@gmail.com
# $FreeBSD$

PORTNAME=   echinus
PORTVERSION=    0.4.9
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   http://plhk.ru/static/echinus/

MAINTAINER= hrkfdn@gmail.com
COMMENT=    Dynamic window manager for X11 based on dwm

LIB_DEPENDS=    libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
        libfreetype.so:${PORTSDIR}/print/freetype2 \
        libexpat.so:${PORTSDIR}/textproc/expat2 \
        libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig

USES=       pkgconfig
USE_XORG=   x11 xau xcb xdmcp xext xft xrender xrandr

FILES=      echinusrc close.xbm iconify.xbm max.xbm

PLIST_FILES=    bin/echinus \
        etc/echinus/close.xbm \
        etc/echinus/iconify.xbm \
        etc/echinus/max.xbm \
        etc/echinus/echinusrc \
        man/man1/echinus.1.gz

SUB_FILES=  pkg-message

post-patch:
    @${REINPLACE_CMD} 's|-Os|${CFLAGS}|' ${WRKSRC}/config.mk

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${ETCDIR}
    ${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ETCDIR}/

.include <bsd.port.mk>