ports/115763: Update port: x11-wm/dwm

Jeroen Schot schot at a-eskwadraat.nl
Thu Aug 23 19:10:03 UTC 2007


>Number:         115763
>Category:       ports
>Synopsis:       Update port: x11-wm/dwm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 19:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Jeroen Schot
>Release:        FreeBSD 7.0-CURRENT-200706 i386
>Organization:
>Environment:
System: FreeBSD vocal 7.0-CURRENT-200706 FreeBSD 7.0-CURRENT-200706 #0: Sun Jun 3 18:41:02 UTC 2007 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Attached diff updates the port of x11-wm/dwm from 4.3 to 4.4 and installs some PORTDOCS.
>How-To-Repeat:
>Fix:
diff -ruN dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile	Thu Jul 19 18:04:39 2007
+++ dwm/Makefile	Mon Aug 20 01:06:00 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dwm
-PORTVERSION=	4.3
+PORTVERSION=	4.4
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://www.suckless.org/download/ \
 		http://schot.a-eskwadraat.nl/files/
@@ -18,16 +18,25 @@
 
 MAN1=		dwm.1
 PLIST_FILES=	bin/dwm
+PORTDOCS=	LICENSE README
 
 pre-everything::
 	@${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:"
 	@${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean"
-	@${ECHO_MSG} "Note: Pre-4.1 config.h-files no longer work."
+	@${ECHO_MSG} "Note: Pre-4.4 config.h-files no longer work."
 
 post-extract:
 .if defined(DWM_CONF)
 	@${ECHO_MSG} "creating config.h from ${DWM_CONF}"
 	@${CP} ${DWM_CONF} ${WRKSRC}/config.h
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
+	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN dwm.orig/distinfo dwm/distinfo
--- dwm.orig/distinfo	Thu Jul 19 18:04:39 2007
+++ dwm/distinfo	Thu Aug 23 22:59:35 2007
@@ -1,3 +1,3 @@
-MD5 (dwm-4.3.tar.gz) = b33c29ec68399b7f3e3e145c0107a452
-SHA256 (dwm-4.3.tar.gz) = ff7919da06fb9b5e995b6af9df87a24045cd747efc3c774b8c287e50e1a8e7a1
-SIZE (dwm-4.3.tar.gz) = 18658
+MD5 (dwm-4.4.tar.gz) = 8e234602b0c878f364de59eff591e158
+SHA256 (dwm-4.4.tar.gz) = 1320cc1730fce2a4c10f215597dba49338eaf596ae5a5f392d1111b69d69ffb8
+SIZE (dwm-4.4.tar.gz) = 19089
diff -ruN dwm.orig/files/patch-config.mk dwm/files/patch-config.mk
--- dwm.orig/files/patch-config.mk	Sat May 26 00:11:30 2007
+++ dwm/files/patch-config.mk	Mon Aug 20 00:50:48 2007
@@ -1,7 +1,7 @@
---- config.mk.orig	Mon May 21 14:37:17 2007
-+++ config.mk	Mon May 21 18:20:11 2007
-@@ -4,18 +4,18 @@
- # Customize below to fit your system
+--- config.mk.orig	Mon Aug 20 00:36:39 2007
++++ config.mk	Mon Aug 20 00:48:16 2007
+@@ -7,19 +7,19 @@
+ SRC = tile.c
  
  # paths
 -PREFIX = /usr/local
@@ -20,12 +20,13 @@
  
  # flags
 -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
 -LDFLAGS = -s ${LIBS}
++CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
 +LDFLAGS+= ${LIBS}
  #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
  #LDFLAGS = -g ${LIBS}
-@@ -26,4 +26,4 @@
+ 
+@@ -29,4 +29,4 @@
  #CFLAGS += -xtarget=ultra
  
  # compiler and linker
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list