freebsd-ports/japanese/kebook/Makefile
Will Andrews dbba8af644 Overhaul QT/KDE support:
- bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}*
- Cleanup corresponding ports for bsd.kde.mk update.
- Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom,
  introduce QT_NONSTANDARD variable for nonstandard configure setup.
- Update KDE2 to 2.1.1.  Two patches included in x11/kdelibs2 to fix the
  proxy authentication that was broken for 2.1.1.  Remove old patches.
- Potentially fix kdelibs build for alpha.
- Fix qt-designer 2.3.0 build.
- Ruby stuff left alone since it looks like black magic to me.  Should
  still work w/ compat shims for older USE_QT[,2] style.  Some others
  were also left alone for the same reason.

Reviewed by:	portmgr, ports (bsd.kde.mk+bsd.port.mk)
Submitted by:	David Faure <faure@kde.org> (proxy auth patches)
		Alex Zepeda <garbanzo@kde.org> (old patches removal)
2001-04-03 08:14:43 +00:00

61 lines
1.5 KiB
Makefile

# New ports collection makefile for: kebook-i18n
# Date created: 13 Novenver 1999
# Whom: SUZUKI, Mitsuhiro <hige@higesoft.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= kebook
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/
MAINTAINER= hige@higesoft.os.rim.or.jp
LIB_DEPENDS= eb.3:${PORTSDIR}/japanese/eb
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
USE_KDEBASE_VER=1
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
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 \
QTDIR=${QTDIR}
CXXFLAGS?= ${CFLAGS}
DOCDIR= share/apps/kebook/doc
PLIST_SUB= DOCDIR=${DOCDIR}
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
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}
@for i in AUTHORS COPYING ChangeLog NEWS README README.euc-jp INSTALL INSTALL.euc-jp; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR} ;\
done
.endif
.include <bsd.port.post.mk>