--- /root/bison/Makefile Fri Feb 21 02:43:42 2003 +++ /root/bison/Makefile Sun Mar 2 02:04:09 2003 @@ -16,12 +16,20 @@ COMMENT= A parser generator from FSF, (mostly) compatible with Yacc BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 +.if !defined(WITHOUT_NLS) LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext +PLIST_SUB= NLS="" +.else +PLIST_SUB= NLS="@comment " +.endif RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4 USE_BZIP2= yes 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" --- /root/bison/pkg-plist Thu Oct 24 17:30:07 2002 +++ /root/bison/pkg-plist Sun Mar 2 02:03:13 2003 @@ -9,18 +9,18 @@ share/bison/m4sugar/m4sugar.m4 share/bison/m4sugar/version.m4 share/bison/yacc.c -share/locale/de/LC_MESSAGES/bison.mo -share/locale/es/LC_MESSAGES/bison.mo -share/locale/et/LC_MESSAGES/bison.mo -share/locale/fr/LC_MESSAGES/bison.mo -share/locale/hr/LC_MESSAGES/bison.mo -share/locale/id/LC_MESSAGES/bison.mo -share/locale/it/LC_MESSAGES/bison.mo -share/locale/ja/LC_MESSAGES/bison.mo -share/locale/nl/LC_MESSAGES/bison.mo -share/locale/pt_BR/LC_MESSAGES/bison.mo -share/locale/ru/LC_MESSAGES/bison.mo -share/locale/sv/LC_MESSAGES/bison.mo -share/locale/tr/LC_MESSAGES/bison.mo +%%NLS%%share/locale/de/LC_MESSAGES/bison.mo +%%NLS%%share/locale/es/LC_MESSAGES/bison.mo +%%NLS%%share/locale/et/LC_MESSAGES/bison.mo +%%NLS%%share/locale/fr/LC_MESSAGES/bison.mo +%%NLS%%share/locale/hr/LC_MESSAGES/bison.mo +%%NLS%%share/locale/id/LC_MESSAGES/bison.mo +%%NLS%%share/locale/it/LC_MESSAGES/bison.mo +%%NLS%%share/locale/ja/LC_MESSAGES/bison.mo +%%NLS%%share/locale/nl/LC_MESSAGES/bison.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison.mo +%%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