diff options
author | Alberto Villa <avilla@FreeBSD.org> | 2011-10-17 00:03:42 +0000 |
---|---|---|
committer | Alberto Villa <avilla@FreeBSD.org> | 2011-10-17 00:03:42 +0000 |
commit | a2d3b5a4bc5047210b788a128596ec34749ffa11 (patch) | |
tree | c3c20b47c3435ddcaf02b8570db6aab5b70011af /graphics/libkdcraw-kde4/Makefile | |
parent | da6ade2349d0bdc372133d4d97bc6988aee94238 (diff) | |
download | ports-a2d3b5a4bc5047210b788a128596ec34749ffa11.tar.gz ports-a2d3b5a4bc5047210b788a128596ec34749ffa11.zip |
Notes
Diffstat (limited to 'graphics/libkdcraw-kde4/Makefile')
-rw-r--r-- | graphics/libkdcraw-kde4/Makefile | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/graphics/libkdcraw-kde4/Makefile b/graphics/libkdcraw-kde4/Makefile index 49a5de7e75e6..86a9815aab02 100644 --- a/graphics/libkdcraw-kde4/Makefile +++ b/graphics/libkdcraw-kde4/Makefile @@ -1,31 +1,36 @@ -# New ports collection makefile for: libkdcraw -# Date created: 22 June 2007 -# Whom: Alex Dupre <ale@FreeBSD.org> +# New ports collection makefile for: libkdcraw-kde4 +# Date created: Sat 13 Aug 2011, 23:48:30 +# Whom: Dima Panov <fluffy@FreeBSD.org> # # $FreeBSD$ PORTNAME= libkdcraw -PORTVERSION= 0.1.9 -PORTREVISION= 4 -CATEGORIES= graphics 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 -COMMENT= A C++ interface around the LibRaw library +MAINTAINER= kde@FreeBSD.org +COMMENT= A LibRaw interface for KDE LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms +LATEST_LINK= ${PORTNAME}-kde4 + +CONFLICTS= kdegraphics-4.[0-6].* + USE_BZIP2= yes -USE_GETTEXT= yes -USE_KDELIBS_VER=3 -USE_GNOME= gnomehack pkgconfig -USE_GMAKE= yes -USE_AUTOTOOLS= libtool -USE_LDCONFIG= yes -INSTALLS_ICONS= yes - -post-patch: - @${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \ - ${WRKSRC}/${CONFIGURE_SCRIPT} +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 + +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> |