pkgsrc/print/cjk-lyx/Makefile
agc e8d16d6af6 Initial import of cjk-lyx-1.2.0 into the NetBSD Packages Collection.
Provided in PR 17646 by Rui-Xiang Guo (rxg@ms25.url.com.tw)

CJK-LyX is a multibyte version of LyX, the text processing document
processor, or simply a new and advanced kind of word processors.  More
specifically, CJK-LyX is the patched version of LyX for Chinese,
Japanese and Korean language users.  CJK-LyX is based on the earlier
patch against lyx-1.0.3 by Masahiko Kawakami and critical
contributions from Chideok Hwang, who is also the author of the Korean
input method Ami.
2002-07-19 12:32:31 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:32:32 agc Exp $
DISTNAME= lyx-${LYX_VERS}
PKGNAME= cjk-${DISTNAME}
CATEGORIES= print
MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/ \
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/ \
ftp://ftp.sdsc.edu/pub/other/lyx/stable/
PATCH_SITES= ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX/
PATCHFILES= CJK-LyX-${LYX_VERS}-patch
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -p0
MAINTAINER= rxg@ms25.url.com.tw
HOMEPAGE= http://cellular.phys.pusan.ac.kr/cjk.html
COMMENT= multibyte version of LyX
LYX_VERS= 1.2.0
CONFLICTS= lyx-*
DEPENDS+= ispell-base-[0-9]*:../../textproc/ispell-base
DEPENDS+= teTeX-bin>=1.0.7nb1:../../print/teTeX-bin
GCC_VERSION!= gcc --version
.if (${GCC_VERSION:C/-.*$$//} == egcs)
# "egcs" cannot be used, as this package tickles c++ compiler bugs
.include "../../lang/gcc/Makefile.gcc"
.endif
USE_PERL5= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltmain.sh
GNU_CONFIGURE= yes
post-configure:
# this pkg generates libtool script from configure file
cd ${WRKSRC} && config/ltmain.sh
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/xpm/buildlink.mk"
.include "../../x11/xforms/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"