1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/kebook/Makefile
Steve Price d01fd14467 Adding ja-kebook version 0.3.4.
A KDE application to look up words from your CDROM books in EB, EBG,
EBXA, EBXA-C, S-EBXA, and EPWING formats.

PR:		19234
Submitted by:	SUZUKI Mitsuhiro <hige@higesoft.rim.or.jp>
2000-07-10 03:34:52 +00:00

57 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.4
CATEGORIES= japanese kde
MASTER_SITES= http://www.os.rim.or.jp/~s_mitu/library/kebook/ \
ftp://ftp.kde.gr.jp/pub/kde/unstable/contrib/
PKGNAMEPREFIX= ja-
PKGNAMESUFFIX= -i18n
MAINTAINER= hige@higesoft.os.rim.or.jp
LIB_DEPENDS= qti18n.3:${PORTSDIR}/x11-toolkits/qt-i18n \
kdecore.2:${PORTSDIR}/x11/kdelibs11-i18n \
kfm.2:${PORTSDIR}/x11/kdebase11-i18n \
eb.3:${PORTSDIR}/japanese/eb
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" \
"--with-extra-includes=${LOCALBASE}/include" \
"--with-extra-libs=${LOCALBASE}/lib"
CONFIGURE_ENV= CPPFLAGS=-I$(LOCALBASE)/include \
LDFLAGS=-L$(LOCALBASE)/lib \
X_EXTRA_LIBS="-lxpg4" \
QTDIR=${QTDIR}
CXXFLAGS?= ${CFLAGS}
DOCDIR= share/apps/kebook/doc
PLIST_SUB= DOCDIR=${DOCDIR}
.if defined(PREFIX)
QTDIR?= ${PREFIX}
.else
QTDIR?= ${X11BASE}
.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.mk>