diff options
-rw-r--r-- | graphics/xmorph/Makefile | 12 | ||||
-rw-r--r-- | graphics/xmorph/pkg-plist | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/graphics/xmorph/Makefile b/graphics/xmorph/Makefile index 309bd95..2374d10 100644 --- a/graphics/xmorph/Makefile +++ b/graphics/xmorph/Makefile @@ -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* diff --git a/graphics/xmorph/pkg-plist b/graphics/xmorph/pkg-plist index a0cdd88..d552365 100644 --- a/graphics/xmorph/pkg-plist +++ b/graphics/xmorph/pkg-plist @@ -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 |