1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/gnucflow/Makefile

44 lines
1019 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= gnucflow
PORTVERSION= 1.4
CATEGORIES= devel
MASTER_SITES= ftp://download.gnu.org.ua/pub/release/cflow/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= cflow-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tool to chart control flow within the C program
CONFLICTS= bsdcflow-[0-9]* cflow-[0-9]*
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= gmake
INFO= cflow
PLIST_FILES= bin/cflow
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
PLIST_FILES+= share/locale/da/LC_MESSAGES/cflow.mo \
share/locale/fi/LC_MESSAGES/cflow.mo \
share/locale/ga/LC_MESSAGES/cflow.mo \
share/locale/id/LC_MESSAGES/cflow.mo \
share/locale/pl/LC_MESSAGES/cflow.mo \
share/locale/uk/LC_MESSAGES/cflow.mo \
share/locale/vi/LC_MESSAGES/cflow.mo \
share/locale/zh_CN/LC_MESSAGES/cflow.mo
.else
CONFIGURE_ARGS+=--disable-nls
.endif
.include <bsd.port.mk>