Lines 1-4
Link Here
|
1 |
# New ports collection makefile for: lyx |
1 |
# New ports collection makefile for: cjk-lyx |
2 |
# Date created: Sa 12 Okt 1996 19:20:51 MET DST |
2 |
# Date created: Sa 12 Okt 1996 19:20:51 MET DST |
3 |
# Whom: Andreas Klemm <andreas@klemm.gtn.com> |
3 |
# Whom: Andreas Klemm <andreas@klemm.gtn.com> |
4 |
# |
4 |
# |
Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= lyx |
8 |
PORTNAME= lyx |
9 |
PORTVERSION= 1.4.4 |
9 |
PORTVERSION= 1.4.4 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= print chinese japanese korean |
11 |
CATEGORIES= print chinese japanese korean |
12 |
MASTER_SITES= ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/ \ |
12 |
MASTER_SITES= ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/ \ |
13 |
ftp://ftp.u-aizu.ac.jp/pub/tex/cjk-lyx/qt/ \ |
13 |
ftp://ftp.u-aizu.ac.jp/pub/tex/cjk-lyx/qt/ \ |
Lines 30-37
Link Here
|
30 |
qt-mt:${PORTSDIR}/x11-toolkits/qt33 |
30 |
qt-mt:${PORTSDIR}/x11-toolkits/qt33 |
31 |
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf |
31 |
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf |
32 |
|
32 |
|
33 |
BROKEN= Does not build |
|
|
34 |
|
35 |
OPTIONS= ASPELL "Utilize ASPELL library" on \ |
33 |
OPTIONS= ASPELL "Utilize ASPELL library" on \ |
36 |
ISPELL "Depend on ISPELL as well" off |
34 |
ISPELL "Depend on ISPELL as well" off |
37 |
.if defined(LANG) && ${LANG:C/_.*//} == "ja" |
35 |
.if defined(LANG) && ${LANG:C/_.*//} == "ja" |
Lines 47-62
Link Here
|
47 |
USE_GETTEXT= yes |
45 |
USE_GETTEXT= yes |
48 |
USE_GMAKE= yes |
46 |
USE_GMAKE= yes |
49 |
GNU_CONFIGURE= yes |
47 |
GNU_CONFIGURE= yes |
50 |
EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch] --exclude ${PORTNAME}-${PORTVERSION}/boost |
|
|
51 |
CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \ |
48 |
CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \ |
52 |
--without-included-boost \ |
|
|
53 |
--with-extra-inc="${LOCALBASE}/include" \ |
49 |
--with-extra-inc="${LOCALBASE}/include" \ |
54 |
--with-frontend=qt \ |
50 |
--with-frontend=qt \ |
55 |
--program-prefix="${PKGNAMEPREFIX}" |
51 |
--program-prefix="${PKGNAMEPREFIX}" |
56 |
CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} |
52 |
CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} |
57 |
CFLAGS= ${PTHREAD_CFLAGS} |
53 |
CFLAGS= ${PTHREAD_CFLAGS} |
58 |
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ |
|
|
59 |
AUTOHEADER="${TRUE}" |
60 |
MAN1= ${PKGNAMEPREFIX}lyx.1 ${PKGNAMEPREFIX}tex2lyx.1 ${PKGNAMEPREFIX}lyxclient.1 |
54 |
MAN1= ${PKGNAMEPREFIX}lyx.1 ${PKGNAMEPREFIX}tex2lyx.1 ${PKGNAMEPREFIX}lyxclient.1 |
61 |
|
55 |
|
62 |
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} |
56 |
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME} |
Lines 66-82
Link Here
|
66 |
|
60 |
|
67 |
post-extract: |
61 |
post-extract: |
68 |
${MV} ${WRKSRC}/po/lyx.pot ${WRKSRC}/po/${PKGNAMEPREFIX}lyx.pot |
62 |
${MV} ${WRKSRC}/po/lyx.pot ${WRKSRC}/po/${PKGNAMEPREFIX}lyx.pot |
69 |
|
|
|
70 |
post-patch: |
71 |
# Removing mention of the bundled boost |
72 |
${REINPLACE_CMD} -e 's, boost/[^ ]*Makefile,,g' ${WRKSRC}/configure |
73 |
${REINPLACE_CMD} -e 's,detail/nullstream,utils/nullstream,' \ |
74 |
${WRKSRC}/src/pch.h ${WRKSRC}/src/support/pch.h \ |
75 |
${WRKSRC}/src/support/debugstream.h |
76 |
${REINPLACE_CMD} -e 's,boost/regex\.hpp,boost/cregex.hpp,' \ |
77 |
${WRKSRC}/src/support/filetools.C |
78 |
${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \ |
79 |
${WRKSRC}/src/support/tests/test_* |
80 |
|
63 |
|
81 |
post-configure: |
64 |
post-configure: |
82 |
# Removing explicit linking with -lc |
65 |
# Removing explicit linking with -lc |