summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-04-25 12:54:54 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-04-25 12:54:54 +0000
commiteffc2a5a9802e5873bf609d564516e9ff3ead39f (patch)
tree4e4ec911ec86d14439b564e16436f186b25e6b3f /x11-wm
parent- Update to 2.6 (diff)
- Update to 2.2
PR: ports/122603 Submitted by: garga Approved by: maintainer
Notes
Notes: svn path=/head/; revision=211936
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/awesome/Makefile28
-rw-r--r--x11-wm/awesome/distinfo6
-rw-r--r--x11-wm/awesome/files/patch-Makefile37
-rw-r--r--x11-wm/awesome/files/patch-config.mk29
-rw-r--r--x11-wm/awesome/pkg-plist23
-rw-r--r--x11-wm/awesome2/Makefile28
-rw-r--r--x11-wm/awesome2/distinfo6
-rw-r--r--x11-wm/awesome2/files/patch-Makefile37
-rw-r--r--x11-wm/awesome2/files/patch-config.mk29
-rw-r--r--x11-wm/awesome2/pkg-plist23
10 files changed, 88 insertions, 158 deletions
diff --git a/x11-wm/awesome/Makefile b/x11-wm/awesome/Makefile
index 9dc0b40ab15b..0fa33e5b1cab 100644
--- a/x11-wm/awesome/Makefile
+++ b/x11-wm/awesome/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= awesome
-PORTVERSION= 2.0
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= x11-wm
MASTER_SITES= http://awesome.naquadah.org/download/
@@ -20,27 +19,36 @@ LIB_DEPENDS= confuse.0:${PORTSDIR}/devel/libconfuse \
cairo.2:${PORTSDIR}/graphics/cairo \
freetype.9:${PORTSDIR}/print/freetype2
+USE_ICONV= yes
+GNU_CONFIGURE= yes
USE_XORG= x11 xft xext xinerama xt xrandr xproto
MAN1= awesome.1 \
- awesome-client.1
-PLIST_FILES= bin/awesome \
- bin/awesome-client
-PORTDOCS= AUTHORS LICENSE README
+ awesome-client.1 \
+ awesome-message.1
+MAN5= awesomerc.5
+PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE
PORTEXAMPLES= awesomerc
+post-configure:
+ @${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \
+ /^doc_DATA/s/=.*$$/=/g' \
+ ${WRKSRC}/Makefile
+
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_MAN} ${WRKSRC}/awesomerc ${EXAMPLESDIR}
+. for example in ${PORTEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
+. endfor
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/awesome/distinfo b/x11-wm/awesome/distinfo
index e71f60ad5a12..fd9d9a16850f 100644
--- a/x11-wm/awesome/distinfo
+++ b/x11-wm/awesome/distinfo
@@ -1,3 +1,3 @@
-MD5 (awesome-2.0.tar.gz) = b3e245bd9b8c05b759cc0acbec9f6a29
-SHA256 (awesome-2.0.tar.gz) = 933ce7f5f4339963a5f6229caf82c9f0fb8eb69e69293f72246737e13ffaa079
-SIZE (awesome-2.0.tar.gz) = 48600
+MD5 (awesome-2.2.tar.gz) = 595da572fc2dd03461084b329e74b5db
+SHA256 (awesome-2.2.tar.gz) = 388878f17c3cdd0379474396b95f26eb3af10ec295e89a9b833865d9e0a12aed
+SIZE (awesome-2.2.tar.gz) = 208012
diff --git a/x11-wm/awesome/files/patch-Makefile b/x11-wm/awesome/files/patch-Makefile
deleted file mode 100644
index 6e50397d077d..000000000000
--- a/x11-wm/awesome/files/patch-Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
---- Makefile.orig 2007-12-11 22:57:57.000000000 +0200
-+++ Makefile 2007-12-11 22:58:58.000000000 +0200
-@@ -10,7 +10,7 @@
- SRCCLIENT = awesome-client.c awesome-client-common.c util.c
- OBJCLIENT = ${SRCCLIENT:.c=.o}
-
--all: options awesome awesome-client
-+all: options awesome awesome-client man
-
- options:
- @echo awesome build options:
-@@ -64,19 +64,19 @@
-
- install: strip install-unstrip
-
--install-unstrip: awesome awesome-client man
-+install-unstrip: awesome awesome-client
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
- @install -d ${DESTDIR}${PREFIX}/bin
- @install -m 755 awesome awesome-client ${DESTDIR}${PREFIX}/bin
-- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
-- @install -d ${DESTDIR}${MANPREFIX}/man1
-- @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man1
-+ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man/man1
-+ @install -d ${DESTDIR}${MANPREFIX}/man/man1
-+ @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man/man1
-
- uninstall:
- @echo removing executable file from ${DESTDIR}${PREFIX}/bin
- @rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client
-- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
-- @rm ${DESTDIR}${MANPREFIX}/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man1/awesome-client.1
-+ @echo removing manual page from ${DESTDIR}${MANPREFIX}/man/man1
-+ @rm ${DESTDIR}${MANPREFIX}/man/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man/man1/awesome-client.1
-
- doc:
- @echo generating documentation
diff --git a/x11-wm/awesome/files/patch-config.mk b/x11-wm/awesome/files/patch-config.mk
deleted file mode 100644
index 0e38337e4457..000000000000
--- a/x11-wm/awesome/files/patch-config.mk
+++ /dev/null
@@ -1,29 +0,0 @@
---- config.mk.o 2007-11-18 06:20:55.000000000 +0200
-+++ config.mk 2007-11-18 06:23:43.000000000 +0200
-@@ -8,20 +8,18 @@
- LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
-
- # paths
--PREFIX = /usr/local
--MANPREFIX = ${PREFIX}/share/man
-
--X11INC = /usr/include/X11
--X11LIB = /usr/lib/X11
-+X11INC = ${LOCALBASE}/include
-+X11LIB = ${LOCALBASE}/lib
-
- # includes and libs
- INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo`
- LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama
-
- # flags
--CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
--LDFLAGS = -ggdb3 ${LIBS}
--CLIENTLDFLAGS = -ggdb3
-+CFLAGS+= -pipe -Wall -W -Wchar-subscripts -Wshadow -Wcast-align -Wwrite-strings -Wunused -Wuninitialized -Wpointer-arith -Wredundant-decls -Wmissing-prototypes ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
-+LDFLAGS+= ${LIBS}
-+CLIENTLDFLAGS+= ${LIBS}
-
- # compiler and linker
--CC = cc
-+CC?= cc
diff --git a/x11-wm/awesome/pkg-plist b/x11-wm/awesome/pkg-plist
new file mode 100644
index 000000000000..570a8ac48351
--- /dev/null
+++ b/x11-wm/awesome/pkg-plist
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+bin/awesome
+bin/awesome-client
+bin/awesome-message
+%%DATADIR%%/icons/layouts/dwindle.png
+%%DATADIR%%/icons/layouts/dwindlew.png
+%%DATADIR%%/icons/layouts/floating.png
+%%DATADIR%%/icons/layouts/floatingw.png
+%%DATADIR%%/icons/layouts/max.png
+%%DATADIR%%/icons/layouts/maxw.png
+%%DATADIR%%/icons/layouts/spiral.png
+%%DATADIR%%/icons/layouts/spiralw.png
+%%DATADIR%%/icons/layouts/tile.png
+%%DATADIR%%/icons/layouts/tilebottom.png
+%%DATADIR%%/icons/layouts/tilebottomw.png
+%%DATADIR%%/icons/layouts/tileleft.png
+%%DATADIR%%/icons/layouts/tileleftw.png
+%%DATADIR%%/icons/layouts/tiletop.png
+%%DATADIR%%/icons/layouts/tiletopw.png
+%%DATADIR%%/icons/layouts/tilew.png
+@dirrm %%DATADIR%%/icons/layouts
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
diff --git a/x11-wm/awesome2/Makefile b/x11-wm/awesome2/Makefile
index 9dc0b40ab15b..0fa33e5b1cab 100644
--- a/x11-wm/awesome2/Makefile
+++ b/x11-wm/awesome2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= awesome
-PORTVERSION= 2.0
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= x11-wm
MASTER_SITES= http://awesome.naquadah.org/download/
@@ -20,27 +19,36 @@ LIB_DEPENDS= confuse.0:${PORTSDIR}/devel/libconfuse \
cairo.2:${PORTSDIR}/graphics/cairo \
freetype.9:${PORTSDIR}/print/freetype2
+USE_ICONV= yes
+GNU_CONFIGURE= yes
USE_XORG= x11 xft xext xinerama xt xrandr xproto
MAN1= awesome.1 \
- awesome-client.1
-PLIST_FILES= bin/awesome \
- bin/awesome-client
-PORTDOCS= AUTHORS LICENSE README
+ awesome-client.1 \
+ awesome-message.1
+MAN5= awesomerc.5
+PORTDOCS= AUTHORS LICENSE README STYLE UPGRADE
PORTEXAMPLES= awesomerc
+post-configure:
+ @${REINPLACE_CMD} -E '/^awesome_(message_)?LDADD/s/$$/ -liconv/g; \
+ /^doc_DATA/s/=.*$$/=/g' \
+ ${WRKSRC}/Makefile
+
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. endfor
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} "installing example config file to ${EXAMPLESDIR}"
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_MAN} ${WRKSRC}/awesomerc ${EXAMPLESDIR}
+. for example in ${PORTEXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${example} ${EXAMPLESDIR}
+. endfor
.endif
.include <bsd.port.mk>
diff --git a/x11-wm/awesome2/distinfo b/x11-wm/awesome2/distinfo
index e71f60ad5a12..fd9d9a16850f 100644
--- a/x11-wm/awesome2/distinfo
+++ b/x11-wm/awesome2/distinfo
@@ -1,3 +1,3 @@
-MD5 (awesome-2.0.tar.gz) = b3e245bd9b8c05b759cc0acbec9f6a29
-SHA256 (awesome-2.0.tar.gz) = 933ce7f5f4339963a5f6229caf82c9f0fb8eb69e69293f72246737e13ffaa079
-SIZE (awesome-2.0.tar.gz) = 48600
+MD5 (awesome-2.2.tar.gz) = 595da572fc2dd03461084b329e74b5db
+SHA256 (awesome-2.2.tar.gz) = 388878f17c3cdd0379474396b95f26eb3af10ec295e89a9b833865d9e0a12aed
+SIZE (awesome-2.2.tar.gz) = 208012
diff --git a/x11-wm/awesome2/files/patch-Makefile b/x11-wm/awesome2/files/patch-Makefile
deleted file mode 100644
index 6e50397d077d..000000000000
--- a/x11-wm/awesome2/files/patch-Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
---- Makefile.orig 2007-12-11 22:57:57.000000000 +0200
-+++ Makefile 2007-12-11 22:58:58.000000000 +0200
-@@ -10,7 +10,7 @@
- SRCCLIENT = awesome-client.c awesome-client-common.c util.c
- OBJCLIENT = ${SRCCLIENT:.c=.o}
-
--all: options awesome awesome-client
-+all: options awesome awesome-client man
-
- options:
- @echo awesome build options:
-@@ -64,19 +64,19 @@
-
- install: strip install-unstrip
-
--install-unstrip: awesome awesome-client man
-+install-unstrip: awesome awesome-client
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
- @install -d ${DESTDIR}${PREFIX}/bin
- @install -m 755 awesome awesome-client ${DESTDIR}${PREFIX}/bin
-- @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
-- @install -d ${DESTDIR}${MANPREFIX}/man1
-- @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man1
-+ @echo installing manual page to ${DESTDIR}${MANPREFIX}/man/man1
-+ @install -d ${DESTDIR}${MANPREFIX}/man/man1
-+ @install -m 644 ${DOCS:.txt=} ${DESTDIR}${MANPREFIX}/man/man1
-
- uninstall:
- @echo removing executable file from ${DESTDIR}${PREFIX}/bin
- @rm ${DESTDIR}${PREFIX}/bin/awesome ${DESTDIR}${PREFIX}/bin/awesome-client
-- @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
-- @rm ${DESTDIR}${MANPREFIX}/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man1/awesome-client.1
-+ @echo removing manual page from ${DESTDIR}${MANPREFIX}/man/man1
-+ @rm ${DESTDIR}${MANPREFIX}/man/man1/awesome.1 ${DESTDIR}${MANPREFIX}/man/man1/awesome-client.1
-
- doc:
- @echo generating documentation
diff --git a/x11-wm/awesome2/files/patch-config.mk b/x11-wm/awesome2/files/patch-config.mk
deleted file mode 100644
index 0e38337e4457..000000000000
--- a/x11-wm/awesome2/files/patch-config.mk
+++ /dev/null
@@ -1,29 +0,0 @@
---- config.mk.o 2007-11-18 06:20:55.000000000 +0200
-+++ config.mk 2007-11-18 06:23:43.000000000 +0200
-@@ -8,20 +8,18 @@
- LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
-
- # paths
--PREFIX = /usr/local
--MANPREFIX = ${PREFIX}/share/man
-
--X11INC = /usr/include/X11
--X11LIB = /usr/lib/X11
-+X11INC = ${LOCALBASE}/include
-+X11LIB = ${LOCALBASE}/lib
-
- # includes and libs
- INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo`
- LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama
-
- # flags
--CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
--LDFLAGS = -ggdb3 ${LIBS}
--CLIENTLDFLAGS = -ggdb3
-+CFLAGS+= -pipe -Wall -W -Wchar-subscripts -Wshadow -Wcast-align -Wwrite-strings -Wunused -Wuninitialized -Wpointer-arith -Wredundant-decls -Wmissing-prototypes ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
-+LDFLAGS+= ${LIBS}
-+CLIENTLDFLAGS+= ${LIBS}
-
- # compiler and linker
--CC = cc
-+CC?= cc
diff --git a/x11-wm/awesome2/pkg-plist b/x11-wm/awesome2/pkg-plist
new file mode 100644
index 000000000000..570a8ac48351
--- /dev/null
+++ b/x11-wm/awesome2/pkg-plist
@@ -0,0 +1,23 @@
+@comment $FreeBSD$
+bin/awesome
+bin/awesome-client
+bin/awesome-message
+%%DATADIR%%/icons/layouts/dwindle.png
+%%DATADIR%%/icons/layouts/dwindlew.png
+%%DATADIR%%/icons/layouts/floating.png
+%%DATADIR%%/icons/layouts/floatingw.png
+%%DATADIR%%/icons/layouts/max.png
+%%DATADIR%%/icons/layouts/maxw.png
+%%DATADIR%%/icons/layouts/spiral.png
+%%DATADIR%%/icons/layouts/spiralw.png
+%%DATADIR%%/icons/layouts/tile.png
+%%DATADIR%%/icons/layouts/tilebottom.png
+%%DATADIR%%/icons/layouts/tilebottomw.png
+%%DATADIR%%/icons/layouts/tileleft.png
+%%DATADIR%%/icons/layouts/tileleftw.png
+%%DATADIR%%/icons/layouts/tiletop.png
+%%DATADIR%%/icons/layouts/tiletopw.png
+%%DATADIR%%/icons/layouts/tilew.png
+@dirrm %%DATADIR%%/icons/layouts
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%