2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2009/08/10 06:34:56 kili Exp $
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2007-09-06 15:15:13 -04:00
|
|
|
COMMENT= stand-alone Qt-based web browser
|
2006-10-20 20:41:08 -04:00
|
|
|
CATEGORIES= www x11
|
2006-10-20 12:07:24 -04:00
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
MODULES= x11/kde
|
|
|
|
|
2006-10-20 20:41:08 -04:00
|
|
|
DATE= 20060121
|
|
|
|
DISTNAME= konqueror3-embedded-0.2-${DATE}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
EXTRACT_ONLY= konqueror3-embedded-0.2-${DATE}.tar.bz2
|
2006-10-20 12:07:24 -04:00
|
|
|
|
|
|
|
DIST_SUBDIR= kde
|
2006-10-20 20:41:08 -04:00
|
|
|
DISTFILES= konqueror3-embedded-0.2-${DATE}.tar.bz2 kdelibs-3.5.5.tar.bz2:0
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= konqueror-${DATE}p5
|
2006-10-20 20:41:08 -04:00
|
|
|
HOMEPAGE= http://www.konqueror.org/embedded.html
|
|
|
|
MASTER_SITES= http://www.cirulla.net/kdenox-snapshots/snapshots/
|
|
|
|
MASTER_SITES0= ${MASTER_SITE_KDE:=stable/3.5.5/src/}
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2006-10-20 12:07:24 -04:00
|
|
|
SHARED_LIBS= konqe 0.0
|
2006-11-13 07:51:14 -05:00
|
|
|
USE_X11= Yes
|
2003-07-16 13:00:07 -04:00
|
|
|
USE_GMAKE= Yes
|
2002-03-15 17:22:38 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2006-10-20 12:07:24 -04:00
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
MODKDE_VERSION= 3.5.3
|
|
|
|
CONFIGURE_ARGS= ${MODKDE_CONFIGURE_ARGS}
|
2003-05-19 14:21:34 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-add-ons=kplaintext
|
|
|
|
CONFIGURE_ARGS+= --enable-ftp
|
2002-03-15 17:22:38 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-mitshm
|
2003-05-19 14:21:34 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-readwrite
|
|
|
|
CONFIGURE_ARGS+= --enable-sortdir
|
2003-07-16 13:00:07 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-xmlui
|
2006-10-20 12:07:24 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-final
|
|
|
|
CONFIGURE_ARGS+= --without-arts
|
2006-10-20 20:41:08 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-dlopen
|
|
|
|
CONFIGURE_ARGS+= --enable-printing
|
|
|
|
CONFIGURE_ARGS+= --enable-fontsubs
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2006-10-20 12:07:24 -04:00
|
|
|
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= png.>=2::graphics/png \
|
|
|
|
jpeg.>=62::graphics/jpeg \
|
2003-07-16 13:00:07 -04:00
|
|
|
pcreposix,pcre::devel/pcre
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2006-10-20 12:07:24 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2003-05-19 14:21:34 -04:00
|
|
|
KONQ= ${PREFIX}/lib/konq-e
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2003-08-19 15:55:25 -04:00
|
|
|
FLAVORS= kiosk
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mkiosk}
|
|
|
|
CONFIGURE_ARGS+=-with-gui=kiosk
|
|
|
|
.endif
|
|
|
|
|
2003-07-16 13:00:07 -04:00
|
|
|
post-extract:
|
2006-10-20 12:07:24 -04:00
|
|
|
rm ${WRKSRC}/konq-embed/kdesrc/khtml/*.orig
|
|
|
|
cd ${WRKDIR} && bzip2 -c -d ${FULLDISTDIR}/kdelibs-3.5.5.tar.bz2|tar xf - kdelibs-3.5.5/dcop
|
|
|
|
mv ${WRKDIR}/kdelibs-3.5.5/dcop ${WRKSRC}/konq-embed/kdesrc/dcop
|
2003-07-16 13:00:07 -04:00
|
|
|
|
2002-03-17 23:11:20 -05:00
|
|
|
post-build:
|
2006-10-20 20:41:08 -04:00
|
|
|
@sed -e s,%PREFIX%,${TRUEPREFIX}, <${FILESDIR}/konq-e >${WRKDIST}/konq-e
|
2002-03-17 23:11:20 -05:00
|
|
|
|
|
|
|
post-install:
|
2006-10-20 12:07:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/konq-e/share
|
|
|
|
.for d in share/apps share/config share/services apps pics
|
|
|
|
mv ${PREFIX}/$d ${PREFIX}/lib/konq-e/$d
|
2002-03-17 23:11:20 -05:00
|
|
|
.endfor
|
2006-10-20 12:07:24 -04:00
|
|
|
mv ${PREFIX}/bin/konqueror ${PREFIX}/libexec/konq-e
|
2006-10-20 20:41:08 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/konq-e ${PREFIX}/bin
|
2006-10-20 12:07:24 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV=KDECONFIG='/bin/sh ${FILESDIR}/kde-config'
|
2002-03-15 17:22:38 -05:00
|
|
|
|
2003-05-19 14:21:34 -04:00
|
|
|
# GPL
|
2002-03-15 17:22:38 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB= ICE SM X11 Xau Xdmcp Xext c m pthread pthread-stubs \
|
|
|
|
stdc++ xcb z
|
2002-03-15 17:22:38 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|