diff options
author | krion <krion@FreeBSD.org> | 2004-03-29 00:26:57 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-03-29 00:26:57 +0800 |
commit | 87eae12a4a0344676a55be2e8d49d0be22f54430 (patch) | |
tree | 733f39b4f0dc9dcc56ac973c2439027c43fb2f73 /devel/bison | |
parent | ff01f37f3b8d6ad2755ba53724f7cadf2df4025b (diff) | |
download | freebsd-ports-gnome-87eae12a4a0344676a55be2e8d49d0be22f54430.tar.gz freebsd-ports-gnome-87eae12a4a0344676a55be2e8d49d0be22f54430.tar.zst freebsd-ports-gnome-87eae12a4a0344676a55be2e8d49d0be22f54430.zip |
- Support INFO
- Support DATADIR
PR: ports/64853
Submitted by: Ports Fury
Diffstat (limited to 'devel/bison')
-rw-r--r-- | devel/bison/Makefile | 22 | ||||
-rw-r--r-- | devel/bison/pkg-plist | 19 |
2 files changed, 18 insertions, 23 deletions
diff --git a/devel/bison/Makefile b/devel/bison/Makefile index 29180a35c6c1..1d8b1855d0c2 100644 --- a/devel/bison/Makefile +++ b/devel/bison/Makefile @@ -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 +CONFLICTS= bison-[0-9]+ 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. diff --git a/devel/bison/pkg-plist b/devel/bison/pkg-plist index 53c5d22a1325..f1d3f5a225f8 100644 --- a/devel/bison/pkg-plist +++ b/devel/bison/pkg-plist @@ -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%% |