ec3069f28a
PR: 162815 Submitted by: maintainer Feature safe: yes
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# New ports collection makefile for: mcwm
|
|
# Date created: 16 March 2011
|
|
# Whom: Jakub Lach <jakub_lach@mailplus.pl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mcwm
|
|
PORTVERSION= 20111124
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://hack.org/mc/hacks/mcwm/
|
|
|
|
MAINTAINER= jakub_lach@mailplus.pl
|
|
COMMENT= A small window manager inspired by CTWM, evilwm, and tinywm
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= xcb-util>=0.3.6:${PORTSDIR}/x11/xcb-util
|
|
RUN_DEPENDS= xcb-util>=0.3.6:${PORTSDIR}/x11/xcb-util
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_XORG= x11 xrandr
|
|
USE_BZIP2= yes
|
|
|
|
MAN1= mcwm.1
|
|
PLIST_FILES= bin/mcwm
|
|
PORTDOCS= LICENSE README NEWS
|
|
|
|
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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
|
|
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
@${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|