git: 58e390ad9d86 - main - sysutils/apt-mirror-devel: really fix staging

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=58e390ad9d86b9fb8741ae3c301c129813a31a7f

commit 58e390ad9d86b9fb8741ae3c301c129813a31a7f
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:08:43 +0000

    sysutils/apt-mirror-devel: really fix staging
---
 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>