[Midnightbsd-cvs] mports [15561] trunk/misc/help2man/Makefile: 1.43
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 7 13:59:43 EST 2013
Revision: 15561
http://svnweb.midnightbsd.org/mports/?rev=15561
Author: laffer1
Date: 2013-11-07 13:59:42 -0500 (Thu, 07 Nov 2013)
Log Message:
-----------
1.43
Modified Paths:
--------------
trunk/misc/help2man/Makefile
Modified: trunk/misc/help2man/Makefile
===================================================================
--- trunk/misc/help2man/Makefile 2013-11-07 18:57:15 UTC (rev 15560)
+++ trunk/misc/help2man/Makefile 2013-11-07 18:59:42 UTC (rev 15561)
@@ -2,7 +2,7 @@
PORTNAME= help2man
PORTVERSION= 1.43.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= GNU/${PORTNAME}
@@ -11,6 +11,8 @@
LICENSE= gpl3
+OPTIONS_DEFINE= NLS
+
CFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USES= gmake
@@ -22,6 +24,7 @@
.include <bsd.mport.options.mk>
+.if ${PORT_OPTIONS:MNLS}
BUILD_DEPENDS+= p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
RUN_DEPENDS+= p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
@@ -39,6 +42,9 @@
.for lang in ${LANGS}
PLIST_DIRSTRY+= man/${lang}/man1 man/${lang}
.endfor
+.else
+CONFIGURE_ARGS= --disable-nls
+.endif
post-patch:
@${REINPLACE_CMD} -e '/^pkglibdir/ s|/${PORTNAME}$$||' ${WRKSRC}/Makefile.in
More information about the Midnightbsd-cvs
mailing list