# $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"