# Created by: Jeroen Schot # $FreeBSD: head/x11-wm/dwm/Makefile 412351 2016-04-01 14:33:55Z mat $ PORTNAME= dwm PORTVERSION= 6.1 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ \ http://schot.a-eskwadraat.nl/files/ PATCH_SITES= http://dwm.suckless.org/patches/ MAINTAINER= schot@a-eskwadraat.nl COMMENT= Dynamic, small, fast and simple window manager LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig OPTIONS_DEFINE= XINERAMA DOCS OPTIONS_DEFAULT=XINERAMA XINERAMA_USE= XORG=xinerama XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS= USE_XORG= x11 xft MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \ X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" PLIST_FILES= bin/dwm \ man/man1/dwm.1.gz PORTDOCS= README pre-everything:: @${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:" @${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean" @${ECHO_MSG} "Note: Pre-${PORTVERSION} config.h-files may not work." post-extract: @if [ -e "${DWM_CONF}" ]; then \ ${ECHO_MSG} "Creating symlink: config.h -> ${DWM_CONF}"; \ ${LN} -fs "${DWM_CONF}" ${WRKSRC}/config.h; \ fi post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include