aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/plwm/Makefile
blob: edf6a71f7b5786ee36ca5afd7888733e4f91cffe (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
# New ports collection makefile for:    python-xlib
# Date created:     5 December 2001
# Whom:             Mike Meyer <mwm@mired.org>
#
# $FreeBSD$
#

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

MAINTAINER= mwm@mired.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

USE_PYTHON= yes
GNU_CONFIGURE=  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>