mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 2
|
|
.if defined(WITHOUT_X11)
|
|
PKGNAMESUFFIX= -m17nlib-nox11
|
|
.else
|
|
PKGNAMESUFFIX= -m17nlib
|
|
.endif
|
|
|
|
COMMENT= Uim plugin using m17n library input method
|
|
|
|
BUILD_DEPENDS= m17n-db:${PORTSDIR}/devel/m17n-db
|
|
LIB_DEPENDS= libm17n.so:${PORTSDIR}/devel/m17n-lib \
|
|
libuim.so:${PORTSDIR}/textproc/uim
|
|
RUN_DEPENDS= m17n-db:${PORTSDIR}/devel/m17n-db
|
|
|
|
.if !defined(WITHOUT_M17NCONTRIB)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/m17n/icons/as-phonetic.png:${PORTSDIR}/devel/m17n-db
|
|
.endif
|
|
|
|
MASTERDIR= ${.CURDIR}/../../textproc/uim
|
|
PKGDIR= ${.CURDIR}
|
|
CONFIGURE_ARGS= --with-m17nlib
|
|
|
|
UIM_SLAVE= yes
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-uim_Makefile.in
|
|
|
|
do-build:
|
|
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-m17nlib.la)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC}/uim && \
|
|
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-m17nlib.la install-uim_pluginLTLIBRARIES && \
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/uim/pixmaps && \
|
|
DESTDIR="${STAGEDIR}" ${SH} ../pixmaps/uim-m17nlib-relink-icons)
|
|
|
|
post-install:
|
|
@${FIND} ${LOCALBASE}/share/m17n/icons/ -name '*.png' -execdir ${ECHO} share/uim/pixmaps/m17n-{} \; >>${TMPPLIST}
|
|
|
|
.include "${MASTERDIR}/Makefile"
|