git: 65ccce03b91f - main - www/apt-cacher-ng: Remove commented directives

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 17 Oct 2023 13:40:42 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65ccce03b91f2b5cd971485fbdc99b5b9a7d237c

commit 65ccce03b91f2b5cd971485fbdc99b5b9a7d237c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-16 14:18:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-17 13:40:37 +0000

    www/apt-cacher-ng: Remove commented directives
    
    - Pet portclippy
    - Pet portlint
    
    Approved by:    portmgr (blanket)
---
 www/apt-cacher-ng/Makefile | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/www/apt-cacher-ng/Makefile b/www/apt-cacher-ng/Makefile
index d1f3ba749d8a..fb916f273e0b 100644
--- a/www/apt-cacher-ng/Makefile
+++ b/www/apt-cacher-ng/Makefile
@@ -2,7 +2,7 @@ PORTNAME=	apt-cacher-ng
 PORTVERSION=	3.2.1
 CATEGORIES=	www
 MASTER_SITES=	DEBIAN_POOL/apt-cacher-ng
-DISTFILES=	${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
+DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
 
 MAINTAINER=	keve@keve.hu
 COMMENT=	Specialized http/s proxy for caching software distribution sites
@@ -24,29 +24,23 @@ CMAKE_ARGS=	-DLIBDIR:PATH=${DATADIR} \
 SUB_FILES=	backends_debian backends_freebsd backends_ubuntu \
 		freebsd_mirrors pkg-message
 
+WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
 OPTIONS_DEFINE=	DOCS SSL FUSE
 OPTIONS_DEFAULT=	SSL
 OPTIONS_SUB=	yes
 
+FUSE_DESC=	FUSE support for interfacing with the proxy via acngfs
 SSL_DESC=	SSL support to allow proxying https sites
 
-SSL_CMAKE_BOOL=	USE_SSL
+FUSE_USES=		fuse pkgconfig
+FUSE_CMAKE_BOOL=	USE_FUSE
 SSL_USES=	ssl
+SSL_CMAKE_BOOL=	USE_SSL
 SSL_CMAKE_ON=	-Dopenssl_FOUND=1 \
 		-Dopenssl_CFLAGS="-I ${OPENSSLINC}" \
 		-Dopenssl_LDFLAGS="-L ${OPENSSLLIB} -lssl -lcrypto"
 
-FUSE_DESC=	FUSE support for interfacing with the proxy via acngfs
-
-FUSE_CMAKE_BOOL=	USE_FUSE
-FUSE_USES=		fuse pkgconfig
-
-.include <bsd.port.pre.mk>
-
-#.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
-#CXXFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
-#.endif
-
 post-install:
 	${MV} ${STAGEDIR}${ETCDIR}/acng.conf ${STAGEDIR}${ETCDIR}/acng.conf.sample
 	${MV} ${STAGEDIR}${ETCDIR}/security.conf ${STAGEDIR}${ETCDIR}/security.conf.sample
@@ -58,4 +52,4 @@ post-install:
 	${MKDIR} ${STAGEDIR}/var/cache/apt-cacher-ng \
 		${STAGEDIR}/var/log/apt-cacher-ng
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>