aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/pawm/Makefile9
-rw-r--r--x11-wm/pawm/files/patch-CMakeLists.txt8
-rw-r--r--x11-wm/pawm/files/patch-src__pashut.c6
-rw-r--r--x11-wm/pawm/files/patch-src__pawm.c6
4 files changed, 15 insertions, 14 deletions
diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile
index 4a38138e8b60..ba754fffe29a 100644
--- a/x11-wm/pawm/Makefile
+++ b/x11-wm/pawm/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://www.pleyades.net/pawm/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Puto Amo Window Manager
-LICENSE= GPLv2
+LICENSE= GPLv2 # only
+LICENSE_FILE= ${WRKSRC}/GPL
USE_XORG= x11 xft xrandr xrender xpm
USES= cmake pkgconfig ninja tar:bzip2
@@ -21,14 +22,14 @@ LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender
OPTIONS_DEFINE= DOCS
post-patch:
- ${REINPLACE_CMD} -e \
+ @${REINPLACE_CMD} -e \
'/"\/etc"/s|^|#| ; \
/"-O2"/s|^|#| ; \
/LINK_DIRECTORIES/s|\.|| ; \
/INSTALL/s| /etc| etc|' ${WRKSRC}/CMakeLists.txt
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in AUTHORS Changelog.old INSTALL README TODO
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
diff --git a/x11-wm/pawm/files/patch-CMakeLists.txt b/x11-wm/pawm/files/patch-CMakeLists.txt
index c53e77236676..78077551b79c 100644
--- a/x11-wm/pawm/files/patch-CMakeLists.txt
+++ b/x11-wm/pawm/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig 2013-12-24 22:52:47.000000000 +0200
-+++ CMakeLists.txt 2013-12-24 22:53:02.000000000 +0200
-@@ -39,6 +39,7 @@
+--- CMakeLists.txt.orig 2010-05-03 02:36:18 UTC
++++ CMakeLists.txt
+@@ -39,6 +39,7 @@ IF (NOT XRANDR_FOUND)
ENDIF (NOT XRANDR_FOUND)
FIND_PACKAGE(Freetype REQUIRED)
@@ -8,7 +8,7 @@
# FIXME: Check if CMAKE_CONFIG_PREFIX is being set ok
SET(CMAKE_CONFIG_PREFIX "/etc")
-@@ -56,7 +57,7 @@
+@@ -56,7 +57,7 @@ ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "D
SET (CMAKE_C_FLAGS "-O2")
ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
diff --git a/x11-wm/pawm/files/patch-src__pashut.c b/x11-wm/pawm/files/patch-src__pashut.c
index c6aaf7651bae..e002cf4e93d3 100644
--- a/x11-wm/pawm/files/patch-src__pashut.c
+++ b/x11-wm/pawm/files/patch-src__pashut.c
@@ -1,6 +1,6 @@
---- src/pashut.c.orig Sat Feb 25 00:55:09 2006
-+++ src/pashut.c Sun Feb 26 03:15:23 2006
-@@ -24,6 +24,7 @@
+--- src/pashut.c.orig 2010-05-03 02:36:18 UTC
++++ src/pashut.c
+@@ -23,6 +23,7 @@
#include "pabar.h"
#include "pafont.h"
#include "pashut.h"
diff --git a/x11-wm/pawm/files/patch-src__pawm.c b/x11-wm/pawm/files/patch-src__pawm.c
index d4bf51d8fdae..055e5acf90dd 100644
--- a/x11-wm/pawm/files/patch-src__pawm.c
+++ b/x11-wm/pawm/files/patch-src__pawm.c
@@ -1,6 +1,6 @@
---- src/pawm.c.orig 2010-05-03 11:36:18.000000000 +0900
-+++ src/pawm.c 2010-09-22 01:27:38.000000000 +0900
-@@ -114,7 +114,7 @@
+--- src/pawm.c.orig 2010-05-03 02:36:18 UTC
++++ src/pawm.c
+@@ -114,7 +114,7 @@ static void get_pawm_conf()
int main (int argc, char *argv[])
{