git: f7b50f6170a7 - main - graphics/a2png: robust install

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 11 Jan 2024 17:08:06 UTC
The branch main has been updated by dinoex:

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

commit f7b50f6170a7744ab50490940032426ea92390bd
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-11 17:08:00 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-11 17:08:00 +0000

    graphics/a2png: robust install
---
 graphics/a2png/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/a2png/Makefile b/graphics/a2png/Makefile
index 33ea7a5be2e1..eb18114c3713 100644
--- a/graphics/a2png/Makefile
+++ b/graphics/a2png/Makefile
@@ -23,7 +23,7 @@ PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 FONTROOTDIR?=	${LOCALBASE}/share/fonts
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>