git: 06fd12becd20 - main - devel/libphk: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 30 Apr 2024 20:49:56 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06fd12becd2061d972f981c6a99a858a23379370

commit 06fd12becd2061d972f981c6a99a858a23379370
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-30 20:49:42 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-30 20:49:42 +0000

    devel/libphk: Remove expired port
    
    2024-04-30 devel/libphk: Superseded by various other projects
---
 MOVED                                       |  1 +
 devel/Makefile                              |  1 -
 devel/libphk/Makefile                       | 45 -----------------------------
 devel/libphk/distinfo                       |  2 --
 devel/libphk/files/patch-phk__expr.c        | 22 --------------
 devel/libphk/files/patch-test_argv_Makefile | 11 -------
 devel/libphk/files/patch-test_expr_Makefile | 11 -------
 devel/libphk/pkg-descr                      |  1 -
 devel/libphk/pkg-plist                      | 14 ---------
 9 files changed, 1 insertion(+), 107 deletions(-)

diff --git a/MOVED b/MOVED
index 0f7d21735049..84eb6a3daa93 100644
--- a/MOVED
+++ b/MOVED
@@ -3221,3 +3221,4 @@ multimedia/rubygem-paperclip-av-transcoder||2024-04-30|Has expired: Depends on d
 benchmarks/iozone21||2024-04-30|Has expired: Abandoned and obsolete version, superseded by benchmarks/iozone (3.x). Consider also migrating to benchmarks/fio
 devel/tla||2024-04-30|Has expired: Deprecated and obsolete revision control system, consider migrating to devel/git or devel/mercurial
 devel/configkit||2024-04-30|Has expired: Depends on deprecated port devel/libphk
+devel/libphk||2024-04-30|Has expired: Superseded by various other projects
diff --git a/devel/Makefile b/devel/Makefile
index 2d7e0ce4d959..069770fbbf9f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1365,7 +1365,6 @@
     SUBDIR += libpeas
     SUBDIR += libpff
     SUBDIR += libphdi
-    SUBDIR += libphk
     SUBDIR += libphonenumber
     SUBDIR += libplist
     SUBDIR += libpo6
