diff options
author | culot <culot@FreeBSD.org> | 2011-04-12 20:03:51 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2011-04-12 20:03:51 +0800 |
commit | 6110d18198bcae7ed5daa2aa4705ac10ccaf7934 (patch) | |
tree | a4ebcb6b105b58d4fd709da72bccddf932dd1f05 /x11-wm | |
parent | 740cd1351339842625f9ed328b2e8b5baf469fc2 (diff) | |
download | freebsd-ports-graphics-6110d18198bcae7ed5daa2aa4705ac10ccaf7934.tar.gz freebsd-ports-graphics-6110d18198bcae7ed5daa2aa4705ac10ccaf7934.tar.zst freebsd-ports-graphics-6110d18198bcae7ed5daa2aa4705ac10ccaf7934.zip |
- Update to 20110412
PR: ports/156350
Submitted by: Jakub Lach <jakub_lach AT mailplus.pl> (maintainer)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/mcwm/Makefile | 5 | ||||
-rw-r--r-- | x11-wm/mcwm/distinfo | 4 | ||||
-rw-r--r-- | x11-wm/mcwm/files/patch-Makefile | 31 | ||||
-rw-r--r-- | x11-wm/mcwm/pkg-message | 14 |
4 files changed, 33 insertions, 21 deletions
diff --git a/x11-wm/mcwm/Makefile b/x11-wm/mcwm/Makefile index d8cb575e94f..886f57bb3a1 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 32aa0f3f89d..7e878ff52ae 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 c606274b304..b370ab2fc29 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 2e663f62ab0..450b8dc885d 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. + +**************************************************** |