a5f9cc91c2
x11-fonts/, x11-toolkits and x11-wm to new USES=python Approved by: portmgr (implicit)
42 lines
969 B
Makefile
42 lines
969 B
Makefile
# Created by: Mike Meyer <mwm@mired.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= plwm
|
|
PORTVERSION= 2.6a
|
|
CATEGORIES= x11-wm python
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Window manager construction kit
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlib>0:${PORTSDIR}/x11-toolkits/py-xlib
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlib>0:${PORTSDIR}/x11-toolkits/py-xlib
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
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
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.pdf \
|
|
${STAGEDIR}${DOCSDIR})
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${INSTALL_DATA} *.examplewm *.py \
|
|
${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|