openbsd-ports/graphics/gwenview/Makefile
2002-09-21 21:49:35 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2002/09/21 21:49:35 brad Exp $
COMMENT= "image viewer for KDE"
DISTNAME= gwenview-0.14.5
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}"
# Ensure Qt3 will always be at the front
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"
CONFIGURE_ARGS+= --with-extra-includes="${LOCALBASE}/include/libpng:${LOCALBASE}/include"
CONFIGURE_ARGS+= --with-xinerama
CONFIGURE_ENV= KDEDIR="${LOCALBASE}"
.include <bsd.port.mk>