1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/gnucflow/Makefile
Baptiste Daroussin 9ff06b3cbf Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework
2013-04-29 22:27:05 +00:00

43 lines
1020 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
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
INFO= cflow
PLIST_FILES= bin/cflow
.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>