- Support INFO

- Support DATADIR

PR:		ports/64853
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-03-28 16:26:57 +00:00
parent f4c577e0fb
commit 6d5018c2da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105526
4 changed files with 36 additions and 46 deletions

View File

@ -17,28 +17,26 @@ COMMENT= A parser generator from FSF, (mostly) compatible with Yacc
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
CONFLICTS= bison-[0-9]+
.if !defined(WITHOUT_NLS)
PLIST_SUB= NLS=""
.else
PLIST_SUB= NLS="@comment "
.endif
USE_BZIP2= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
MAN1= bison.1
INFO= bison
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.ifdef USE_BISON
.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.

View File

@ -1,14 +1,11 @@
@comment $FreeBSD$
bin/bison
@unexec install-info --delete %D/info/bison.info %D/info/dir
info/bison.info
@exec install-info %D/info/bison.info %D/info/dir
share/bison/c.m4
share/bison/glr.c
share/bison/lalr1.cc
share/bison/m4sugar/m4sugar.m4
share/bison/m4sugar/version.m4
share/bison/yacc.c
%%DATADIR%%/c.m4
%%DATADIR%%/glr.c
%%DATADIR%%/lalr1.cc
%%DATADIR%%/m4sugar/m4sugar.m4
%%DATADIR%%/m4sugar/version.m4
%%DATADIR%%/yacc.c
%%NLS%%share/locale/de/LC_MESSAGES/bison.mo
%%NLS%%share/locale/es/LC_MESSAGES/bison.mo
%%NLS%%share/locale/et/LC_MESSAGES/bison.mo
@ -22,5 +19,5 @@ share/bison/yacc.c
%%NLS%%share/locale/ru/LC_MESSAGES/bison.mo
%%NLS%%share/locale/sv/LC_MESSAGES/bison.mo
%%NLS%%share/locale/tr/LC_MESSAGES/bison.mo
@dirrm share/bison/m4sugar
@dirrm share/bison
@dirrm %%DATADIR%%/m4sugar
@dirrm %%DATADIR%%

View File

@ -17,28 +17,26 @@ COMMENT= A parser generator from FSF, (mostly) compatible with Yacc
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
CONFLICTS= bison-[0-9]+
.if !defined(WITHOUT_NLS)
PLIST_SUB= NLS=""
.else
PLIST_SUB= NLS="@comment "
.endif
USE_BZIP2= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
.endif
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
MAN1= bison.1
INFO= bison
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.ifdef USE_BISON
.error You have `USE_BISON' variable defined either in environment or in make(1) arguments. Please undefine and try again.

View File

@ -1,14 +1,11 @@
@comment $FreeBSD$
bin/bison
@unexec install-info --delete %D/info/bison.info %D/info/dir
info/bison.info
@exec install-info %D/info/bison.info %D/info/dir
share/bison/c.m4
share/bison/glr.c
share/bison/lalr1.cc
share/bison/m4sugar/m4sugar.m4
share/bison/m4sugar/version.m4
share/bison/yacc.c
%%DATADIR%%/c.m4
%%DATADIR%%/glr.c
%%DATADIR%%/lalr1.cc
%%DATADIR%%/m4sugar/m4sugar.m4
%%DATADIR%%/m4sugar/version.m4
%%DATADIR%%/yacc.c
%%NLS%%share/locale/de/LC_MESSAGES/bison.mo
%%NLS%%share/locale/es/LC_MESSAGES/bison.mo
%%NLS%%share/locale/et/LC_MESSAGES/bison.mo
@ -22,5 +19,5 @@ share/bison/yacc.c
%%NLS%%share/locale/ru/LC_MESSAGES/bison.mo
%%NLS%%share/locale/sv/LC_MESSAGES/bison.mo
%%NLS%%share/locale/tr/LC_MESSAGES/bison.mo
@dirrm share/bison/m4sugar
@dirrm share/bison
@dirrm %%DATADIR%%/m4sugar
@dirrm %%DATADIR%%