freebsd-ports/x11-wm/musca/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

39 lines
980 B
Makefile

# Created by: Dennis Herrmann <dhn@FreeBSD.org>
# $FreeBSD$
PORTNAME= musca
PORTVERSION= 0.9.24
CATEGORIES= x11-wm
MASTER_SITES= http://aerosuidae.net/ \
http://mirror.mcx2.org/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple window manager for X, with features from ratpoison and dwm
BROKEN= unfetchable
RUN_DEPENDS= dmenu:x11/dmenu
USE_XORG= x11
MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include \
-L${LOCALBASE}/lib"
PLIST_FILES= bin/musca \
man/man1/musca.1.gz
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_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>