1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/misc/help2man/Makefile
Sunpoet Po-Chuan Hsieh ebaa61e253 - Update to 1.47.4
- Use USES=localbase
- Remove the 3-year-old CONFIGURE_FAIL_MESSAGE of a 3.5-year-old infrastructure change
- Update WWW: use https://


1.47:
- Set document language for localised info pages.
- Add French and Spanish translation of info documentation.
- Add Spanish and Danish translations.
- Add support for reproducible builds by using $SOURCE_DATE_EPOCH as the date
  for the generated pages.

1.46:
- Add German, Ukranian and Polish translations of info documentation.
- Add Hungarian and Norwegian Bokmaal translations.

1.45:
- Add recognition of explicit section headings indicated with *Heading*.
- Improve handling of tagged paragraphs when body is on a following line.
- Add escapes to adjust spacing of italic text at roman/italic boundaries.

1.44:
- Parse option lines in the header section of include files using shell word
  splitting which allows quoting of multiple words and backslash-escaping of
  spaces.
2016-12-09 07:51:54 +00:00

43 lines
1.0 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= help2man
PORTVERSION= 1.47.4
CATEGORIES= misc
MASTER_SITES= GNU/${PORTNAME}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Automatically generating simple manual pages from program output
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= NLS
GNU_CONFIGURE= yes
USES= gmake localbase perl5 tar:xz
INFO= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
NLS_BUILD_DEPENDS= p5-Locale-gettext>=0:devel/p5-Locale-gettext
NLS_CONFIGURE_ENABLE= nls
NLS_PLIST_FILES= lib/bindtextdomain.so
NLS_RUN_DEPENDS= p5-Locale-gettext>=0:devel/p5-Locale-gettext
NLS_USES= gettext
.for lang in de es fr pl uk zh_CN
NLS_INFO+= ${PORTNAME}-${lang}
.endfor
.for lang in da de el eo es fi fr hr hu it ja nb pl pt_BR ru sr sv uk vi zh_CN
NLS_PLIST_FILES+= man/${lang}/man1/${PORTNAME}.1.gz \
share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
post-patch:
@${REINPLACE_CMD} -e '/^pkglibdir/ s|/${PORTNAME}$$||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>