diff options
Diffstat (limited to 'x11-wm/musca/Makefile')
-rw-r--r-- | x11-wm/musca/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-wm/musca/Makefile b/x11-wm/musca/Makefile new file mode 100644 index 000000000000..6cb2347488b8 --- /dev/null +++ b/x11-wm/musca/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: musca +# Date created: 2009-03-30 +# Whom: Dennis Herrmann <dhn@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= musca +PORTVERSION= 0.9.13 +CATEGORIES= x11-wm +MASTER_SITES= http://aerosuidae.net/ +EXTRACT_SUFX= .tgz + +MAINTAINER= dhn@FreeBSD.org +COMMENT= A simple window manager for X, with features from ratpoison and dwm + +RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu + +USE_XORG= x11 + +PLIST_FILES= bin/musca +PORTDOCS= readme.txt + +pre-everything:: + @${ECHO_MSG} "You can build musca with your own config.h using the MUSCA_CONF knob:" + @${ECHO_MSG} "make MUSCA_CONF=/path/to/musca/config.h install clean" + +post-extract: +.if defined(MUSCA_CONF) + @${ECHO_MSG} "creating config.h from ${MUSCA_CONF}" + @${CP} ${MUSCA_CONF} ${WRKSRC}/config.h +.endif + +do-install: + @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> |