- Update to 4.4

PR:		ports/115763
Submitted by:	Jeroen Schot <schot at a-eskwadraat.nl> (maintainer0
This commit is contained in:
Rong-En Fan
2007-08-26 08:15:56 +00:00
parent 8111e2a256
commit dec5f3a57d
3 changed files with 21 additions and 11 deletions
+11 -2
View File
@@ -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,11 +18,12 @@ USE_XLIB= yes
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)
@@ -30,4 +31,12 @@ post-extract:
@${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>
+3 -3
View File
@@ -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
+7 -6
View File
@@ -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