diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-29 13:03:45 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-29 13:03:45 +0000 |
commit | 7cdc9530bd6ca2d132bfed22d56f9876045b794b (patch) | |
tree | 7eb269bdc6d54f80a3ec85798dbaefda250e3605 /devel/cppi | |
parent | 8d1c2694b33d8b3ca7597d54db0b5e0a6201b94d (diff) | |
download | ports-7cdc9530bd6ca2d132bfed22d56f9876045b794b.tar.gz ports-7cdc9530bd6ca2d132bfed22d56f9876045b794b.zip |
Notes
Diffstat (limited to 'devel/cppi')
-rw-r--r-- | devel/cppi/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/devel/cppi/Makefile b/devel/cppi/Makefile index 4a5bd3971064..75dca8322d15 100644 --- a/devel/cppi/Makefile +++ b/devel/cppi/Makefile @@ -3,28 +3,23 @@ PORTNAME= cppi PORTVERSION= 1.18 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= GNU MAINTAINER= johans@FreeBSD.org -COMMENT= A tool to indent the C preprocessor directives +COMMENT= Tool to indent the C preprocessor directives USE_XZ= yes -USES= gettext charsetfix +USES= charsetfix gmake # gmake is needed for -jX builds GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -MAN1= cppi.1 +MAN1= ${PORTNAME}.1 -.include <bsd.port.options.mk> +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls post-patch: @${REINPLACE_CMD} -e 's:(libdir)/lib:(libdir):' ${WRKSRC}/Makefile.in |