2000-07-10 03:34:52 +00:00
|
|
|
# New ports collection makefile for: kebook-i18n
|
|
|
|
# Date created: 13 Novenver 1999
|
|
|
|
# Whom: SUZUKI, Mitsuhiro <hige@higesoft.rim.or.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
PORTNAME= kebook
|
|
|
|
PORTVERSION= 0.3.5
|
|
|
|
CATEGORIES= japanese kde
|
|
|
|
MASTER_SITES= http://www.os.rim.or.jp/~s_mitu/library/kebook/ \
|
2000-07-10 03:34:52 +00:00
|
|
|
ftp://ftp.kde.gr.jp/pub/kde/unstable/contrib/
|
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
MAINTAINER= hige@higesoft.os.rim.or.jp
|
2000-07-10 03:34:52 +00:00
|
|
|
|
2000-10-23 15:24:23 +00:00
|
|
|
LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11 \
|
2000-07-10 03:34:52 +00:00
|
|
|
eb.3:${PORTSDIR}/japanese/eb
|
2000-08-27 06:13:35 +00:00
|
|
|
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
|
2000-10-23 15:24:23 +00:00
|
|
|
RUN_DEPENDS= kfm:${PORTSDIR}/x11/kdebase11
|
2000-07-10 03:34:52 +00:00
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-10-23 15:24:23 +00:00
|
|
|
USE_QT= yes
|
2000-07-12 02:46:47 +00:00
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
CONFIGURE_ARGS= "--with-qt-dir=${QTDIR}" \
|
2000-07-12 02:46:47 +00:00
|
|
|
"--with-qt-includes=${QTDIR}/include/X11/qt" \
|
|
|
|
"--with-qt-libraries=${QTDIR}/lib" \
|
|
|
|
"--with-eb-includes=${LOCALBASE}/include" \
|
|
|
|
"--with-eb-libraries=${LOCALBASE}/lib" \
|
2000-07-10 03:34:52 +00:00
|
|
|
"--with-extra-includes=${LOCALBASE}/include" \
|
|
|
|
"--with-extra-libs=${LOCALBASE}/lib"
|
2000-08-27 06:13:35 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
|
2000-07-12 02:46:47 +00:00
|
|
|
LDFLAGS=-L${LOCALBASE}/lib \
|
2000-07-10 03:34:52 +00:00
|
|
|
QTDIR=${QTDIR}
|
2000-07-12 02:46:47 +00:00
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
CXXFLAGS?= ${CFLAGS}
|
2000-07-10 03:34:52 +00:00
|
|
|
|
2000-08-27 06:13:35 +00:00
|
|
|
DOCDIR= share/apps/kebook/doc
|
2000-07-10 03:34:52 +00:00
|
|
|
PLIST_SUB= DOCDIR=${DOCDIR}
|
|
|
|
|
|
|
|
.if defined(PREFIX)
|
2000-08-27 06:13:35 +00:00
|
|
|
QTDIR?= ${PREFIX}
|
2000-07-10 03:34:52 +00:00
|
|
|
.else
|
2000-08-27 06:13:35 +00:00
|
|
|
QTDIR?= ${X11BASE}
|
2000-07-10 03:34:52 +00:00
|
|
|
.endif
|
|
|
|
|
2000-07-12 02:46:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400020 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500005 )
|
2000-08-27 06:13:35 +00:00
|
|
|
CONFIGURE_ENV+= X_EXTRA_LIBS="-lxpg4"
|
2000-07-12 02:46:47 +00:00
|
|
|
.endif
|
|
|
|
|
2000-07-10 03:34:52 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
@for i in AUTHORS COPYING ChangeLog NEWS README README.euc-jp INSTALL INSTALL.euc-jp; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR} ;\
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
|
2000-07-12 02:46:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|