git: 0d5cdf4e4c3c - main - net/eternalterminal: Don't install extra files

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 12 Feb 2024 18:58:00 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d5cdf4e4c3c96c0defe60e73bc9c19fd965781d

commit 0d5cdf4e4c3c96c0defe60e73bc9c19fd965781d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-02-12 18:51:37 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-02-12 18:57:46 +0000

    net/eternalterminal: Don't install extra files
    
    Use 'do-install' target to avoid install extra httplib files.
    
    Fixes:          1cf2efcfbb - Update to 6.2.8
---
 net/eternalterminal/Makefile  | 8 +++++++-
 net/eternalterminal/distinfo  | 2 +-
 net/eternalterminal/pkg-plist | 5 -----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/net/eternalterminal/Makefile b/net/eternalterminal/Makefile
index 8a9082e5ecc5..b425db45c998 100644
--- a/net/eternalterminal/Makefile
+++ b/net/eternalterminal/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	eternalterminal
 DISTVERSIONPREFIX=	et-v
 DISTVERSION=	6.2.8
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -27,7 +28,12 @@ CONFLICTS_INSTALL=	linux-enemyterritory # bin/et
 post-patch:
 	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/rc.d/etserver
 
-post-install:
+# Install manually to avoid extra files: https://github.com/MisterTea/EternalTerminal/issues/601
+do-install:
+.for exec in et etserver etterminal htm htmd
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${exec} \
+			${STAGEDIR}${PREFIX}/bin
+.endfor
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/etserver
 	${INSTALL_DATA} ${WRKSRC}/etc/et.cfg \
 		${STAGEDIR}${PREFIX}/etc/etserver/et.cfg.sample
diff --git a/net/eternalterminal/distinfo b/net/eternalterminal/distinfo
index d2d2cdd5f837..306679235425 100644
--- a/net/eternalterminal/distinfo
+++ b/net/eternalterminal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707749810
+TIMESTAMP = 1707758298
 SHA256 (MisterTea-EternalTerminal-et-v6.2.8_GH0.tar.gz) = 6c1a23a2fe9229a882622378126d4482ae67328a5ca8ef660f14034401711764
 SIZE (MisterTea-EternalTerminal-et-v6.2.8_GH0.tar.gz) = 23387724
diff --git a/net/eternalterminal/pkg-plist b/net/eternalterminal/pkg-plist
index 85dd0afa6e68..1bca03d07a9a 100644
--- a/net/eternalterminal/pkg-plist
+++ b/net/eternalterminal/pkg-plist
@@ -5,8 +5,3 @@ bin/htm
 bin/htmd
 @sample etc/etserver/et.cfg.sample
 etc/rc.d/etserver
-include/httplib.h
-lib/cmake/httplib/FindBrotli.cmake
-lib/cmake/httplib/httplibConfig.cmake
-lib/cmake/httplib/httplibConfigVersion.cmake
-lib/cmake/httplib/httplibTargets.cmake