Hello to all pkgsrc-users@, I patched the wm/dwm Makefile, distinfo and patches/patch-aa for the recent dwm-4.8 release. I also added the DESTDIR support. Me and Claudio M. Alessi would like to become the new MAINTAINER(s), so I changed the MAINTAINER variable too. Can we? Thank you. Ciao, Leonardo -- Leonardo Taccari (leot) | http://leot.netsons.org/
--- Makefile.orig 2008-03-15 16:07:16.000000000 +0100 +++ Makefile 2008-03-15 16:06:29.000000000 +0100 @@ -1,18 +1,22 @@ # $NetBSD: Makefile,v 1.4 2007/11/25 23:23:25 wiz Exp $ -DISTNAME= dwm-4.7 +DISTNAME= dwm-4.8 CATEGORIES= wm MASTER_SITES= http://suckless.org/download/ -MAINTAINER= pkgsrc-users%NetBSD.org@localhost +MAINTAINER= clamiax%gmail.com@localhost,leot1990%users.sourceforge.net@localhost HOMEPAGE= http://dwm.suckless.org/ COMMENT= Dynamic window manager +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= yes +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dwm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/dwm.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/dwm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dwm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk"
--- distinfo.orig 2008-03-15 16:07:24.000000000 +0100 +++ distinfo 2008-03-15 15:37:15.000000000 +0100 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2007/11/25 23:23:25 wiz Exp $ +$NetBSD$ -SHA1 (dwm-4.7.tar.gz) = db70a42edb383e6539cce4f9a8ee1fcbe59ab73d -RMD160 (dwm-4.7.tar.gz) = 2a464cebbca431c0bb199fc0ae9fdac48105c226 -Size (dwm-4.7.tar.gz) = 17693 bytes -SHA1 (patch-aa) = 86f16ed2861759da3d1aed694efc1f261fe31625 +SHA1 (dwm-4.8.tar.gz) = ea8e4ba6464cdbc60ce8794990248926d5a99be8 +RMD160 (dwm-4.8.tar.gz) = 5d5fdf13347b3cd26d6e3b07ff03dc87cb5b9e82 +Size (dwm-4.8.tar.gz) = 17879 bytes +SHA1 (patch-aa) = 79b73a76927fe658e4d308b200c8bea31d7bd246
--- patches/patch-aa.orig 2008-03-15 16:07:47.000000000 +0100 +++ patches/patch-aa 2008-03-15 15:34:05.000000000 +0100 @@ -1,8 +1,8 @@ $NetBSD: patch-aa,v 1.3 2007/11/25 23:23:25 wiz Exp $ ---- config.mk.orig 2007-11-21 20:18:41.000000000 +0000 +--- config.mk.orig 2008-03-13 17:55:43.000000000 +0100 +++ config.mk -@@ -4,19 +4,18 @@ VERSION = 4.7 +@@ -4,19 +4,18 @@ VERSION = 4.8 # Customize below to fit your system # paths @@ -25,7 +25,7 @@ -LDFLAGS = -s ${LIBS} +CFLAGS += ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS += ${LIBS} - #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" + #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DWORK #LDFLAGS = -g ${LIBS} @@ -26,4 +25,4 @@ LDFLAGS = -s ${LIBS}
Attachment:
pgpr7xjp2zUgQ.pgp
Description: PGP signature