git: 9915c8755e0c - main - converters/xml2c: Remove unnecessary substitution

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:58:00 UTC
The branch main has been updated by sunpoet:

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

commit 9915c8755e0c955b3606fae00a1d3ae4a10e1253
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:18:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:38 +0000

    converters/xml2c: Remove unnecessary substitution
---
 converters/xml2c/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/converters/xml2c/Makefile b/converters/xml2c/Makefile
index 3035325b017b..cbd9e1ccd8c7 100644
--- a/converters/xml2c/Makefile
+++ b/converters/xml2c/Makefile
@@ -3,7 +3,7 @@ PORTVERSION=	20151019
 PORTREVISION=	2
 CATEGORIES=	converters
 MASTER_SITES=	https://acme.com/software/xml2c/
-DISTNAME=	${PORTNAME}_19Oct2015
+DISTNAME=	xml2c_19Oct2015
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Convert an XML file into C struct/string declarations
@@ -20,7 +20,7 @@ PLIST_FILES=	bin/xml2c \
 		share/man/man1/xml2c.1.gz
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${PREFIX}/share/man/man1/xml2c.1
+	${INSTALL_PROGRAM} ${WRKSRC}/xml2c ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/xml2c.1 ${STAGEDIR}${PREFIX}/share/man/man1/
 
 .include <bsd.port.mk>