aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2020-01-19 19:10:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2020-01-19 19:10:02 +0800
commitf675ac4c3f24f2eb0b23a11dcaf68115d84daab5 (patch)
treed2ef6e662742b5f6156a4b04b676cfe61fe99fee
parent22fd42475b8c0c5a4e3fd3514903b402dad16142 (diff)
downloadfreebsd-ports-gnome-f675ac4c3f24f2eb0b23a11dcaf68115d84daab5.tar.gz
freebsd-ports-gnome-f675ac4c3f24f2eb0b23a11dcaf68115d84daab5.tar.zst
freebsd-ports-gnome-f675ac4c3f24f2eb0b23a11dcaf68115d84daab5.zip
- Cosmetic change
-rw-r--r--misc/help2man/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile
index 60eddd2fe1f6..9e669a9ef96b 100644
--- a/misc/help2man/Makefile
+++ b/misc/help2man/Makefile
@@ -12,15 +12,15 @@ COMMENT= Automatically generating simple manual pages from program output
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-OPTIONS_DEFINE= NLS
-
USES= gmake localbase perl5 tar:xz
GNU_CONFIGURE= yes
-INFO= ${PORTNAME}
-PLIST_FILES= bin/${PORTNAME} \
- man/man1/${PORTNAME}.1.gz
+INFO= help2man
+PLIST_FILES= bin/help2man \
+ man/man1/help2man.1.gz
+
+OPTIONS_DEFINE= NLS
NLS_BUILD_DEPENDS= p5-Locale-gettext>=0:devel/p5-Locale-gettext
NLS_CONFIGURE_ENABLE= nls
@@ -30,15 +30,15 @@ NLS_USES= gettext
NLS_VARS= CONFIGURE_FAIL_MESSAGE="Rebuild lang/${PERL_PORT} and devel/p5-Locale-gettext manually before contacting maintainer."
.for lang in de es fr pl pt_BR sv ta uk zh_CN
-NLS_INFO+= ${PORTNAME}-${lang}
+NLS_INFO+= help2man-${lang}
.endfor
.for lang in da de el eo es fi fr hr hu it ja nb pl pt_BR ru sr sv ta uk vi zh_CN
-NLS_PLIST_FILES+= man/${lang}/man1/${PORTNAME}.1.gz \
- share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
+NLS_PLIST_FILES+= man/${lang}/man1/help2man.1.gz \
+ share/locale/${lang}/LC_MESSAGES/help2man.mo
.endfor
post-patch:
- @${REINPLACE_CMD} -e '/^pkglibdir/ s|/${PORTNAME}$$||' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^pkglibdir/ s|/help2man$$||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>