mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Update to 2.2
PR: ports/122603 Submitted by: garga Approved by: maintainer
This commit is contained in:
parent
e39207bd80
commit
effc2a5a98
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211936
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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
|
23
x11-wm/awesome/pkg-plist
Normal file
23
x11-wm/awesome/pkg-plist
Normal file
@ -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%%
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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
|
23
x11-wm/awesome2/pkg-plist
Normal file
23
x11-wm/awesome2/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user