aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/plwm/Makefile
blob: 2aea93ac68466d0f46b0b7975636816c7735b7a5 (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
# Created by: Mike Meyer <mwm@mired.org>
# $FreeBSD$

PORTNAME=   plwm
PORTVERSION=    2.5
PORTREVISION=   1
CATEGORIES= x11-wm python
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A window manager construction kit

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib
BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib

INFO=       plwm

USES=       makeinfo
USE_PYTHON= yes
GNU_CONFIGURE=  yes

NO_STAGE=   yes
post-patch:
    ${REINPLACE_CMD} -e 's,whrandom,random,g' ${WRKSRC}/plwm/inspect.py
    ${REINPLACE_CMD} -e 's,$$Id,coding: utf-8 ,g' ${WRKSRC}/plwm/mw_apm.py

pre-install:
    makeinfo -o ${PREFIX}/info/plwm.info ${WRKSRC}/doc/plwm.texi

.include <bsd.port.mk>