aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2024-09-10 07:47:48 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2024-09-10 07:47:48 +0000
commit5403eaa0048ed32ced5c4c769bff96ba84b82578 (patch)
tree56c32a49752282f08414895eb3e2a50b63c16737
parentb429ed571bb8c88e71502659c687a480cd88a9de (diff)
x11-wm/yeahwm: provide copyright and licensing terms for the port
Obtained from `x11-wm/evilwm' with minor changes and improvements. PR: 279118
-rw-r--r--x11-wm/yeahwm/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/x11-wm/yeahwm/Makefile b/x11-wm/yeahwm/Makefile
index eb5766fa763f..f6d835e9d38e 100644
--- a/x11-wm/yeahwm/Makefile
+++ b/x11-wm/yeahwm/Makefile
@@ -9,6 +9,11 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= Minimal X11 window manager with BeOS-like tabbed titles
WWW= http://phrat.de/
+LICENSE= AEWM
+LICENSE_NAME= AEWM License
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
USES= xorg
USE_XORG= x11 xext xinerama
MAKE_ARGS= CC="${CC}" XROOT="${LOCALBASE}"
@@ -23,6 +28,10 @@ MOTIF_DESC= Use Motif hints to find if window should be borderless
MOTIF_BUILD_DEPENDS= ${LOCALBASE}/include/Xm/MwmUtil.h:x11-toolkits/open-motif
+post-extract:
+ @${SED} -n '/^Copyright (c)/,$$p' \
+ ${WRKSRC}/README.evilwm > ${LICENSE_FILE}
+
post-patch:
@${REINPLACE_CMD} -e 's, -Wall -Os,-fcommon,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/DEF_FONT/s,variable,fixed,' ${WRKSRC}/config.h