diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-17 09:00:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-17 09:00:22 +0800 |
commit | 2eb4f3be25c36e492ec0aa91a306de368d86214f (patch) | |
tree | f3f2a8ce75557d3c4981673f95b337d8d4e7b22c /x11-wm | |
parent | 411750428190676603a58320cad8df41081d2ae9 (diff) | |
download | freebsd-ports-gnome-2eb4f3be25c36e492ec0aa91a306de368d86214f.tar.gz freebsd-ports-gnome-2eb4f3be25c36e492ec0aa91a306de368d86214f.tar.zst freebsd-ports-gnome-2eb4f3be25c36e492ec0aa91a306de368d86214f.zip |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/pawm/Makefile | 9 | ||||
-rw-r--r-- | x11-wm/pawm/files/patch-CMakeLists.txt | 8 | ||||
-rw-r--r-- | x11-wm/pawm/files/patch-src__pashut.c | 6 | ||||
-rw-r--r-- | x11-wm/pawm/files/patch-src__pawm.c | 6 |
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[]) { |