summaryrefslogtreecommitdiffstats
path: root/japanese/kebook
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-07-12 02:46:47 +0000
committerkevlo <kevlo@FreeBSD.org>2000-07-12 02:46:47 +0000
commitc06f6e5ee8d360912776db538a43123677df4dfe (patch)
tree10c41b111b50b711ea242c47dd999ecfc2033efb /japanese/kebook
parent0f7acad04159a6709fdf0919562ecf6d4776ab70 (diff)
downloadFreeBSD-ports-c06f6e5ee8d360912776db538a43123677df4dfe.zip
FreeBSD-ports-c06f6e5ee8d360912776db538a43123677df4dfe.tar.gz
Update to 0.3.5
PR: 19851 Submitted by: MAINTAINER <hige@higesoft.rim.or.jp>
Diffstat (limited to 'japanese/kebook')
-rw-r--r--japanese/kebook/Makefile26
-rw-r--r--japanese/kebook/distinfo2
-rw-r--r--japanese/kebook/pkg-descr5
3 files changed, 22 insertions, 11 deletions
diff --git a/japanese/kebook/Makefile b/japanese/kebook/Makefile
index 624dde0..eb527c3 100644
--- a/japanese/kebook/Makefile
+++ b/japanese/kebook/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kebook
-PORTVERSION= 0.3.4
+PORTVERSION= 0.3.5
CATEGORIES= japanese kde
MASTER_SITES= http://www.os.rim.or.jp/~s_mitu/library/kebook/ \
ftp://ftp.kde.gr.jp/pub/kde/unstable/contrib/
@@ -20,20 +20,24 @@ LIB_DEPENDS= qti18n.3:${PORTSDIR}/x11-toolkits/qt-i18n \
kfm.2:${PORTSDIR}/x11/kdebase11-i18n \
eb.3:${PORTSDIR}/japanese/eb
+BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
+
USE_BZIP2= yes
USE_GMAKE= yes
USE_NEWGCC= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= "--with-qt-includes=${QTDIR}/include/X11/qt" \
- "--with-eb-includes=$(LOCALBASE)/include" \
- "--with-eb-libraries=$(LOCALBASE)/lib" \
+CONFIGURE_ARGS= "--with-qt-dir=${QTDIR}" \
+ "--with-qt-includes=${QTDIR}/include/X11/qt" \
+ "--with-qt-libraries=${QTDIR}/lib" \
+ "--with-eb-includes=${LOCALBASE}/include" \
+ "--with-eb-libraries=${LOCALBASE}/lib" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
-CONFIGURE_ENV= CPPFLAGS=-I$(LOCALBASE)/include \
- LDFLAGS=-L$(LOCALBASE)/lib \
- X_EXTRA_LIBS="-lxpg4" \
+CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
+ LDFLAGS=-L${LOCALBASE}/lib \
QTDIR=${QTDIR}
+
CXXFLAGS?= ${CFLAGS}
DOCDIR= share/apps/kebook/doc
@@ -45,6 +49,12 @@ QTDIR?= ${PREFIX}
QTDIR?= ${X11BASE}
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400020 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500005 )
+CONFIGURE_ENV+= X_EXTRA_LIBS="-lxpg4"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${DOCDIR}
@@ -53,4 +63,4 @@ post-install:
done
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/kebook/distinfo b/japanese/kebook/distinfo
index 1ee70e7..fd99668 100644
--- a/japanese/kebook/distinfo
+++ b/japanese/kebook/distinfo
@@ -1 +1 @@
-MD5 (kebook-0.3.4.tar.bz2) = 9b19aeef4b392e356a1f65a186f86d47
+MD5 (kebook-0.3.5.tar.bz2) = 7f3207b900294695d357dbbcec5249f8
diff --git a/japanese/kebook/pkg-descr b/japanese/kebook/pkg-descr
index 136e68e..5671665 100644
--- a/japanese/kebook/pkg-descr
+++ b/japanese/kebook/pkg-descr
@@ -1,5 +1,6 @@
-KEBook is a KDE application with which you look up words
-in your CD-ROM books of EB, EBG, EBXA, EBXA-C, S-EBXA and EPWING formats.
+KEBook is a KDE application which lets you look up words in electronic
+books on CD-ROM. It supports the EB, EBG, EBXA, EBXA-C, S-EBXA, and
+EPWING formats.
WWW: http://www.os.rim.or.jp/~s_mitu/library/mysofts.html#kebook
OpenPOWER on IntegriCloud