aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2011-07-09 01:35:26 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2011-07-09 01:35:26 +0000
commitf8526295b7f04fc526b9b04c4bf7607a947f9e43 (patch)
treecc08b4290102153d41412bc838808730f15399e3 /textproc
parentd0e4b234c5be14ac06034c60024355351660e5a4 (diff)
downloadports-f8526295b7f04fc526b9b04c4bf7607a947f9e43.tar.gz
ports-f8526295b7f04fc526b9b04c4bf7607a947f9e43.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uim-m17nlib/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/textproc/uim-m17nlib/Makefile b/textproc/uim-m17nlib/Makefile
index 40763f002e48..96302bfe9181 100644
--- a/textproc/uim-m17nlib/Makefile
+++ b/textproc/uim-m17nlib/Makefile
@@ -5,6 +5,8 @@
# $FreeBSD$
#
+PORTREVISION= 1
+
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -m17nlib-nox11
.else
@@ -18,6 +20,10 @@ LIB_DEPENDS= m17n.4:${PORTSDIR}/devel/m17n-lib \
uim.8:${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}/textproc/m17n-contrib
+.endif
+
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-m17nlib
@@ -31,9 +37,12 @@ do-build:
do-install:
(cd ${WRKSRC}/uim && \
- ${GMAKE} uim_plugin_LTLIBRARIES=libuim-m17nlib.la install-uim_pluginLTLIBRARIES)
+ ${GMAKE} uim_plugin_LTLIBRARIES=libuim-m17nlib.la install-uim_pluginLTLIBRARIES && \
+ ${MKDIR} ${PREFIX}/share/uim/pixmaps && \
+ DESTDIR="" ${SH} ../pixmaps/uim-m17nlib-relink-icons)
post-install:
${LOCALBASE}/bin/uim-module-manager --register m17nlib
+ @${FIND} ${LOCALBASE}/share/m17n/icons/ -name '*.png' -execdir ${ECHO} share/uim/pixmaps/m17n-{} \; >>${TMPPLIST}
.include "${MASTERDIR}/Makefile"