aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2009-01-26 21:58:24 +0800
committerhrs <hrs@FreeBSD.org>2009-01-26 21:58:24 +0800
commit19cfbb7d2e58aec3887312c181189d6f803e64ff (patch)
tree05c989a214d8d37cbd016b9da72a97dfc313a56a /japanese
parent8d38156720e13ed12af9ed7c7920b7c290937aa4 (diff)
downloadfreebsd-ports-gnome-19cfbb7d2e58aec3887312c181189d6f803e64ff.tar.gz
freebsd-ports-gnome-19cfbb7d2e58aec3887312c181189d6f803e64ff.tar.zst
freebsd-ports-gnome-19cfbb7d2e58aec3887312c181189d6f803e64ff.zip
Remove implicit dependency on x11/xorg-libraries.
Spotted by: motoyuki
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}