mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- Swith to options helpers
This commit is contained in:
parent
a9567d9178
commit
52cbe02413
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394879
@ -13,30 +13,16 @@ COMMENT= Tool to chart control flow within the C program
|
||||
|
||||
CONFLICTS= bsdcflow-[0-9]* cflow-[0-9]*
|
||||
|
||||
USES= tar:bzip2 gmake
|
||||
USES= gmake tar:bzip2
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INFO= cflow
|
||||
|
||||
PLIST_FILES= bin/cflow
|
||||
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.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
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}"
|
||||
NLS_CONFIGURE_OFF= --disable-nls
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
9
devel/gnucflow/pkg-plist
Normal file
9
devel/gnucflow/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/cflow
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/ga/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/vi/LC_MESSAGES/cflow.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/cflow.mo
|
Loading…
Reference in New Issue
Block a user