freebsd-ports/x11-wm/dwm/Makefile
Jan Beich 34b7ad18fe x11-wm/dwm: config.def.h wants x11/sterm after r403178
Bump PORTREVISION as this affects mainly default package users.

Reported by:	Jakub Lach (via private mail)
PR:		204658
2015-12-13 06:04:54 +00:00

49 lines
1.3 KiB
Makefile

# Created by: Jeroen Schot <schot@a-eskwadraat.nl>
# $FreeBSD$
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:${PORTSDIR}/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 <bsd.port.mk>