git: 810feaea483b - 2023Q1 - sysutils/apt-mirror-devel: really fix staging

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 22:09:43 UTC
The branch 2023Q1 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=810feaea483b2457eb0283d7ed1e9381ac79923f

commit 810feaea483b2457eb0283d7ed1e9381ac79923f
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-01-24 22:08:18 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-01-24 22:09:39 +0000

    sysutils/apt-mirror-devel: really fix staging
    
    (cherry picked from commit 58e390ad9d86b9fb8741ae3c301c129813a31a7f)
---
 sysutils/apt-mirror-devel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysutils/apt-mirror-devel/Makefile b/sysutils/apt-mirror-devel/Makefile
index 866b77667de4..54c8397ce7f4 100644
--- a/sysutils/apt-mirror-devel/Makefile
+++ b/sysutils/apt-mirror-devel/Makefile
@@ -22,6 +22,7 @@ NO_ARCH=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
-	@${CP} ${WRKSRC}/mirror.list ${WRKSRC}/mirror.list.sample
+	@${MKDIR} ${STAGEDIR}/etc/apt
+	@${CP} ${WRKSRC}/mirror.list ${STAGEDIR}/etc/apt/mirror.list.sample
 
 .include <bsd.port.mk>