pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/dwm Upgrade to version 5.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91dc36da45d0
branches:  trunk
changeset: 394748:91dc36da45d0
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Jun 14 22:45:12 2009 +0000

description:
Upgrade to version 5.5.

Work done by Leonardo Taccari in pkgsrc-wip.

Thanks!

diffstat:

 wm/dwm/Makefile         |  29 +++++++++++++++++++++--------
 wm/dwm/distinfo         |   9 ++++-----
 wm/dwm/patches/patch-aa |  40 ----------------------------------------
 3 files changed, 25 insertions(+), 53 deletions(-)

diffs (104 lines):

diff -r 8892c26b3f7d -r 91dc36da45d0 wm/dwm/Makefile
--- a/wm/dwm/Makefile   Sun Jun 14 22:44:54 2009 +0000
+++ b/wm/dwm/Makefile   Sun Jun 14 22:45:12 2009 +0000
@@ -1,21 +1,34 @@
-# $NetBSD: Makefile,v 1.6 2008/12/07 15:46:39 tonio Exp $
+# $NetBSD: Makefile,v 1.7 2009/06/14 22:45:12 ahoka Exp $
+#
 
-DISTNAME=      dwm-5.3.1
+DISTNAME=      dwm-5.5
 CATEGORIES=    wm
 MASTER_SITES=  http://code.suckless.org/dl/dwm/
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.suckless.org/dwm/
+MAINTAINER=    leot1990%users.sourceforge.net@localhost
+HOMEPAGE=      http://dwm.suckless.org/
 COMMENT=       Dynamic window manager
 
+LICENSE=       mit
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 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
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/dwm ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/dwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.include "options.mk"
 
-.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8892c26b3f7d -r 91dc36da45d0 wm/dwm/distinfo
--- a/wm/dwm/distinfo   Sun Jun 14 22:44:54 2009 +0000
+++ b/wm/dwm/distinfo   Sun Jun 14 22:45:12 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2008/12/07 15:46:39 tonio Exp $
+$NetBSD: distinfo,v 1.7 2009/06/14 22:45:12 ahoka Exp $
 
-SHA1 (dwm-5.3.1.tar.gz) = e68a4b4714de434c106e28146dd541d183c1e821
-RMD160 (dwm-5.3.1.tar.gz) = add0e8d07acaed9f4f1a0799d320c1f8f2172470
-Size (dwm-5.3.1.tar.gz) = 18403 bytes
-SHA1 (patch-aa) = c0abe71f7e44eb2c66e1e7350dedc3ff0ee9cd82
+SHA1 (dwm-5.5.tar.gz) = ad756106b1bd3a7429127246f577f2842b3a4fd6
+RMD160 (dwm-5.5.tar.gz) = 045decca40dea064b89b48e86cd2cbe00f546aef
+Size (dwm-5.5.tar.gz) = 17959 bytes
diff -r 8892c26b3f7d -r 91dc36da45d0 wm/dwm/patches/patch-aa
--- a/wm/dwm/patches/patch-aa   Sun Jun 14 22:44:54 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2008/12/07 15:46:39 tonio Exp $
-
---- config.mk.orig     2008-12-06 10:33:03.000000000 +0100
-+++ config.mk
-@@ -4,11 +4,10 @@ VERSION = 5.3.1
- # 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, un-comment if you want it
- #XINERAMALIBS = -L${X11LIB} -lXinerama
-@@ -16,16 +15,16 @@ X11LIB = /usr/X11R6/lib
- 
- # 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} -lX11 ${XINERAMALIBS}
- 
- # flags
- CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
--CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
--LDFLAGS = -s ${LIBS}
-+CFLAGS = -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
-+LDFLAGS = ${LIBS}
- 
- # Solaris
- #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
- #LDFLAGS = ${LIBS}
- 
- # compiler and linker
--CC = cc
-+#CC = cc



Home | Main Index | Thread Index | Old Index