summaryrefslogtreecommitdiff
path: root/japanese/kebook
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-07-12 02:46:47 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-07-12 02:46:47 +0000
commit360695abfc5bf7054ee61a132941cb9ea1ddce03 (patch)
treecdc90fd4c450784e13ee5d628542705809b76222 /japanese/kebook
parentFix a mistake in the directions for creating symlinks. Add instructions for (diff)
Update to 0.3.5
PR: 19851 Submitted by: MAINTAINER <hige@higesoft.rim.or.jp>
Notes
Notes: svn path=/head/; revision=30503
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 624dde0269d6..eb527c31e7ab 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 1ee70e71437a..fd99668bf778 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 136e68e4ecf0..5671665e3a3a 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