aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2009-01-26 13:58:24 +0000
committerHiroki Sato <hrs@FreeBSD.org>2009-01-26 13:58:24 +0000
commit3aeee132adb06bf0d2ed76eabc1a0d3af2630808 (patch)
tree9dd96c56a6bbc78f64e37a852134d4c871c712bd /japanese
parentfff0d37b9357a171504e2ff9776333511d434eb7 (diff)
downloadports-3aeee132adb06bf0d2ed76eabc1a0d3af2630808.tar.gz
ports-3aeee132adb06bf0d2ed76eabc1a0d3af2630808.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/canna-lib/Makefile9
-rw-r--r--japanese/canna-server/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile
index ef4267da52d8..5da95c489135 100644
--- a/japanese/canna-lib/Makefile
+++ b/japanese/canna-lib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= canna
PORTVERSION= 3.7p3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= canna/9565/
@@ -17,12 +17,17 @@ DISTNAME= Canna${PORTVERSION:S/.//g}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Kana-to-Kanji conversion system, library part
+# XXX: USE_IMAKE implies USE_XLIB which is not needed for this port
+BUILD_DEPENDS= imake:${X_IMAKE_PORT}
+
USE_BZIP2= yes
USE_LDCONFIG= yes
-USE_IMAKE= yes
NO_INSTALL_MANPAGES=yes
ALL_TARGET= canna
INSTALL_TARGET= instsgs
+post-configure:
+ @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
+
.include <bsd.port.mk>
diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile
index e571edbae957..fe050661d10a 100644
--- a/japanese/canna-server/Makefile
+++ b/japanese/canna-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= canna
PORTVERSION= 3.7p3
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= canna/9565/
@@ -17,11 +17,12 @@ DISTNAME= Canna${PORTVERSION:S/.//g}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A Kana-to-Kanji conversion system, binary part
+# XXX: USE_IMAKE implies USE_XLIB which is not needed for this port
+BUILD_DEPENDS= imake:${X_IMAKE_PORT}
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/canna-lib
USE_RC_SUBR= canna.sh
USE_BZIP2= yes
-USE_IMAKE= yes
ALL_TARGET= canna
INSTALL_TARGET= instserver instclient
@@ -45,7 +46,11 @@ MAN3= RkCloseRoma.3 RkCvtEuc.3 RkCvtHan.3 RkCvtHira.3 RkCvtKana.3 \
MLINKS= uilib.3 XKanjiControl.3 uilib.3 XLookupKanjiString.3 uilib.3 \
jrKanjiControl.3 uilib.3 jrKanjiString.3
+post-configure:
+ @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
+
post-install:
+ @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install.man
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${CP} -R ${PORTDOCS} ${DOCSDIR}