1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

OPTIONify

PR:		ports/99510
Submitted by:	Arseny Nasokin <tarc@tarc.po.cs.msu.su>
Reviewed by:	maintainer
This commit is contained in:
Ion-Mihai Tetcu 2006-07-07 19:49:22 +00:00
parent 6c999b4403
commit e46027bc6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167159
2 changed files with 10 additions and 2 deletions

View File

@ -24,6 +24,10 @@ USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
GNU_CONFIGURE= yes
OPTIONS= NLS "Native Language Support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
@ -40,4 +44,4 @@ post-extract:
-e 's#\([@(]\)GAIM_DATADIR\([@)]\)#\1datadir\2#'
@${REINPLACE_CMD} -e 's|-g3||' ${WRKSRC}/configure
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -24,6 +24,10 @@ USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
GNU_CONFIGURE= yes
OPTIONS= NLS "Native Language Support" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
@ -40,4 +44,4 @@ post-extract:
-e 's#\([@(]\)GAIM_DATADIR\([@)]\)#\1datadir\2#'
@${REINPLACE_CMD} -e 's|-g3||' ${WRKSRC}/configure
.include <bsd.port.mk>
.include <bsd.port.post.mk>