mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Support WITHOUT_NLS
PR: ports/64764 Submitted by: Ports Fury
This commit is contained in:
parent
c0bf853b8c
commit
b1e24043d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105336
@ -22,7 +22,7 @@ CONFLICTS= libmorph*
|
||||
USE_X_PREFIX= yes
|
||||
WANT_GNOME= yes
|
||||
USE_GNOME= gnometarget lthack
|
||||
USE_LIBTOOL_VER=13
|
||||
USE_LIBTOOL_VER= 13
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
@ -33,13 +33,21 @@ INFO= xmorph
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${HAVE_GNOME:Mgtk20}!=""
|
||||
USE_GNOME+= gtk20
|
||||
USE_GNOME+= gtk20
|
||||
CONFIGURE_ARGS+= --with-gtk2
|
||||
MAN1+= gtkmorph.1
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gtkmorph
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.else
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${RM} -f ${WRKSRC}/doc/*.info*
|
||||
|
||||
|
@ -48,7 +48,7 @@ lib/libmorph.so.1
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/AD_freeborder/image2.png
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/AD_freeborder/image2.png.mesh
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/AD_freeborder/image2.png.meshtmp
|
||||
share/locale/it/LC_MESSAGES/xmorph.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/xmorph.mo
|
||||
%%GNOME:%%%%DATADIR%%/mpeg.param
|
||||
%%DATADIR%%/pixmaps/cursor_left.xpm
|
||||
%%DATADIR%%/pixmaps/eraser.xpm
|
||||
|
Loading…
Reference in New Issue
Block a user