git: 18c5c5ab28d1 - main - x11-wm/phluid: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 18 Dec 2023 17:58:10 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18c5c5ab28d12a55c7198167a9bf236b09b5e150

commit 18c5c5ab28d12a55c7198167a9bf236b09b5e150
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-18 17:20:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-18 17:57:44 +0000

    x11-wm/phluid: Mark DEPRECATED
    
    - Last upstream release was in 2000
    - Set EXPIRATION_DATE 2024-01-18
    - Add LICENSE MIT
    - Utilize  USES=localbase
    - Add missing dependency
    - Pet portclippy
---
 x11-wm/phluid/Makefile  | 14 +++++++++++---
 x11-wm/phluid/pkg-plist | 14 +++++++-------
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/x11-wm/phluid/Makefile b/x11-wm/phluid/Makefile
index d92f0ac1641b..c714906b706b 100644
--- a/x11-wm/phluid/Makefile
+++ b/x11-wm/phluid/Makefile
@@ -8,11 +8,19 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Window manager that emphasizes efficiency, speed, and beauty
 WWW=		https://sourceforge.net/projects/phluid/
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+DEPRECATED=	Last upstream release was in 2000
+EXPIRATION_DATE=	2024-01-18
+
 LIB_DEPENDS=	libImlib2.so:graphics/imlib2
 
-USES=		gmake
+USES=		gmake localbase:ldflags xorg
+USE_XORG=x11
+
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lm -lX11
+
+LDFLAGS+=	-lm -lX11
 
 .include <bsd.port.mk>
diff --git a/x11-wm/phluid/pkg-plist b/x11-wm/phluid/pkg-plist
index ce6c21cdbb46..c35481d03ed3 100644
--- a/x11-wm/phluid/pkg-plist
+++ b/x11-wm/phluid/pkg-plist
@@ -1,8 +1,8 @@
 bin/phluid
-share/phluid/themes/default/images/close_active.png
-share/phluid/themes/default/images/close_normal.png
-share/phluid/themes/default/images/gradient.jpg
-share/phluid/themes/default/images/title_bg.png
-share/phluid/ttfonts/notepad.ttf
-share/phluid/ttfonts/tahoma.ttf
-share/phluid/ttfonts/tahomabd.ttf
+%%DATADIR%%/themes/default/images/close_active.png
+%%DATADIR%%/themes/default/images/close_normal.png
+%%DATADIR%%/themes/default/images/gradient.jpg
+%%DATADIR%%/themes/default/images/title_bg.png
+%%DATADIR%%/ttfonts/notepad.ttf
+%%DATADIR%%/ttfonts/tahoma.ttf
+%%DATADIR%%/ttfonts/tahomabd.ttf