diff options
-rw-r--r-- | devel/gnucflow/Makefile | 22 | ||||
-rw-r--r-- | devel/gnucflow/distinfo | 6 |
2 files changed, 20 insertions, 8 deletions
diff --git a/devel/gnucflow/Makefile b/devel/gnucflow/Makefile index cb05446d2058..cb70fafd02ed 100644 --- a/devel/gnucflow/Makefile +++ b/devel/gnucflow/Makefile @@ -6,9 +6,10 @@ # PORTNAME= gnucflow -PORTVERSION= 1.2 +PORTVERSION= 1.3 CATEGORIES= devel -MASTER_SITES= ftp://download.gnu.org.ua/pub/release/cflow/ +MASTER_SITES= ftp://download.gnu.org.ua/pub/release/cflow/ \ + http://mirror.amdmi3.ru/distfiles/ DISTNAME= cflow-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org @@ -19,14 +20,25 @@ CONFLICTS= cflow-[0-9]* USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes +MAKE_JOBS_SAFE= yes INFO= cflow -PLIST_FILES= bin/cflow \ - share/locale/da/LC_MESSAGES/cflow.mo \ +PLIST_FILES= bin/cflow + + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" +PLIST_FILES+= share/locale/da/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/vi/LC_MESSAGES/cflow.mo \ + share/locale/zh_CN/LC_MESSAGES/cflow.mo +.else +CONFIGURE_ARGS+=--disable-nls +.endif .include <bsd.port.mk> diff --git a/devel/gnucflow/distinfo b/devel/gnucflow/distinfo index b0bc8e0cbff4..d4ae2a4da46d 100644 --- a/devel/gnucflow/distinfo +++ b/devel/gnucflow/distinfo @@ -1,3 +1,3 @@ -MD5 (cflow-1.2.tar.bz2) = 860fc15fe9e9aaf42930af5191c518a7 -SHA256 (cflow-1.2.tar.bz2) = db30aa2cb1a2c9f9845b424d284c5b93928a1100545e64761d22a6177a58852c -SIZE (cflow-1.2.tar.bz2) = 517457 +MD5 (cflow-1.3.tar.bz2) = b3fe4bfba9d648447065b3c2d73ae66c +SHA256 (cflow-1.3.tar.bz2) = d3da87a3d50071b4427017c2224ecd032b478eabc8a58fef2f3407af257b95da +SIZE (cflow-1.3.tar.bz2) = 601314 |