pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dmenu-git: Import dmenu-4.8 as wip/dmenu-git
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sat Dec 1 12:31:51 2018 +0100
Changeset: 7fae014ff531f0686496ff8497fd256cf23431c4
Modified Files:
Makefile
Added Files:
dmenu-git/DESCR
dmenu-git/Makefile
dmenu-git/PLIST
dmenu-git/options.mk
Log Message:
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
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7fae014ff531f0686496ff8497fd256cf23431c4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
dmenu-git/DESCR | 2 ++
dmenu-git/Makefile | 42 ++++++++++++++++++++++++++++++++++++++++++
dmenu-git/PLIST | 7 +++++++
dmenu-git/options.mk | 23 +++++++++++++++++++++++
5 files changed, 75 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 587958f433..cfa80c45cc 100644
--- a/Makefile
+++ b/Makefile
@@ -602,6 +602,7 @@ SUBDIR+= dma
SUBDIR+= dmapd
SUBDIR+= dmd
SUBDIR+= dmd-bin
+SUBDIR+= dmenu-git
SUBDIR+= dmt-ux
SUBDIR+= dnrd
SUBDIR+= dns2tcp
diff --git a/dmenu-git/DESCR b/dmenu-git/DESCR
new file mode 100644
index 0000000000..af8ec6d0b1
--- /dev/null
+++ b/dmenu-git/DESCR
@@ -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.
diff --git a/dmenu-git/Makefile b/dmenu-git/Makefile
new file mode 100644
index 0000000000..f2db843abd
--- /dev/null
+++ b/dmenu-git/Makefile
@@ -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@localhost
+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"
diff --git a/dmenu-git/PLIST b/dmenu-git/PLIST
new file mode 100644
index 0000000000..931a1ade45
--- /dev/null
+++ b/dmenu-git/PLIST
@@ -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
diff --git a/dmenu-git/options.mk b/dmenu-git/options.mk
new file mode 100644
index 0000000000..010af4fa61
--- /dev/null
+++ b/dmenu-git/options.mk
@@ -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
Home |
Main Index |
Thread Index |
Old Index