xref: /mports/misc/help2man/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	help2man
2PORTVERSION=	1.49.3
3CATEGORIES=	misc
4MASTER_SITES=	GNU
5
6MAINTAINER=	ports@MidnightBSD.org
7COMMENT=	Automatically generating simple manual pages from program output
8WWW=		https://www.gnu.org/software/help2man/
9
10LICENSE=	gpl3
11LICENSE_FILE=	${WRKSRC}/COPYING
12
13USES=		gmake localbase perl5 tar:xz
14
15BUILD_DEPENDS+=	indexinfo:print/indexinfo
16
17GNU_CONFIGURE=	yes
18
19INFO=		help2man
20PLIST_FILES=	bin/help2man \
21		share/man/man1/help2man.1.gz
22
23OPTIONS_DEFINE=	NLS
24
25NLS_BUILD_DEPENDS=	p5-Locale-gettext>=0:devel/p5-Locale-gettext
26NLS_CONFIGURE_ENABLE=	nls
27NLS_PLIST_FILES=	lib/help2man/bindtextdomain.so
28NLS_RUN_DEPENDS=	p5-Locale-gettext>=0:devel/p5-Locale-gettext
29NLS_USES=		gettext
30NLS_VARS=		CONFIGURE_FAIL_MESSAGE="Rebuild lang/${PERL_PORT} and devel/p5-Locale-gettext manually before contacting maintainer."
31NLS_VARS_OFF=		NO_ARCH=yes
32
33.for lang in de es fr pl pt_BR ro sr sv uk zh_CN
34NLS_INFO+=		help2man-${lang}
35.endfor
36
37.for lang in da de el eo es fi fr hr hu it ja ko nb pl pt_BR ro ru sr sv ta uk vi zh_CN
38NLS_PLIST_FILES+=	share/man/${lang}/man1/help2man.1.gz \
39			share/locale/${lang}/LC_MESSAGES/help2man.mo
40.endfor
41
42.include <bsd.port.mk>
43

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026