07f06add8f
x11/dmenu: Get the latest bug fixes from upstream Users are still reporting issues with the dmenu version 4.9. The patch we have currently in the ports tree was meant to be a temporary fix as we waited for a new dmenu release. A new release is not coming apparently, so let's just get the latest patches from upstream. Also, switch to a GitHub-hosted mirror of the dmenu repository as it is painful to get artifacts from https://git.suckless.org/ without a Git client. While here, replace REINPLACE_CMD with patches. Reported by: Scott Robbins Approved by: ports-secteam (joneum)
40 lines
972 B
Makefile
40 lines
972 B
Makefile
# Created by: Jeroen Schot <schot@a-eskwadraat.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dmenu
|
|
DISTVERSION= 4.9-6
|
|
DISTVERSIONSUFFIX= -g9b38fda
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= X11 menu application designed for the dwm window manager
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
OPTIONS_DEFINE= XINERAMA
|
|
OPTIONS_DEFAULT= XINERAMA
|
|
|
|
USES= xorg
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= 0mp
|
|
GH_PROJECT= freebsd-${PORTNAME}
|
|
USE_XORG= x11 xft
|
|
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \
|
|
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" \
|
|
FREETYPEINC="${LOCALBASE}/include/freetype2"
|
|
|
|
PLIST_FILES= bin/dmenu bin/dmenu_path bin/dmenu_run bin/stest \
|
|
man/man1/dmenu.1.gz man/man1/stest.1.gz
|
|
|
|
XINERAMA_USE= XORG=xinerama
|
|
XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS=
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmenu \
|
|
${STAGEDIR}${PREFIX}/bin/stest
|
|
|
|
.include <bsd.port.mk>
|