diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-06 16:16:52 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-06 16:16:52 +0000 |
commit | 7d5e6b666c579d543fbf4c0996e309e23de8e02e (patch) | |
tree | e9ca925ce8537078366a02e4f615c5847746c0b5 /misc/qt4-qtconfig | |
parent | b60b2bc8f43a72af43a1f5ff0df9828880c2b7a8 (diff) | |
download | ports-7d5e6b666c579d543fbf4c0996e309e23de8e02e.tar.gz ports-7d5e6b666c579d543fbf4c0996e309e23de8e02e.zip |
Notes
Diffstat (limited to 'misc/qt4-qtconfig')
-rw-r--r-- | misc/qt4-qtconfig/Makefile | 45 | ||||
-rw-r--r-- | misc/qt4-qtconfig/pkg-descr | 12 | ||||
-rw-r--r-- | misc/qt4-qtconfig/pkg-plist | 4 |
3 files changed, 21 insertions, 40 deletions
diff --git a/misc/qt4-qtconfig/Makefile b/misc/qt4-qtconfig/Makefile index 4ea5aaf38021..ed75701b648f 100644 --- a/misc/qt4-qtconfig/Makefile +++ b/misc/qt4-qtconfig/Makefile @@ -3,21 +3,16 @@ PORTNAME= qtconfig DISTVERSION= ${QT4_VERSION} -CATEGORIES?= misc +PORTREVISION= 1 +CATEGORIES= misc PKGNAMEPREFIX= qt4- MAINTAINER= kde@FreeBSD.org -COMMENT= Qt graphical configuration utility - -OPTIONS_DEFINE= PHONON -OPTIONS_DEFAULT=PHONON - -PHONON_DESC= Multimedia via Phonon (implies GStreamer) +COMMENT= Qt 4 graphical configuration utility USES= pkgconfig USE_QT4= qmake_build moc_build rcc_build uic_build \ - dbus gui xml -QT_NONSTANDARD= yes + corelib dbus gui xml QT_DIST= yes HAS_CONFIGURE= yes @@ -27,9 +22,10 @@ CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \ PATH=${WRKSRC}/bin:$$PATH -DESKTOP_ENTRIES="Qt Configuration" "${COMMENT}" \ +DESKTOP_ENTRIES="Qt 4 Configuration" "" \ "${PREFIX}/share/pixmaps/qtconfig-qt4.png" \ - "${PREFIX}/bin/qtconfig-qt4" "Settings;Qt;" true + "${PREFIX}/${QT_BINDIR_REL}/qtconfig${_QT_BINSUFX}" \ + "Settings;Qt;" true DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \ src/activeqt src/dbus src/multimedia src/network src/opengl \ @@ -42,32 +38,29 @@ DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}' .endfor -.include <bsd.port.options.mk> +OPTIONS_DEFINE= PHONON +OPTIONS_DEFAULT=PHONON -.if ${PORT_OPTIONS:MPHONON} -USE_QT4+= phonon phonon-gst -USE_GSTREAMER= yes -.else -CONFIGURE_ARGS+=-no-phonon -no-gstreamer -.endif +PHONON_DESC= Phonon multimedia framework support (implies GStreamer) +PHONON_USE= GSTREAMER=yes QT4=phonon,phonon-gst +PHONON_CONFIGURE_ON= -phonon -gstreamer +PHONON_CONFIGURE_OFF= -no-phonon -no-gstreamer BUILD_WRKSRC= ${WRKSRC}/tools/${PORTNAME} INSTALL_WRKSRC= ${BUILD_WRKSRC} -EXTRA_PATCHES+= ${.CURDIR}/../../devel/qt4/files/patch-configure - pre-configure: - ${REINPLACE_CMD} -e 's|^TARGET.*|TARGET=qtconfig-qt4|g' \ + ${REINPLACE_CMD} -e 's|^TARGET.*|TARGET=qtconfig${_QT_BINSUFX}|g' \ ${BUILD_WRKSRC}/${PORTNAME}.pro ${ECHO_CMD} "INCLUDEPATH+=${EXTRA_INCL}" >> ${BUILD_WRKSRC}/${PORTNAME}.pro ${MKDIR} ${WRKSRC}/mkspecs - ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake - ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc - ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/bin/uic - ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc + ${LN} -sf ${QMAKE} ${WRKSRC}/bin/qmake + ${LN} -sf ${MOC} ${WRKSRC}/bin/moc + ${LN} -sf ${UIC} ${WRKSRC}/bin/uic + ${LN} -sf ${RCC} ${WRKSRC}/bin/rcc post-install: - ${INSTALL_DATA} ${BUILD_WRKSRC}/images/appicon.png \ + ${INSTALL_DATA} ${INSTALL_WRKSRC}/images/appicon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/qtconfig-qt4.png .include <bsd.port.mk> diff --git a/misc/qt4-qtconfig/pkg-descr b/misc/qt4-qtconfig/pkg-descr deleted file mode 100644 index 36bc69717e98..000000000000 --- a/misc/qt4-qtconfig/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -Qt is a C++ toolkit for application development. It lets application -developers target all major operating systems with a single application -source code. - -Qt provides a platform-independent API to all central platform functionality: -GUI, database access, networking, file handling, etc. The Qt library -encapsulates the different APIs of different operating systems, providing -the application programmer with a single, common API for all operating systems. -The native C APIs are encapsulated in a set of well-designed, fully -object-oriented C++ classes. - -WWW: http://qt.nokia.com/products/qt/index.html diff --git a/misc/qt4-qtconfig/pkg-plist b/misc/qt4-qtconfig/pkg-plist index c47b7dd39e55..69e61d0c8045 100644 --- a/misc/qt4-qtconfig/pkg-plist +++ b/misc/qt4-qtconfig/pkg-plist @@ -1,3 +1,3 @@ -bin/qtconfig-qt4 -%%DEBUG%%bin/qtconfig-qt4.debug +%%QT_BINDIR%%/qtconfig-qt4 +%%DEBUG%%%%QT_BINDIR%%/qtconfig-qt4.debug share/pixmaps/qtconfig-qt4.png |