mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
72ea7e696b
With hat: portmgr Sponsored by: Absolight
50 lines
1.3 KiB
Makefile
50 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: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>
|