ports/64764: Update port: graphics/xmorph

KATO Tsuguru tkato at prontomail.com
Fri Mar 26 12:40:33 UTC 2004


>Number:         64764
>Category:       ports
>Synopsis:       Update port: graphics/xmorph
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 26 04:40:31 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Support WITHOUT_NLS

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/xmorph/Makefile graphics/xmorph/Makefile
--- /usr/ports/graphics/xmorph/Makefile	Thu Mar 25 23:01:50 2004
+++ graphics/xmorph/Makefile	Thu Mar 25 23:28:36 2004
@@ -22,7 +22,7 @@
 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
@@ -38,6 +38,14 @@
 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:
diff -urN /usr/ports/graphics/xmorph/pkg-plist graphics/xmorph/pkg-plist
--- /usr/ports/graphics/xmorph/pkg-plist	Wed Mar 17 18:23:45 2004
+++ graphics/xmorph/pkg-plist	Thu Mar 25 23:11:38 2004
@@ -48,7 +48,7 @@
 %%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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list