aboutsummaryrefslogtreecommitdiff
path: root/misc/qt4-qtconfig
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-02-03 17:21:56 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-02-03 17:21:56 +0000
commitc2dd4d2e2d1073e25997d892bd76aac5e841d55b (patch)
tree66fbbfbf5bab18e735ad851a8c6925ac9e54cd31 /misc/qt4-qtconfig
parentdc0df90ca8b14adc6647caf42bd1d0b88fc9ca01 (diff)
downloadports-c2dd4d2e2d1073e25997d892bd76aac5e841d55b.tar.gz
ports-c2dd4d2e2d1073e25997d892bd76aac5e841d55b.zip
Notes
Diffstat (limited to 'misc/qt4-qtconfig')
-rw-r--r--misc/qt4-qtconfig/Makefile27
-rw-r--r--misc/qt4-qtconfig/pkg-plist1
2 files changed, 18 insertions, 10 deletions
diff --git a/misc/qt4-qtconfig/Makefile b/misc/qt4-qtconfig/Makefile
index 419d9d5a0ea4..eb0b30a5a24a 100644
--- a/misc/qt4-qtconfig/Makefile
+++ b/misc/qt4-qtconfig/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: qt40
-# Date created: Wed Jun 29 11:49:42 CEST 2005
-# Whom: lofi@freebsd.org
-#
+# Created by: lofi@freebsd.org
# $FreeBSD$
-#
PORTNAME= qtconfig
DISTVERSION= ${QT4_VERSION}
@@ -13,10 +9,13 @@ PKGNAMEPREFIX= qt4-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt graphical configuration utility
-OPTIONS= PHONON "Add support for Phonon (implies GStreamer)" on
+OPTIONS_DEFINE= PHONON
+OPTIONS_DEFAULT=PHONON
-USE_QT4= qmake_build moc_build rcc_build uic_build qt3support corelib \
- gui sql xml
+PHONON_DESC= Multimedia via Phonon (implies GStreamer)
+
+USE_QT4= qmake_build moc_build rcc_build uic_build \
+ dbus gui xml
QT_NONSTANDARD= yes
QT_DIST= yes
@@ -27,6 +26,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}" \
+ "${PREFIX}/share/pixmaps/qtconfig-qt4.png" \
+ "${PREFIX}/bin/qtconfig-qt4" "Settings;Qt;" true
+
DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
src/activeqt src/dbus src/multimedia src/network src/opengl \
src/openvg src/s60installs src/s60main src/script \
@@ -41,11 +44,11 @@ EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_PHONON)
+.if ${PORT_OPTIONS:MPHONON}
USE_QT4+= phonon phonon-gst
USE_GSTREAMER= yes
.else
-CONFIGURE_ARGS+= -no-phonon -no-gstreamer
+CONFIGURE_ARGS+=-no-phonon -no-gstreamer
.endif
BUILD_WRKSRC= ${WRKSRC}/tools/${PORTNAME}
@@ -63,4 +66,8 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/bin/uic
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
+post-install:
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/images/appicon.png \
+ ${PREFIX}/share/pixmaps/qtconfig-qt4.png
+
.include <bsd.port.mk>
diff --git a/misc/qt4-qtconfig/pkg-plist b/misc/qt4-qtconfig/pkg-plist
index 4779a9bc5a0e..c47b7dd39e55 100644
--- a/misc/qt4-qtconfig/pkg-plist
+++ b/misc/qt4-qtconfig/pkg-plist
@@ -1,2 +1,3 @@
bin/qtconfig-qt4
%%DEBUG%%bin/qtconfig-qt4.debug
+share/pixmaps/qtconfig-qt4.png