2010-11-20 04:48:38 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.59 2010/11/20 09:48:39 espie Exp $
|
1998-07-12 03:08:40 -04:00
|
|
|
|
2007-09-15 17:36:44 -04:00
|
|
|
COMMENT= graphical frontend for LaTeX (nearly WYSIWYG)
|
2001-03-28 04:32:31 -05:00
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
DISTNAME= lyx-1.6.6.1
|
2010-08-30 14:29:28 -04:00
|
|
|
REVISION= 1
|
2010-06-04 18:43:33 -04:00
|
|
|
CATEGORIES= print editors
|
1998-07-12 03:08:40 -04:00
|
|
|
|
2001-05-21 01:54:39 -04:00
|
|
|
HOMEPAGE= http://www.lyx.org/
|
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/ \
|
|
|
|
ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/
|
2001-11-10 09:36:58 -05:00
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
# GPLv2
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
MODULES= devel/gettext lang/python x11/qt4
|
2006-07-05 15:35:18 -04:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
RUN_DEPENDS= print/texlive/base \
|
|
|
|
graphics/ImageMagick
|
2006-07-16 14:02:14 -04:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
LIB_DEPENDS= x11/qt4>=4.5.3 \
|
|
|
|
devel/boost \
|
|
|
|
textproc/aspell/core
|
2006-07-05 15:35:18 -04:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
WANTLIB += QtGui>=8 X11 aspell c m pthread stdc++ z
|
|
|
|
WANTLIB += boost_filesystem-mt>=1 boost_iostreams-mt>=1
|
|
|
|
WANTLIB += boost_regex-mt>=1 boost_signals-mt>=1
|
2010-06-16 14:47:50 -04:00
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2007-04-06 02:33:03 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2004-04-25 11:34:08 -04:00
|
|
|
USE_GMAKE= Yes
|
2010-10-18 17:25:07 -04:00
|
|
|
USE_GROFF = Yes
|
2004-04-25 11:34:08 -04:00
|
|
|
|
2003-01-05 19:13:22 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-04-25 11:34:08 -04:00
|
|
|
|
2010-06-04 18:43:33 -04:00
|
|
|
CONFIGURE_ARGS= --with-extra-lib="${X11BASE}/lib ${LOCALBASE}/lib" \
|
|
|
|
--with-extra-inc="${X11BASE}/include ${LOCALBASE}/include" \
|
|
|
|
--without-aiksaurus \
|
|
|
|
--without-included-boost \
|
|
|
|
--enable-threads=posix
|
|
|
|
CONFIGURE_ENV+= PYTHON=${MODPY_BIN} MOC4=${MODQT4_MOC} UIC4=${MODQT4_UIC} \
|
|
|
|
ac_cv_func_fork=yes LIBS=-pthread
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
perl -pi -e "s,python -tt,${MODPY_BIN} -tt," \
|
|
|
|
${WRKSRC}/src/support/os.cpp
|
|
|
|
perl -pi -e "s,#! ?/usr/bin/(env )?python,#!${MODPY_BIN}," \
|
|
|
|
${WRKSRC}/lib/lyx2lyx/lyx2lyx \
|
|
|
|
${WRKSRC}/lib/scripts/listerrors \
|
|
|
|
${WRKSRC}/src/graphics/GraphicsConverter.cpp
|
|
|
|
find ${WRKSRC} -name "*.py" -print0 | xargs -0 \
|
|
|
|
perl -pi -e "s,#! ?/usr/bin/(env )?python,#!${MODPY_BIN},"
|
1998-07-12 03:08:40 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|