60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Daichi GOTO <daichi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ibus-anthy
|
|
PORTVERSION= 1.2.7
|
|
PORTREVISION= 6
|
|
CATEGORIES= japanese
|
|
PROJECTHOST= ibus
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
PKGNAMEPREFIX= ja-
|
|
|
|
MAINTAINER= daichi@FreeBSD.org
|
|
COMMENT= Anthy engine for IBus
|
|
|
|
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
|
|
LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy \
|
|
libibus-1.0.so:${PORTSDIR}/textproc/ibus
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= libtool gettext gmake pkgconfig python
|
|
USE_GNOME= pygtk2
|
|
|
|
LOCALBASE_REPLACE_FILES= \
|
|
engine/engine.py \
|
|
setup/anthyprefs.py \
|
|
setup/main.py
|
|
|
|
INCLUDEDIR_REPLACE_FILES= \
|
|
engine/Makefile.am \
|
|
engine/Makefile.in
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && \
|
|
${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \
|
|
${LOCALBASE_REPLACE_FILES} && \
|
|
${REINPLACE_CMD} "s,@@INCLUDEDIR@@,${INCLUDEDIR},g" \
|
|
${INCLUDEDIR_REPLACE_FILES}
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_anthy.so
|
|
|
|
.include <bsd.port.mk>
|