freebsd-ports/devel/cppi/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

32 lines
586 B
Makefile

# $FreeBSD$
PORTNAME= cppi
PORTVERSION= 1.18
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= johans@FreeBSD.org
COMMENT= A tool to indent the C preprocessor directives
USE_XZ= yes
USES= gettext
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
MAN1= cppi.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's:(libdir)/lib:(libdir):' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>