aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-04-12 12:03:51 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-04-12 12:03:51 +0000
commita03cbf4e04a9ef54760fb55a0d67827e9c52db44 (patch)
tree39a82e0fe3c29f2decd4adfabab5c0e3f48b9d34 /x11-wm
parentb070d64c1af937f44dbc111a984272fe7754db65 (diff)
downloadports-a03cbf4e04a9ef54760fb55a0d67827e9c52db44.tar.gz
ports-a03cbf4e04a9ef54760fb55a0d67827e9c52db44.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/mcwm/Makefile5
-rw-r--r--x11-wm/mcwm/distinfo4
-rw-r--r--x11-wm/mcwm/files/patch-Makefile31
-rw-r--r--x11-wm/mcwm/pkg-message14
4 files changed, 33 insertions, 21 deletions
diff --git a/x11-wm/mcwm/Makefile b/x11-wm/mcwm/Makefile
index d8cb575e94f8..886f57bb3a12 100644
--- a/x11-wm/mcwm/Makefile
+++ b/x11-wm/mcwm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mcwm
-PORTVERSION= 20110308
+PORTVERSION= 20110412
CATEGORIES= x11-wm
MASTER_SITES= http://hack.org/mc/hacks/mcwm/
@@ -26,7 +26,7 @@ USE_BZIP2= yes
MAN1= mcwm.1
PLIST_FILES= bin/mcwm
-PORTDOCS= LICENSE README
+PORTDOCS= LICENSE README NEWS
pre-everything::
@${ECHO_MSG} "You can build mcwm with your own config.h using the MCWM_CONF knob:"
@@ -44,6 +44,7 @@ post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/x11-wm/mcwm/distinfo b/x11-wm/mcwm/distinfo
index 32aa0f3f89dc..7e878ff52aeb 100644
--- a/x11-wm/mcwm/distinfo
+++ b/x11-wm/mcwm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mcwm-20110308.tar.bz2) = 871d78eccfdbe00af17551436a886cc352874839c2adae963e83b25fcd770406
-SIZE (mcwm-20110308.tar.bz2) = 23392
+SHA256 (mcwm-20110412.tar.bz2) = 9784354061b87521d1fe252972959429fadf58ba6507a28b01d9e4fc5d9d3b41
+SIZE (mcwm-20110412.tar.bz2) = 24570
diff --git a/x11-wm/mcwm/files/patch-Makefile b/x11-wm/mcwm/files/patch-Makefile
index c606274b3043..b370ab2fc29f 100644
--- a/x11-wm/mcwm/files/patch-Makefile
+++ b/x11-wm/mcwm/files/patch-Makefile
@@ -1,29 +1,36 @@
---- Makefile.orig 2011-03-16 18:19:22.000000000 +0100
-+++ Makefile 2011-03-16 18:23:04.000000000 +0100
-@@ -3,12 +3,12 @@ DIST=mcwm-$(VERSION)
+--- Makefile.orig 2011-04-12 11:25:25.000000000 +0200
++++ Makefile 2011-04-12 11:34:56.000000000 +0200
+@@ -3,12 +3,11 @@
SRC=mcwm.c list.c config.h events.h list.h
DISTFILES=LICENSE Makefile NEWS README TODO WISHLIST mcwm.man $(SRC)
-CC=gcc
-CFLAGS=-g -std=c99 -Wall -Wextra -O2 -I/usr/local/include #-DDEBUG #-DDMALLOC
--LDFLAGS=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom # -ldmalloc
-+CFLAGS+=-g -std=c99 -Wall -Wextra -I/usr/local/include
+-LDFLAGS=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom #-ldmalloc
++CFLAGS+=-g -std=c99 -Wall -Wextra -O2 -I/usr/local/include
+LDFLAGS+=-L/usr/local/lib -lxcb -lxcb-keysyms -lxcb-icccm -lxcb-atom
RM=/bin/rm
-PREFIX=/usr/local
+PREFIX?=/usr/local
-+MANPREFIX = ${PREFIX}/man
TARGETS=mcwm
OBJS=mcwm.o list.o
-@@ -28,6 +28,9 @@ list.o: list.c list.h Makefile
+@@ -27,12 +26,13 @@
+ list.o: list.c list.h Makefile
install: $(TARGETS)
- install -m 755 mcwm $(PREFIX)/bin
-+ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
-+ @mkdir -p ${DESTDIR}${MANPREFIX}/man1
-+ @sed "s/VERSION/${VERSION}/g" < mcwm.man > ${DESTDIR}${MANPREFIX}/man1/mcwm.1
+- install -m 755 mcwm $(PREFIX)/bin
+- install -m 644 mcwm.man $(PREFIX)/man/man1/mcwm.1
++ install -m 755 mcwm ${DESTDIR}$(PREFIX)/bin
++ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man/man1
++ @mkdir -p ${DESTDIR}${MANPREFIX}/man/man1
++ install -m 644 mcwm.man ${DESTDIR}$(MANPREFIX)/man/man1/mcwm.1
deinstall:
- $(RM) $(PREFIX)/bin/mcwm
+- $(RM) $(PREFIX)/bin/mcwm
+- $(RM) $(PREFIX)/man/man1/mcwm.1
++ $(RM) ${DESTDIR}$(PREFIX)/bin/mcwm
+
+ $(DIST).tar.bz2:
+ mkdir $(DIST)
diff --git a/x11-wm/mcwm/pkg-message b/x11-wm/mcwm/pkg-message
index 2e663f62ab08..450b8dc885da 100644
--- a/x11-wm/mcwm/pkg-message
+++ b/x11-wm/mcwm/pkg-message
@@ -1,7 +1,11 @@
-***************************************************
+****************************************************
-With default config.h mcwm uses urxvt as terminal,
-recompile with MCWM_CONF=/path/to/mcwm/config.h for
-custom configuration.
+With default config.h mcwm uses urxvt as terminal.
-***************************************************
+Since 20110412 you can define your own custom config
+with MCWM_CONF=/path/to/mcwm/config.h or you can use
+flags for basic configuration.
+
+See man mcwm(1) for details.
+
+****************************************************