1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Convert USE_BZIP2 to USES

- Use OPTIONS_SUB
- Cleanup plist

Approved by:	portmgr blanket
This commit is contained in:
Jason E. Hale 2014-10-11 22:15:53 +00:00
parent a07ecece31
commit 2c04957db1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370675
2 changed files with 3 additions and 12 deletions

View File

@ -10,18 +10,17 @@ MAINTAINER= matt@gsicomp.on.ca
COMMENT= Advanced genealogical system
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= bison iconv
USES= bison iconv tar:bzip2
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.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:

View File

@ -274,11 +274,3 @@ man/man1/llines.1.gz
%%NLS%%share/locale/pl/LC_MESSAGES/lifelines.mo
%%NLS%%share/locale/rw/LC_MESSAGES/lifelines.mo
%%NLS%%share/locale/sv/LC_MESSAGES/lifelines.mo
%%NLS%%@dirrmtry share/locale/el/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/el
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/rw
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%