b5f3f38268
Changes: 4.7 === New features ------------ - Add embedding support with -w option. This option can be used to xembed dmenu into an application. This is useful in particular for surf. - config.h: add config option for word delimiters. Noteworthy fixes ---------------- - die() on calloc failure. - Sync new drw from libsl and minor fixes. - arg.h: fixed argv checks order. - Regression fix: Do not crash on e.g. dmenu < /dev/null - Shut up glibc about _BSD_SOURCE being deprecated. - Xinerama: correct variable declarations in preprocessor conditional. - Small man page improvements. Thanks in particular to the contributors ---------------------------------------- - Andrew Gregory - Klemens Nanni - Lucas Gabriel Vuotto - Markus Teich - Quentin Rameau - S. Gilles - Thomas Gardner
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2017/05/02 18:32:34 leot Exp $
|
|
#
|
|
|
|
DISTNAME= dmenu-4.7
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://dl.suckless.org/tools/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= http://tools.suckless.org/dmenu
|
|
COMMENT= Dynamic menu for X
|
|
LICENSE= mit
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
NO_CONFIGURE= yes
|
|
USE_LANGUAGES= c99
|
|
|
|
# Adjust config.mk
|
|
SUBST_CLASSES+= makefile
|
|
SUBST_STAGE.makefile= pre-patch
|
|
SUBST_MESSAGE.makefile= Fixing config.mk
|
|
SUBST_FILES.makefile= config.mk
|
|
SUBST_SED.makefile+= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_SED.makefile+= -e 's,share/man,${PKGMANDIR},g'
|
|
SUBST_SED.makefile+= -e 's,/usr/X11R6,${X11BASE},'
|
|
SUBST_SED.makefile+= -e 's,^CFLAGS *= ,CFLAGS += ,'
|
|
SUBST_SED.makefile+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
|
|
SUBST_SED.makefile+= -e 's/-I$${FREETYPEINC}/$${FREETYPEINC}/'
|
|
SUBST_SED.makefile+= -e 's,^FREETYPEINC *=.*,FREETYPEINC != freetype-config --cflags,'
|
|
SUBST_SED.makefile+= -e 's/cc/${CC:Q}/'
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|