diff --git a/devel/libphk/Makefile b/devel/libphk/Makefile
deleted file mode 100644
index 59a4d1be5b37..000000000000
--- a/devel/libphk/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-PORTNAME=	libphk
-PORTVERSION=	0.3.20080902
-PORTREVISION=	2
-CATEGORIES=	devel
-MASTER_SITES=	http://phk.freebsd.dk/phkrel/
-DISTNAME=	Libphk.${PORTVERSION:C/0.3.//}
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	PHK's utilities functions
-WWW=		http://phk.freebsd.dk/phkrel/
-
-LICENSE=	Beerware
-LICENSE_NAME=	Beerware
-LICENSE_TEXT=	"THE BEER-WARE LICENSE" (Revision 42): \
-		<phk@FreeBSD.ORG> wrote this file.  As long as you retain this notice you \
-		can do whatever you want with this stuff. If we meet some day, and you think \
-		this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED=	Superseded by various other projects
-EXPIRATION_DATE=2024-04-30
-
-USES=		uidfix tar:tgz
-
-MAKE_FLAGS+=	MANDIR=${PREFIX}/share/man/man
-
-# XXX static PIE libraries not yet supported by the base system
-MAKE_FLAGS+=	WITHOUT_PIE=true
-MAKE_JOBS_UNSAFE=	yes
-
-WRKSRC=		${WRKDIR}/Libphk
-
-.include <bsd.port.options.mk>
-
-.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
-CFLAGS+=	-Wno-error=unused-but-set-variable
-PLIST_SUB+=	PROFILE="@comment "
-.else
-PLIST_SUB+=	PROFILE=""
-.endif
-
-post-patch:
-	@${SED} -i -e 's!/usr/local!$${PREFIX}!g' ${WRKSRC}/Makefile
-
-.include <bsd.port.mk>
diff --git a/devel/libphk/distinfo b/devel/libphk/distinfo
deleted file mode 100644
index 83cb2a0145bb..000000000000
--- a/devel/libphk/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (Libphk.20080902.tgz) = 1d27c8da0371ebedf90a1a7e07f765c42b3947b79eaa140d4412fbd7b8b038fb
-SIZE (Libphk.20080902.tgz) = 20480
diff --git a/devel/libphk/files/patch-phk__expr.c b/devel/libphk/files/patch-phk__expr.c
deleted file mode 100644
index 1ee09bae095b..000000000000
--- a/devel/libphk/files/patch-phk__expr.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- phk_expr.c.orig	2008-04-29 18:50:56 UTC
-+++ phk_expr.c
-@@ -52,8 +52,8 @@ dbg(struct e *e, const char *w)
- {
- 	if (1)
- 		return;
--	fprintf(stderr, "<%*.*s|", e->p - e->b, e->p - e->b, e->b);
--	fprintf(stderr, "%*.*s> %s\n", e->e - e->p, e->e - e->p, e->p, w);
-+	fprintf(stderr, "<%*.*s|", (int)(e->p - e->b), (int)(e->p - e->b), e->b);
-+	fprintf(stderr, "%*.*s> %s\n", (int)(e->e - e->p), (int)(e->e - e->p), e->p, w);
- }
- 
- /*
-@@ -289,7 +289,7 @@ phk_expr(const char *p, char **errs)
- 	if (e->err != NULL) {
- 		if (errs != NULL)
- 			asprintf(errs, "Expression error:\n%s\n%*.*s^ %s\n",
--			    e->b, e->p - e->b, e->p - e->b, "", e->err);
-+			    e->b, (int)(e->p - e->b), (int)(e->p - e->b), "", e->err);
- 		return (NAN);
- 	}
- 	return (v);
diff --git a/devel/libphk/files/patch-test_argv_Makefile b/devel/libphk/files/patch-test_argv_Makefile
deleted file mode 100644
index 81e89aab7d36..000000000000
--- a/devel/libphk/files/patch-test_argv_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/argv/Makefile.orig	2006-09-09 11:49:52 UTC
-+++ test/argv/Makefile
-@@ -4,7 +4,7 @@ PROG	+=	test_argv
- CFLAGS	+=	-I${.CURDIR}/../..
- LDADD	+=	 -L../.. -lphk
- 
--NO_MAN	=	sorry
-+MAN	=
- 
- .include <bsd.prog.mk>
- 
diff --git a/devel/libphk/files/patch-test_expr_Makefile b/devel/libphk/files/patch-test_expr_Makefile
deleted file mode 100644
index e3ce274722d3..000000000000
--- a/devel/libphk/files/patch-test_expr_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/expr/Makefile.orig	2008-04-29 16:35:38 UTC
-+++ test/expr/Makefile
-@@ -5,7 +5,7 @@ CFLAGS	+=	-I${.CURDIR}/../..
- LDADD	+=	 -L../.. -lphk -lm
- DPADD	+=	../../libphk.a
- 
--NO_MAN	=	sorry
-+MAN	=
- 
- .include <bsd.prog.mk>
- 
diff --git a/devel/libphk/pkg-descr b/devel/libphk/pkg-descr
deleted file mode 100644
index 28b58beb900e..000000000000
--- a/devel/libphk/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-PHK's utilities functions.
diff --git a/devel/libphk/pkg-plist b/devel/libphk/pkg-plist
deleted file mode 100644
index 980e5c1740a1..000000000000
--- a/devel/libphk/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-include/phk_argv.h
-include/phk_binheap.h
-include/phk_expr.h
-include/phk_ihex.h
-include/phk_tcp.h
-include/phk_obj.h
-include/phk_event.h
-include/phk_modbus.h
-include/phk_lineup.h
-lib/libphk.a
-%%PROFILE%%lib/libphk_p.a
-share/man/man3/libphk.3.gz
-share/man/man3/phk_argv.3.gz
-share/man/man3/phk_binheap.3.gz