2002-09-21 17:49:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2002/09/21 21:49:35 brad Exp $
|
2002-08-05 01:02:55 -04:00
|
|
|
|
|
|
|
COMMENT= "image viewer for KDE"
|
|
|
|
|
2002-09-21 17:49:35 -04:00
|
|
|
DISTNAME= gwenview-0.14.5
|
2002-08-05 01:02:55 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gwenview/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
HOMEPAGE= http://gwenview.sourceforge.net/home/
|
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS= kdecore.4,DCOP,kdefx,kdesu,kdeui,kio::x11/kde/libs3
|
|
|
|
|
|
|
|
MODULES= qt3
|
|
|
|
|
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
|
|
|
|
MAKE_ENV= KDEDIR="${LOCALBASE}"
|
2002-08-05 16:32:51 -04:00
|
|
|
# Ensure Qt3 will always be at the front
|
2002-08-05 01:02:55 -04:00
|
|
|
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
|
|
|
|
CONFIGURE_ARGS+= --disable-debug --enable-final
|
|
|
|
CONFIGURE_ARGS+= --disable-threading --disable-mt
|
|
|
|
CONFIGURE_ARGS+= --with-extra-libs="${LOCALBASE}/lib"
|
2002-08-05 16:32:51 -04:00
|
|
|
CONFIGURE_ARGS+= --with-extra-includes="${LOCALBASE}/include/libpng:${LOCALBASE}/include"
|
2002-08-05 01:02:55 -04:00
|
|
|
CONFIGURE_ARGS+= --with-xinerama
|
2002-08-05 16:32:51 -04:00
|
|
|
CONFIGURE_ENV= KDEDIR="${LOCALBASE}"
|
2002-08-05 01:02:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|