Commit 06fd12be authored by Rene Ladan's avatar Rene Ladan
Browse files

devel/libphk: Remove expired port

2024-04-30 devel/libphk: Superseded by various other projects
parent 7a672ec6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -1365,7 +1365,6 @@
    SUBDIR += libpeas
    SUBDIR += libpff
    SUBDIR += libphdi
    SUBDIR += libphk
    SUBDIR += libphonenumber
    SUBDIR += libplist
    SUBDIR += libpo6

devel/libphk/Makefile

deleted100644 → 0
+0 −45
Original line number Diff line number Diff line
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>

devel/libphk/distinfo

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
SHA256 (Libphk.20080902.tgz) = 1d27c8da0371ebedf90a1a7e07f765c42b3947b79eaa140d4412fbd7b8b038fb
SIZE (Libphk.20080902.tgz) = 20480
+0 −22
Original line number Diff line number Diff line
--- 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);
Loading