1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/help2man/Makefile
Sunpoet Po-Chuan Hsieh efbe18432e - Update to 1.40.2
Changes:
- Remove a superfluous period from texinfo doc.
- Change footnote about supported languages to a simple paragraph.
- Update Italian translation (thanks to Sergio Zanchetta).
- Update Ukrainian translation (thanks to Yuri Chornoivan).
- Update French translation (thanks to David Prevot).
- Update Japanese translation (thanks to Yasumichi Akahoshi).
- Update Russian translation (thanks to Yuri Kozlov).
- Update Polish translation (thanks to Jakub Bogusz).
2011-06-06 19:32:45 +00:00

53 lines
1.2 KiB
Makefile

# Ports collection makefile for: help2man
# Date created: Jan 30, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= help2man
PORTVERSION= 1.40.2
CATEGORIES= misc
MASTER_SITES= GNU/${PORTNAME}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Automatically generating simple manual pages from program output
LICENSE= GPLv3
CFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5= yes
INFO= ${PORTNAME}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
.else
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
CFLAGS+= -lintl
MANLANG= "" ${LANGS} ${LANGS_MTREE}
USE_GETTEXT= yes
LANGS= de el eo fi fr it pl pt_BR ru sv uk vi
LANGS_MTREE= ja # languages which already exist in BSD.local.dist
PLIST_FILES+= lib/bindtextdomain.so
.for lang in ${LANGS} ${LANGS_MTREE}
PLIST_FILES+= share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
.endfor
.for lang in ${LANGS}
PLIST_DIRSTRY+= man/${lang}/man1 man/${lang}
.endfor
.endif
post-patch:
@${REINPLACE_CMD} -e '/^pkglibdir/ s|/${PORTNAME}$$||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>