View | Details | Raw Unified | Return to bug 126428
Collapse All | Expand All

(-)print/lyx15/Makefile (-72 / +36 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	lyx
8
PORTNAME=	lyx
9
PORTVERSION=	1.5.5
9
PORTVERSION=	1.5.6
10
PORTREVISION=	2
11
CATEGORIES=	print
10
CATEGORIES=	print
12
MASTER_SITES=	ftp://ftp.lyx.org/pub/lyx/stable/ \
11
MASTER_SITES=	ftp://ftp.lyx.org/pub/lyx/stable/ \
13
		ftp://ftp.planetmirror.com/pub/lyx/stable/ \
12
		ftp://ftp.planetmirror.com/pub/lyx/stable/ \
Lines 21-132 Link Here
21
MAINTAINER=	ports@FreeBSD.org
20
MAINTAINER=	ports@FreeBSD.org
22
COMMENT=	Document processor interfaced with LaTeX (nearly WYSIWYG) (stable)
21
COMMENT=	Document processor interfaced with LaTeX (nearly WYSIWYG) (stable)
23
22
24
BUILD_DEPENDS=	latex:${PORTSDIR}/print/teTeX
23
BUILD_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base
25
RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX \
24
LIB_DEPENDS=	boost_regex.4:${PORTSDIR}/devel/boost
25
RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base \
26
		${LOCALBASE}/share/texmf/tex/latex/prettyref/prettyref.sty:${PORTSDIR}/print/latex-prettyref \
26
		${LOCALBASE}/share/texmf/tex/latex/prettyref/prettyref.sty:${PORTSDIR}/print/latex-prettyref \
27
		${LOCALBASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf
27
		${LOCALBASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf
28
LIB_DEPENDS=	boost_regex:${PORTSDIR}/devel/boost
29
28
30
LATEST_LINK=	lyx15
29
OPTIONS=	ASPELL	"Utilize Aspell library"			on \
31
CFLAGS+=	${PTHREAD_CFLAGS}
30
		AIKSAUR	"Build Aiksaurus support (English thesaurus)"	on \
32
CONFIGURE_ENV+=	LDFLAGS=${PTHREAD_LIBS}
31
		NLS	"Native language support"			on
33
32
34
OPTIONS=	ASPELL	"Utilize ASPELL library"	on	\
33
CONFLICTS=	lyx-1.4.*
35
		AIKSAUR	"Build Aiksaurus support (English thesaurus)"	on	\
36
		NLS     "Native language support"	On
37
34
38
ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu`
39
USE_BZIP2=	yes
35
USE_BZIP2=	yes
40
USE_GNOME=	gnometarget lthack
36
USE_QT_VER=	4
37
QT_COMPONENTS=	gui corelib moc_build uic_build
38
USE_GNOME=	gnometarget
41
USE_PERL5=	yes
39
USE_PERL5=	yes
42
USE_PYTHON=	yes
40
USE_PYTHON=	yes
43
USE_GMAKE=	yes
41
USE_GMAKE=	yes
44
GNU_CONFIGURE=	yes
42
GNU_CONFIGURE=	yes
45
USE_QT_VER=	4
43
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
46
QT_COMPONENTS=	gui corelib moc_build uic_build
47
48
CONFLICTS=	lyx-1.4.*
49
50
EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch]	\
51
	--exclude ${PORTNAME}-${PORTVERSION}/boost --exclude ${PORTNAME}-${PORTVERSION}/intl
52
CONFIGURE_ARGS=	--with-frontend=qt4 \
44
CONFIGURE_ARGS=	--with-frontend=qt4 \
53
		--without-included-boost \
45
		--without-included-boost \
54
		--without-included-gettext \
46
		--without-included-gettext \
55
		--with-libiconv-prefix=${LOCALBASE} \
47
		--with-libiconv-prefix=${LOCALBASE} \
56
		--with-extra-prefix=${LOCALBASE}
48
		--with-extra-prefix=${LOCALBASE}
57
58
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
49
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
59
		AUTOHEADER="${TRUE}"
50
		AUTOHEADER="${TRUE}"
60
MAN1=		lyx.1 tex2lyx.1 lyxclient.1
51
ALL_TARGET=	-j`${SYSCTL} -n hw.ncpu`
61
62
post-patch:
63
	# Removing mention of the bundled boost
64
	${REINPLACE_CMD} -e 's, boost/[^ ]*Makefile,,g' -e 's, intl/Makefile,,g'	\
65
		${WRKSRC}/configure
66
	${REINPLACE_CMD} -e 's, intl , ,' ${WRKSRC}/Makefile.in
67
	${REINPLACE_CMD} -e 's,detail/nullstream,utils/nullstream,' \
68
	    ${WRKSRC}/src/pch.h ${WRKSRC}/src/support/pch.h \
69
	    ${WRKSRC}/src/support/debugstream.h
70
	${REINPLACE_CMD} -e 's,boost/regex\.hpp,boost/cregex.hpp,' \
71
	    ${WRKSRC}/src/support/filetools.cpp
72
73
pre-configure:
74
	# If the installed Boost is 1.34 or later, we must compile
75
	# with exceptions enabled:
76
	${AWK} '/#define BOOST_VERSION / {exit($$NF >= 103400)}'	\
77
		${LOCALBASE}/include/boost/version.hpp || \
78
	${REINPLACE_CMD} -e 's,\(AM_CXXFLAGS="\)-fno-exceptions,\1,' \
79
		${WRKSRC}/${CONFIGURE_SCRIPT}
80
81
post-configure:
82
	# Removing explicit linking with -lc
83
	${REINPLACE_CMD} -e 's,-lc ,,' ${WRKSRC}/*/Makefile
84
52
85
check test:
53
MAN1=		lyx.1 tex2lyx.1 lyxclient.1
86
	# Running vendor's self-tests (currently known to fail):
87
	${GMAKE} -C ${WRKSRC} check
88
54
89
post-install:
55
LATEST_LINK=	lyx15
90
	${LN} -sf ${DATADIR}/images/lyx.xpm ${PREFIX}/share/pixmaps/lyx.xpm
91
	${MKDIR} ${PREFIX}/share/applications
92
	${INSTALL_DATA} ${FILESDIR}/lyx.desktop \
93
		${PREFIX}/share/applications
94
56
95
.include <bsd.port.pre.mk>
57
.include <bsd.port.pre.mk>
96
58
97
.if exists(${LOCALBASE}/bin/makepsres)
98
PLIST_SUB+=	PSRES=
99
.else
100
PLIST_SUB+=	PSRES='@comment '
101
.endif
102
103
.if !defined(WITHOUT_AIKSAUR)
59
.if !defined(WITHOUT_AIKSAUR)
104
LIB_DEPENDS+=	Aiksaurus:${PORTSDIR}/textproc/aiksaurus
60
LIB_DEPENDS+=	Aiksaurus:${PORTSDIR}/textproc/aiksaurus
105
.else
61
.else
106
CONFIGURE_ARGS+=--without-aiksaurus
62
CONFIGURE_ARGS+=	--without-aiksaurus
107
.endif
63
.endif
108
64
109
.if !defined(WITHOUT_ASPELL)
65
.if defined(WITHOUT_ASPELL)
66
CONFIGURE_ARGS+=	--without-aspell --without-pspell
67
.else
110
LIB_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
68
LIB_DEPENDS+=	aspell:${PORTSDIR}/textproc/aspell
111
CONFIGURE_ARGS+=	--with-pspell \
69
CONFIGURE_ARGS+=	--with-pspell \
112
			--with-pspell-lib="${LOCALBASE}/lib" \
70
			--with-pspell-lib="${LOCALBASE}/lib" \
113
			--with-pspell-include="${LOCALBASE}/include"
71
			--with-pspell-include="${LOCALBASE}/include"
114
.else
115
CONFIGURE_ARGS+=--without-aspell --without-pspell
116
.endif
72
.endif
117
73
118
.if !defined(WITHOUT_NLS)
74
.if defined(WITHOUT_NLS)
119
USE_GETTEXT=	yes
120
PLIST_SUB+=	NLS=""
121
.else
122
CONFIGURE_ARGS+=	--disable-nls
75
CONFIGURE_ARGS+=	--disable-nls
123
PLIST_SUB+=	NLS="@comment "
76
PLIST_SUB+=	NLS="@comment "
77
.else
78
USE_GETTEXT=	yes
79
PLIST_SUB+=	NLS=""
124
.endif
80
.endif
125
81
126
# includes of qt4 must be found earlier than those of qt3
82
post-patch:
127
CONFIGURE_ENV+=	QT4_CORE_CFLAGS="-DQT_SHARED -I${QT_INCDIR}/QtCore \
83
	${REINPLACE_CMD} -e 's|boost/regex\.hpp|boost/cregex.hpp|' \
128
		-I${QT_INCDIR}" \
84
		${WRKSRC}/src/support/filetools.cpp
129
	QT4_FRONTEND_CFLAGS="-DQT_SHARED -I${QT_INCDIR}/QtCore  \
85
130
		-I${QT_INCDIR}/QtGui -I${QT_INCDIR}"
86
check test:
87
	# Running vendor's self-tests (currently known to fail):
88
	${GMAKE} -C ${WRKSRC} check
89
90
post-install:
91
	${LN} -sf ${DATADIR}/images/lyx.xpm ${PREFIX}/share/pixmaps/lyx.xpm
92
	${MKDIR} ${PREFIX}/share/applications
93
	${INSTALL_DATA} ${FILESDIR}/lyx.desktop \
94
		${PREFIX}/share/applications
131
95
132
.include <bsd.port.post.mk>
96
.include <bsd.port.post.mk>
(-)print/lyx15/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (lyx-1.5.5.tar.bz2) = 310bf760e8fdf85c7ad3a19b90ddc91c
1
MD5 (lyx-1.5.6.tar.bz2) = 69f2eecba80b143554911c8b3d814a0e
2
SHA256 (lyx-1.5.5.tar.bz2) = 051e952d206a9b0ca7a4584821ecaa88b6ed5f88a241767d97370932258c7539
2
SHA256 (lyx-1.5.6.tar.bz2) = 386c4f3232142386579d48c638a7611301552a59574b2a19a7ab5ee725817d32
3
SIZE (lyx-1.5.5.tar.bz2) = 9082787
3
SIZE (lyx-1.5.6.tar.bz2) = 9294565
(-)print/lyx15/pkg-plist (-30 / +32 lines)
Lines 2-30 Link Here
2
bin/lyxclient
2
bin/lyxclient
3
bin/tex2lyx
3
bin/tex2lyx
4
share/applications/lyx.desktop
4
share/applications/lyx.desktop
5
share/locale/ca/LC_MESSAGES/lyx.mo
5
%%NLS%%share/locale/ca/LC_MESSAGES/lyx.mo
6
share/locale/cs/LC_MESSAGES/lyx.mo
6
%%NLS%%share/locale/cs/LC_MESSAGES/lyx.mo
7
share/locale/de/LC_MESSAGES/lyx.mo
7
%%NLS%%share/locale/de/LC_MESSAGES/lyx.mo
8
share/locale/es/LC_MESSAGES/lyx.mo
8
%%NLS%%share/locale/es/LC_MESSAGES/lyx.mo
9
share/locale/eu/LC_MESSAGES/lyx.mo
9
%%NLS%%share/locale/eu/LC_MESSAGES/lyx.mo
10
share/locale/fi/LC_MESSAGES/lyx.mo
10
%%NLS%%share/locale/fi/LC_MESSAGES/lyx.mo
11
share/locale/fr/LC_MESSAGES/lyx.mo
11
%%NLS%%share/locale/fr/LC_MESSAGES/lyx.mo
12
share/locale/gl/LC_MESSAGES/lyx.mo
12
%%NLS%%share/locale/gl/LC_MESSAGES/lyx.mo
13
share/locale/he/LC_MESSAGES/lyx.mo
13
%%NLS%%share/locale/he/LC_MESSAGES/lyx.mo
14
share/locale/hu/LC_MESSAGES/lyx.mo
14
%%NLS%%share/locale/hu/LC_MESSAGES/lyx.mo
15
share/locale/it/LC_MESSAGES/lyx.mo
15
%%NLS%%share/locale/it/LC_MESSAGES/lyx.mo
16
share/locale/ja/LC_MESSAGES/lyx.mo
16
%%NLS%%share/locale/ja/LC_MESSAGES/lyx.mo
17
share/locale/ko/LC_MESSAGES/lyx.mo
17
%%NLS%%share/locale/ko/LC_MESSAGES/lyx.mo
18
share/locale/nb/LC_MESSAGES/lyx.mo
18
%%NLS%%share/locale/nb/LC_MESSAGES/lyx.mo
19
share/locale/nn/LC_MESSAGES/lyx.mo
19
%%NLS%%share/locale/nn/LC_MESSAGES/lyx.mo
20
share/locale/pl/LC_MESSAGES/lyx.mo
20
%%NLS%%share/locale/pl/LC_MESSAGES/lyx.mo
21
share/locale/pt/LC_MESSAGES/lyx.mo
21
%%NLS%%share/locale/pt/LC_MESSAGES/lyx.mo
22
share/locale/ro/LC_MESSAGES/lyx.mo
22
%%NLS%%share/locale/ro/LC_MESSAGES/lyx.mo
23
share/locale/ru/LC_MESSAGES/lyx.mo
23
%%NLS%%share/locale/ru/LC_MESSAGES/lyx.mo
24
share/locale/tr/LC_MESSAGES/lyx.mo
24
%%NLS%%share/locale/tr/LC_MESSAGES/lyx.mo
25
share/locale/zh_CN/LC_MESSAGES/lyx.mo
25
%%NLS%%share/locale/uk/LC_MESSAGES/lyx.mo
26
share/locale/zh_TW/LC_MESSAGES/lyx.mo
26
%%NLS%%share/locale/zh_CN/LC_MESSAGES/lyx.mo
27
share/pixmaps/lyx.xpm
27
%%NLS%%share/locale/zh_TW/LC_MESSAGES/lyx.mo
28
%%DATADIR%%/CREDITS
28
%%DATADIR%%/CREDITS
29
%%DATADIR%%/bind/aqua.bind
29
%%DATADIR%%/bind/aqua.bind
30
%%DATADIR%%/bind/broadway.bind
30
%%DATADIR%%/bind/broadway.bind
Lines 270-276 Link Here
270
%%DATADIR%%/examples/es/ItemizeBullets.lyx
270
%%DATADIR%%/examples/es/ItemizeBullets.lyx
271
%%DATADIR%%/examples/es/ejemplo_con_lyx.lyx
271
%%DATADIR%%/examples/es/ejemplo_con_lyx.lyx
272
%%DATADIR%%/examples/es/ejemplo_sin_lyx.lyx
272
%%DATADIR%%/examples/es/ejemplo_sin_lyx.lyx
273
%%DATADIR%%/examples/es/mathed.lyx
274
%%DATADIR%%/examples/es/splash.lyx
273
%%DATADIR%%/examples/es/splash.lyx
275
%%DATADIR%%/examples/eu/adibide_gordina.lyx
274
%%DATADIR%%/examples/eu/adibide_gordina.lyx
276
%%DATADIR%%/examples/eu/adibide_lyx-atua.lyx
275
%%DATADIR%%/examples/eu/adibide_lyx-atua.lyx
Lines 415-425 Link Here
415
%%DATADIR%%/images/lyx-quit.xpm
414
%%DATADIR%%/images/lyx-quit.xpm
416
%%DATADIR%%/images/lyx.xpm
415
%%DATADIR%%/images/lyx.xpm
417
%%DATADIR%%/images/marginalnote-insert.xpm
416
%%DATADIR%%/images/marginalnote-insert.xpm
418
%%DATADIR%%/images/math-display.xpm
419
%%DATADIR%%/images/math-matrix.xpm
420
%%DATADIR%%/images/math-mode.xpm
421
%%DATADIR%%/images/math-subscript.xpm
422
%%DATADIR%%/images/math-superscript.xpm
423
%%DATADIR%%/images/math/Bbbk.xpm
417
%%DATADIR%%/images/math/Bbbk.xpm
424
%%DATADIR%%/images/math/Finv.xpm
418
%%DATADIR%%/images/math/Finv.xpm
425
%%DATADIR%%/images/math/Game.xpm
419
%%DATADIR%%/images/math/Game.xpm
Lines 912-917 Link Here
912
%%DATADIR%%/images/math/xi.xpm
906
%%DATADIR%%/images/math/xi.xpm
913
%%DATADIR%%/images/math/xi2.xpm
907
%%DATADIR%%/images/math/xi2.xpm
914
%%DATADIR%%/images/math/zeta.xpm
908
%%DATADIR%%/images/math/zeta.xpm
909
%%DATADIR%%/images/math-display.xpm
910
%%DATADIR%%/images/math-matrix.xpm
911
%%DATADIR%%/images/math-mode.xpm
912
%%DATADIR%%/images/math-subscript.xpm
913
%%DATADIR%%/images/math-superscript.xpm
915
%%DATADIR%%/images/nomencl-insert.xpm
914
%%DATADIR%%/images/nomencl-insert.xpm
916
%%DATADIR%%/images/note-insert.xpm
915
%%DATADIR%%/images/note-insert.xpm
917
%%DATADIR%%/images/note-next.xpm
916
%%DATADIR%%/images/note-next.xpm
Lines 1019-1026 Link Here
1019
%%DATADIR%%/layouts/apa.layout
1018
%%DATADIR%%/layouts/apa.layout
1020
%%DATADIR%%/layouts/arab-article.layout
1019
%%DATADIR%%/layouts/arab-article.layout
1021
%%DATADIR%%/layouts/armenian-article.layout
1020
%%DATADIR%%/layouts/armenian-article.layout
1022
%%DATADIR%%/layouts/article.layout
1023
%%DATADIR%%/layouts/article-beamer.layout
1021
%%DATADIR%%/layouts/article-beamer.layout
1022
%%DATADIR%%/layouts/article.layout
1024
%%DATADIR%%/layouts/beamer.layout
1023
%%DATADIR%%/layouts/beamer.layout
1025
%%DATADIR%%/layouts/book.layout
1024
%%DATADIR%%/layouts/book.layout
1026
%%DATADIR%%/layouts/broadway.layout
1025
%%DATADIR%%/layouts/broadway.layout
Lines 1062-1067 Link Here
1062
%%DATADIR%%/layouts/iopart.layout
1061
%%DATADIR%%/layouts/iopart.layout
1063
%%DATADIR%%/layouts/isprs.layout
1062
%%DATADIR%%/layouts/isprs.layout
1064
%%DATADIR%%/layouts/jgrga.layout
1063
%%DATADIR%%/layouts/jgrga.layout
1064
%%DATADIR%%/layouts/jss.layout
1065
%%DATADIR%%/layouts/kluwer.layout
1065
%%DATADIR%%/layouts/kluwer.layout
1066
%%DATADIR%%/layouts/latex8.layout
1066
%%DATADIR%%/layouts/latex8.layout
1067
%%DATADIR%%/layouts/letter.layout
1067
%%DATADIR%%/layouts/letter.layout
Lines 1222-1227 Link Here
1222
%%DATADIR%%/symbols
1222
%%DATADIR%%/symbols
1223
%%DATADIR%%/syntax.default
1223
%%DATADIR%%/syntax.default
1224
%%DATADIR%%/templates/IEEEtran.lyx
1224
%%DATADIR%%/templates/IEEEtran.lyx
1225
%%DATADIR%%/templates/JSS-article.lyx
1225
%%DATADIR%%/templates/README.new_templates
1226
%%DATADIR%%/templates/README.new_templates
1226
%%DATADIR%%/templates/aa.lyx
1227
%%DATADIR%%/templates/aa.lyx
1227
%%DATADIR%%/templates/aastex.lyx
1228
%%DATADIR%%/templates/aastex.lyx
Lines 1257-1262 Link Here
1257
%%DATADIR%%/ui/stdmenus.inc
1258
%%DATADIR%%/ui/stdmenus.inc
1258
%%DATADIR%%/ui/stdtoolbars.inc
1259
%%DATADIR%%/ui/stdtoolbars.inc
1259
%%DATADIR%%/unicodesymbols
1260
%%DATADIR%%/unicodesymbols
1261
share/pixmaps/lyx.xpm
1260
@dirrmtry share/applications
1262
@dirrmtry share/applications
1261
@dirrm %%DATADIR%%/ui
1263
@dirrm %%DATADIR%%/ui
1262
@dirrm %%DATADIR%%/tex
1264
@dirrm %%DATADIR%%/tex

Return to bug 126428