pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/dmenu Upgrade to version 4.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/337fc04a5e5c
branches:  trunk
changeset: 560603:337fc04a5e5c
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jun 14 22:48:51 2009 +0000

description:
Upgrade to version 4.0.

Work done by Leonardo Taccari in pkgsrc-wip.

Thanks Leo!

diffstat:

 x11/dmenu/DESCR            |   6 +++---
 x11/dmenu/Makefile         |  38 ++++++++++++++++++++++++++++----------
 x11/dmenu/PLIST            |   2 +-
 x11/dmenu/distinfo         |   9 ++++-----
 x11/dmenu/patches/patch-aa |  36 ------------------------------------
 5 files changed, 36 insertions(+), 55 deletions(-)

diffs (121 lines):

diff -r 085d63237073 -r 337fc04a5e5c x11/dmenu/DESCR
--- a/x11/dmenu/DESCR   Sun Jun 14 22:46:14 2009 +0000
+++ b/x11/dmenu/DESCR   Sun Jun 14 22:48:51 2009 +0000
@@ -1,3 +1,3 @@
-dmenu is a generic menu for X, originally designed for wm/dwm, now used by
-wm/wmii.  It manages huge amounts  (up to 10.000 and more) of user defined
-menu items efficiently.
+dynamic menu is a generic menu for X, originally designed for dwm (wm/dwm).
+It manages huge amounts (up to 10.000 and more) of user defined menu items
+efficiently.
diff -r 085d63237073 -r 337fc04a5e5c x11/dmenu/Makefile
--- a/x11/dmenu/Makefile        Sun Jun 14 22:46:14 2009 +0000
+++ b/x11/dmenu/Makefile        Sun Jun 14 22:48:51 2009 +0000
@@ -1,16 +1,34 @@
-# $NetBSD: Makefile,v 1.3 2009/03/05 09:26:18 ghen Exp $
+# $NetBSD: Makefile,v 1.4 2009/06/14 22:48:51 ahoka Exp $
+#
 
-DISTNAME=              dmenu-3.9
-CATEGORIES=            x11
-MASTER_SITES=          http://code.suckless.org/dl/tools/
+DISTNAME=      dmenu-4.0
+CATEGORIES=    x11
+MASTER_SITES=  http://code.suckless.org/dl/tools/
 
-MAINTAINER=            ghen%NetBSD.org@localhost
-HOMEPAGE=              http://www.suckless.org/wiki/tools/xlib
-COMMENT=               Dymanic menu for wmii
+MAINTAINER=    leot1990%users.sourceforge.net@localhost
+HOMEPAGE=      http://tools.suckless.org/dmenu
+COMMENT=       Dymanic menu for X
+
+LICENSE=       mit
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-.include "../../x11/xineramaproto/buildlink3.mk"
-.include "../../x11/libXinerama/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
+NO_CONFIGURE=  yes
+
+# Adjust config.mk
+SUBST_CLASSES+=                makefile
+SUBST_STAGE.makefile=  pre-build
+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/cc/${CC:Q}/'
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+.include "options.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff -r 085d63237073 -r 337fc04a5e5c x11/dmenu/PLIST
--- a/x11/dmenu/PLIST   Sun Jun 14 22:46:14 2009 +0000
+++ b/x11/dmenu/PLIST   Sun Jun 14 22:48:51 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/04/04 20:28:05 ghen Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/06/14 22:48:51 ahoka Exp $
 bin/dmenu
 bin/dmenu_path
 bin/dmenu_run
diff -r 085d63237073 -r 337fc04a5e5c x11/dmenu/distinfo
--- a/x11/dmenu/distinfo        Sun Jun 14 22:46:14 2009 +0000
+++ b/x11/dmenu/distinfo        Sun Jun 14 22:48:51 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2009/03/05 09:26:18 ghen Exp $
+$NetBSD: distinfo,v 1.4 2009/06/14 22:48:51 ahoka Exp $
 
-SHA1 (dmenu-3.9.tar.gz) = 9575cf9225de45ae3eb180aaddff2f5e5a662942
-RMD160 (dmenu-3.9.tar.gz) = 76dae0e752f9ae9d24d15568aaf80ec927301414
-Size (dmenu-3.9.tar.gz) = 8582 bytes
-SHA1 (patch-aa) = 99626aa65ab51da724372882b97f6c0ed4594701
+SHA1 (dmenu-4.0.tar.gz) = 6fb1ff6e414d5ef33d2f627b0ec563eaac19fbd8
+RMD160 (dmenu-4.0.tar.gz) = 9292c516397b578a753b1ba6a87ce68135a465b6
+Size (dmenu-4.0.tar.gz) = 8576 bytes
diff -r 085d63237073 -r 337fc04a5e5c x11/dmenu/patches/patch-aa
--- a/x11/dmenu/patches/patch-aa        Sun Jun 14 22:46:14 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2009/03/05 09:26:18 ghen Exp $
-
---- config.mk.orig     2008-09-09 21:45:00.000000000 +0200
-+++ config.mk
-@@ -4,11 +4,10 @@ VERSION = 3.9
- # Customize below to fit your system
- 
- # paths
--PREFIX = /usr/local
--MANPREFIX = ${PREFIX}/share/man
-+MANPREFIX = ${PREFIX}/${PKGMANDIR}
- 
--X11INC = /usr/X11R6/include
--X11LIB = /usr/X11R6/lib
-+X11INC = ${X11BASE}/include
-+X11LIB = ${X11BASE}/lib
- 
- # Xinerama, comment if you don't want it
- XINERAMALIBS = -L${X11LIB} -lXinerama
-@@ -16,12 +15,12 @@ XINERAMAFLAGS = -DXINERAMA
- 
- # includes and libs
- INCS = -I. -I/usr/include -I${X11INC}
--LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
-+LIBS = -lc -L${X11LIB} ${COMPILER_RPATH_FLAG}${X11LIB}${X11LIB} -lX11
- 
- # flags
--CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
--CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
--LDFLAGS = -s ${LIBS}
-+CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-+CFLAGS += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
-+LDFLAGS += -s ${LIBS} ${XINERAMALIBS}
- 
- # Solaris
- #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"



Home | Main Index | Thread Index | Old Index