ports/78310: Update port: devel/m17n-lib to 1.2.0
KATO Tsuguru
tkato432 at yahoo.com
Wed Mar 2 16:10:15 UTC 2005
>Number: 78310
>Category: ports
>Synopsis: Update port: devel/m17n-lib to 1.2.0
>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: Wed Mar 02 16:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.2.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/m17n-lib/Makefile devel/m17n-lib/Makefile
--- /usr/ports/devel/m17n-lib/Makefile Thu Oct 21 21:25:14 2004
+++ devel/m17n-lib/Makefile Wed Mar 2 03:41:40 2005
@@ -6,25 +6,26 @@
#
PORTNAME= m17n-lib
-PORTVERSION= 1.1.0
+PORTVERSION= 1.2.0
CATEGORIES= devel
MASTER_SITES= http://www.m17n.org/m17n-lib/download/
MAINTAINER= ports at FreeBSD.org
COMMENT= A library for the multilingual text handling
+BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi \
+ gd.4:${PORTSDIR}/graphics/gd \
otf.0:${PORTSDIR}/print/libotf \
- Xft.2:${PORTSDIR}/x11-fonts/libXft \
- gd.4:${PORTSDIR}/graphics/gd
-BUILD_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
+ Xft.2:${PORTSDIR}/x11-fonts/libXft
RUN_DEPENDS= ${LOCALBASE}/share/m17n/mdb.dir:${PORTSDIR}/devel/m17n-db
-USE_REINPLACE= yes
USE_XLIB= yes
-USE_GNOME= libxml2
+USE_GNOME= gnometarget libxml2 pkgconfig
+USE_REINPLACE= yes
USE_LIBTOOL_VER= 15
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
OPTIONS= ANTHY "With Anthy support" off \
@@ -32,13 +33,13 @@
.include <bsd.port.pre.mk>
-.ifdef WITH_ANTHY
+.if defined(WITH_ANTHY)
LIB_DEPENDS+= anthy.1:${PORTSDIR}/japanese/anthy
.else
CONFIGURE_ENV+= ac_cv_lib_anthydic_anthy_init_sessions=no
.endif
-.ifdef WITH_ISPELL
+.if defined(WITH_ISPELL)
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
.else
@@ -46,6 +47,8 @@
.endif
post-patch:
- ${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/*/Makefile.in
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \
+ s|-ldl||g'
.include <bsd.port.post.mk>
diff -urN /usr/ports/devel/m17n-lib/distinfo devel/m17n-lib/distinfo
--- /usr/ports/devel/m17n-lib/distinfo Wed Aug 18 02:43:56 2004
+++ devel/m17n-lib/distinfo Wed Mar 2 03:27:37 2005
@@ -1,2 +1,2 @@
-MD5 (m17n-lib-1.1.0.tar.gz) = 7ee402c37e1a459b274f1ccb2a4d90f3
-SIZE (m17n-lib-1.1.0.tar.gz) = 657484
+MD5 (m17n-lib-1.2.0.tar.gz) = 215242775c67930e20597b2c7703acef
+SIZE (m17n-lib-1.2.0.tar.gz) = 675191
diff -urN /usr/ports/devel/m17n-lib/pkg-plist devel/m17n-lib/pkg-plist
--- /usr/ports/devel/m17n-lib/pkg-plist Wed Aug 18 02:43:56 2004
+++ devel/m17n-lib/pkg-plist Wed Mar 2 03:43:34 2005
@@ -1,9 +1,9 @@
bin/m17n-config
-bin/mconv
-bin/mdate
-bin/mdump
-bin/medit
-bin/mview
+bin/m17n-conv
+bin/m17n-date
+bin/m17n-dump
+bin/m17n-edit
+bin/m17n-view
include/m17n-X.h
include/m17n-core.h
include/m17n-gui.h
@@ -26,3 +26,6 @@
lib/libmimx-anthy.so.1
lib/libmimx-ispell.so
lib/libmimx-ispell.so.1
+libdata/pkgconfig/m17n-core.pc
+libdata/pkgconfig/m17n-gui.pc
+libdata/pkgconfig/m17n-shell.pc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list