diff options
Diffstat (limited to 'graphics/libkipi-kde4/Makefile')
-rw-r--r-- | graphics/libkipi-kde4/Makefile | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/graphics/libkipi-kde4/Makefile b/graphics/libkipi-kde4/Makefile index 88eb27e517b1..e6f0b9761cdb 100644 --- a/graphics/libkipi-kde4/Makefile +++ b/graphics/libkipi-kde4/Makefile @@ -1,31 +1,34 @@ -# New ports collection makefile for: libkipi -# Date created: Mon Oct 18 19:41:36 CEST 2004 -# Whom: Markus Brueffer <markus@FreeBSD.org> +# New ports collection makefile for: libkipi-kde4 +# Date created: Sun 14 Aug 2011, 00:52:06 +# Whom: Dima Panov <fluffy@FreeBSD.org> # # $FreeBSD$ PORTNAME= libkipi -PORTVERSION= 0.1.6 -PORTREVISION= 5 -CATEGORIES= graphics kde devel -MASTER_SITES= SF/kipi/${PORTNAME}/${PORTVERSION} +PORTVERSION= ${KDE4_VERSION} +CATEGORIES= graphics kde +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +DIST_SUBDIR= KDE -MAINTAINER= ale@FreeBSD.org +MAINTAINER= kde@FreeBSD.org COMMENT= KDE Image Plugin Interface +LATEST_LINK= ${PORTNAME}-kde4 + +CONFLICTS= kdegraphics-4.[0-6].* + USE_BZIP2= yes -USE_KDELIBS_VER=3 -USE_GNOME= gnomehack pkgconfig -USE_GMAKE= yes -USE_AUTOTOOLS= libtool -USE_LDCONFIG= yes -USE_GETTEXT= yes +USE_KDE4= automoc4 kdehier kdeprefix kdelibs +KDE4_BUILDENV= yes +USE_QT_VER= 4 +QT_COMPONENTS= dbus gui xml \ + moc_build qmake_build rcc_build uic_build +MAKE_JOBS_SAFE= yes -post-patch: - @${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \ - ${WRKSRC}/${CONFIGURE_SCRIPT} - @${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \ - ${WRKSRC}/libkipi/Makefile.in - @${TOUCH} ${WRKSRC}/libkipi/libkipi/* +pre-configure: + ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \ + -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \ + ${WRKSRC}/CMakeLists.txt .include <bsd.port.mk> |