git: 6b2ed15fd6f5 - main - devel/libs11n: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 13 May 2023 14:24:50 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b2ed15fd6f564ccba7fa484786969318e7b7548

commit 6b2ed15fd6f564ccba7fa484786969318e7b7548
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-12 19:05:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-13 14:24:15 +0000

    devel/libs11n: Unbreak on HEAD
    
    - Pet portclippy
    - Adopt port
---
 devel/libs11n/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile
index 381454909c75..0bc7949e34bb 100644
--- a/devel/libs11n/Makefile
+++ b/devel/libs11n/Makefile
@@ -5,17 +5,20 @@ PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/s11n/s11n/${PORTVERSION}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	C++ library for easily serializing a wide variety of objects
 WWW=		http://s11n.net/
 
 LICENSE=	PD
 
 USES=		uidfix zip
-WRKSRC_SUBDIR=	src
 USE_LDCONFIG=	yes
 
-.if defined(NO_PROFILE)
+WRKSRC_SUBDIR=	src
+
+.include <bsd.port.pre.mk>
+
+.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
 PLIST_SUB+=	PROFILE="@comment "
 .else
 PLIST_SUB+=	PROFILE=""
@@ -34,4 +37,4 @@ pre-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/pod
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/std
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>