aboutsummaryrefslogtreecommitdiff
path: root/textproc/uim/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-03-10 20:12:52 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2007-03-10 20:12:52 +0000
commit60288adcbc280fd6704eeeb3e9783b1068a26c6b (patch)
tree6d265cd0cba2f1972b068f12492b3dc8b004c61d /textproc/uim/Makefile
parent0c272f41a37b9960dadb037f9c982f86722e663c (diff)
Notes
Diffstat (limited to 'textproc/uim/Makefile')
-rw-r--r--textproc/uim/Makefile30
1 files changed, 11 insertions, 19 deletions
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index b0252a9e2a73..7eb95c816a1f 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= uim
-PORTVERSION= 1.2.1
-PORTREVISION?= 1
+PORTVERSION= 1.3.1
CATEGORIES?= textproc
MASTER_SITES= http://uim.freedesktop.org/releases/
.if !defined(UIM_SLAVE) && defined(WITHOUT_X11)
@@ -25,6 +24,7 @@ USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --mandir=${PREFIX}/man
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
@@ -78,26 +78,17 @@ CONFIGURE_ARGS+=--without-${_x}
CONFIGURE_ARGS+=--disable-applet
.endif
-.if !defined(UIM_SLAVE)
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "NOTE:"
- @${ECHO_MSG} "Optional features are splitted into the following slave ports."
- @${ECHO_MSG} "OPTIONS variable is no longer used."
- @${ECHO_MSG} ""
- @${ECHO_MSG} "japanese/uim-anthy"
- @${ECHO_MSG} "japanese/uim-canna"
- @${ECHO_MSG} "japanese/uim-prime"
- @${ECHO_MSG} "textproc/uim-gnome"
- @${ECHO_MSG} "textproc/uim-gtk"
- @${ECHO_MSG} "textproc/uim-m17nlib"
- @${ECHO_MSG} "textproc/uim-qt"
- @${ECHO_MSG} ""
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm
+do-build:
+.if !defined(UIM_SLAVE)
+.for d in replace uim scm xim po fep emacs pixmaps
+ cd ${WRKSRC}/${d} && ${GMAKE}
+.endfor
+ cd ${WRKSRC}/helper && ${GMAKE}
+.endif
+
do-install:
.if !defined(UIM_SLAVE)
cd ${WRKSRC} && ${GMAKE} install-data-am
@@ -109,6 +100,7 @@ do-install:
.if !defined(UIM_SLAVE) && !defined(NOPORTDOCS)
post-install:
+ ${MKDIR} ${DATADIR}/helperdata
${MKDIR} ${DOCSDIR}
${MKDIR} ${DOCSDIR_JA}
${INSTALL_DATA} ${WRKSRC}/doc/KEY ${DOCSDIR}/KEY