090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
38 lines
818 B
Makefile
38 lines
818 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: help2man
|
|
# Date created: Jan 30, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= help2man
|
|
PORTVERSION= 1.36.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= Automatically generating simple manual pages from program output
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
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
|
|
|
|
MANLANG= "" pl fr fi sv
|
|
PLIST_SUB+= NLS=""
|
|
USE_GETTEXT= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_PERL5= yes
|
|
|
|
MAN1= help2man.1
|
|
INFO= help2man
|
|
|
|
.include <bsd.port.mk>
|