blob: 32303372cf126b9872a47c12da48d2b805179877 (
plain)
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
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= mcwm
# PORTVERSION= 20130209
PORTVERSION= 20130209cos1
CATEGORIES= x11-wm
# MASTER_SITES= http://hack.org/mc/hacks/mcwm/
MASTER_SITES= https://git.netizen.se/mcwm/snapshot/mcwm-topic/
# MAINTAINER= jakub_lach@mailplus.pl
MAINTAINER= cos
COMMENT= Small window manager inspired by CTWM, evilwm, and tinywm
WWW= https://hack.org/mc/hacks/mcwm/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libxcb-util.so:x11/xcb-util \
libxcb-keysyms.so:x11/xcb-util-keysyms \
libxcb-icccm.so:x11/xcb-util-wm
USES= unzip xorg
USE_XORG= xcb
PLIST_FILES= bin/mcwm bin/hidden man/man1/mcwm.1.gz man/man1/hidden.1.gz
PORTDOCS= README.md NEWS
OPTIONS_DEFINE= DOCS
pre-everything::
@${ECHO_MSG} "You can build mcwm with your own config.h using the MCWM_CONF knob:"
@${ECHO_MSG} "make MCWM_CONF=/path/to/mcwm/config.h install clean"
post-extract:
.if defined(MCWM_CONF)
@${ECHO_MSG} "creating config.h from ${MCWM_CONF}"
@${CP} ${MCWM_CONF} ${WRKSRC}/config.h
.endif
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
${INSTALL_PROGRAM} ${WRKSRC}/hidden ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hidden.man \
${STAGEDIR}${MAN1PREFIX}/man/man1/hidden.1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|