dmenu-git: Import dmenu-4.8 as wip/dmenu-git
dmenu is a dynamic menu for X, originally designed for dwm (wm/dwm). It manages large numbers of user-defined menu items efficiently. Based on x11/dmenu
This commit is contained in:
parent
2dae89d293
commit
7fae014ff5
1
Makefile
1
Makefile
|
@ -602,6 +602,7 @@ SUBDIR+= dma
|
|||
SUBDIR+= dmapd
|
||||
SUBDIR+= dmd
|
||||
SUBDIR+= dmd-bin
|
||||
SUBDIR+= dmenu-git
|
||||
SUBDIR+= dmt-ux
|
||||
SUBDIR+= dnrd
|
||||
SUBDIR+= dns2tcp
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
dmenu is a dynamic menu for X, originally designed for dwm (wm/dwm).
|
||||
It manages large numbers of user-defined menu items efficiently.
|
|
@ -0,0 +1,42 @@
|
|||
# $NetBSD: Makefile,v 1.14 2018/03/15 10:58:24 leot Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dmenu-4.8
|
||||
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
|
||||
|
||||
GIT_REPO= http://git.suckless.org/dmenu
|
||||
|
||||
MAKE_JOBS_SAFE= no
|
||||
|
||||
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 "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.6 2015/11/11 16:13:12 leot Exp $
|
||||
bin/dmenu
|
||||
bin/dmenu_path
|
||||
bin/dmenu_run
|
||||
bin/stest
|
||||
man/man1/dmenu.1
|
||||
man/man1/stest.1
|
|
@ -0,0 +1,23 @@
|
|||
# $NetBSD: options.mk,v 1.3 2015/11/11 16:13:12 leot Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.dmenu
|
||||
PKG_SUPPORTED_OPTIONS= xinerama
|
||||
PKG_SUGGESTED_OPTIONS= xinerama
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
#
|
||||
# Xinerama support
|
||||
#
|
||||
# If we don't want the Xinerama support we delete XINERAMALIBS and
|
||||
# XINERAMAFLAGS lines, otherwise the Xinerama support is the default.
|
||||
#
|
||||
.if !empty(PKG_OPTIONS:Mxinerama)
|
||||
. include "../../x11/libXinerama/buildlink3.mk"
|
||||
.else
|
||||
SUBST_CLASSES+= options
|
||||
SUBST_STAGE.options= pre-patch
|
||||
SUBST_MESSAGE.options= Toggle the Xinerama support
|
||||
SUBST_FILES.options= config.mk
|
||||
SUBST_SED.options+= -e '/^XINERAMA/d'
|
||||
.endif
|
Loading…
Reference in New Issue