openbsd-ports/editors/kile/Makefile
2006-06-12 13:38:00 +00:00

53 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2006/06/12 13:38:00 espie Exp $
COMMENT= "integrated LaTeX environment for KDE"
DISTNAME= kile-1.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= editors x11/kde
HOMEPAGE= http://kile.sourceforge.net/
MAINTAINER= David Love <david@dcs.shef.ac.uk>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kile/}
EXTRACT_SUFX= .tar.bz2
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xrender ICE SM c m pthread stdc++ util z \
art_lgpl_2 jpeg pcre pcreposix png idn
LIB_DEPENDS= DCOP,kabc,katepartinterfaces.1,kdecore.4,kdefx,kdeprint,kdesu,kdeui,khtml,kio,kjs,kparts,kresources,kspell.7,ktexteditor.1,kutils,kwalletclient,vcard::x11/kde/libs3
RUN_DEPENDS= kdvi,kpdf::x11/kde/graphics3 \
latex::print/teTeX/base
MODULES= x11/kde devel/gettext
MAKE_ENV= KDEDIR="${LOCALBASE}"
MAKE_FLAGS= ${MODKDE_MAKE_FLAGS}
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.59
USE_LIBTOOL= Yes
MODGNU_CONFIG_GUESS_DIRS=${MODKDE_CONFIG_GUESS_DIRS}
CONFIGURE_ARGS+=${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ENV= ${MODKDE_CONFIGURE_ENV} \
LDADD="-pthread -lm"
pre-configure:
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
${WRKSRC}/src/kile/kile.kcfg
.include <bsd.port.mk>