diff options
author | Alberto Villa <avilla@FreeBSD.org> | 2010-03-11 08:08:22 +0000 |
---|---|---|
committer | Alberto Villa <avilla@FreeBSD.org> | 2010-03-11 08:08:22 +0000 |
commit | d0c262b0f1c3ec4db2f551220f064e1f41ae1d35 (patch) | |
tree | 594442ee3fbeda8ad2c537cb7ede577933b901c2 /misc/help2man | |
parent | - Upgrade to 0.00006. (diff) |
- Fix `make package` when WITHOUT_NLS is defined.
- Bump PORTREVISION.
- Pass maintainership to submitter.
PR: 144615
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by: tabthorpe (mentor)
Notes
Notes:
svn path=/head/; revision=250886
Diffstat (limited to 'misc/help2man')
-rw-r--r-- | misc/help2man/Makefile | 15 | ||||
-rw-r--r-- | misc/help2man/pkg-plist | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile index 6c866a82f859..26f816b0df9f 100644 --- a/misc/help2man/Makefile +++ b/misc/help2man/Makefile @@ -8,34 +8,35 @@ PORTNAME= help2man PORTVERSION= 1.37.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@sunpoet.net 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 +CFLAGS+= -lintl +INSTALL_TARGET= install install_l10n MANLANG= "" de fi fr pl pt_BR sv PLIST_SUB+= NLS="" USE_GETTEXT= yes -INSTALL_TARGET= install install_l10n .else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " +CONFIGURE_ARGS+=--disable-nls INSTALL_TARGET= install +PLIST_SUB+= NLS="@comment " .endif +CFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes -CFLAGS+= -L${LOCALBASE}/lib -lintl USE_GMAKE= yes USE_PERL5= yes -MAN1= help2man.1 INFO= help2man +MAN1= help2man.1 .include <bsd.port.mk> diff --git a/misc/help2man/pkg-plist b/misc/help2man/pkg-plist index f09f2332173b..5e98c199301e 100644 --- a/misc/help2man/pkg-plist +++ b/misc/help2man/pkg-plist @@ -1,5 +1,5 @@ bin/help2man -lib/bindtextdomain.so +%%NLS%%lib/bindtextdomain.so %%NLS%%share/locale/de/LC_MESSAGES/help2man.mo %%NLS%%share/locale/fi/LC_MESSAGES/help2man.mo %%NLS%%share/locale/fr/LC_MESSAGES/help2man.mo |