aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/qt5-pixeltool
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2014-03-04 00:50:32 +0800
committermakc <makc@FreeBSD.org>2014-03-04 00:50:32 +0800
commitc05a76ed15368176b937f2b06dad88f13e12f4f0 (patch)
tree0facf8a13da71e87170cdfcf5902ed77d09cb72f /graphics/qt5-pixeltool
parent5e6b17ee28fc3150198fa33fda5c63d81fbc8872 (diff)
downloadfreebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.tar.gz
freebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.tar.zst
freebsd-ports-gnome-c05a76ed15368176b937f2b06dad88f13e12f4f0.zip
KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports. Trivial update from 5.2.0-beta1 to 5.2.1 by me. Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for Qt-5.2.0 update. Approved by: portmgr (bapt) (for Mk/bsd.port.mk)
Diffstat (limited to 'graphics/qt5-pixeltool')
-rw-r--r--graphics/qt5-pixeltool/Makefile27
-rw-r--r--graphics/qt5-pixeltool/pkg-plist3
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/qt5-pixeltool/Makefile b/graphics/qt5-pixeltool/Makefile
new file mode 100644
index 000000000000..00e5835457c4
--- /dev/null
+++ b/graphics/qt5-pixeltool/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= pixeltool
+DISTVERSION= ${QT5_VERSION}
+CATEGORIES= graphics
+PKGNAMEPREFIX= qt5-
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt 5 screen magnifier
+
+USE_QT5= core network widgets buildtools_build
+QT_DIST= tools
+USES= qmake
+
+# qt5logo.png is installed by qt5-widgets.
+DESKTOP_ENTRIES="Qt 5 PixelTool" "" \
+ "${QT_PREFIX}/share/pixmaps/qt5logo.png" \
+ "${PREFIX}/${QT_BINDIR_REL}/pixeltool" \
+ "Graphics;Qt;" true
+
+WRKSRC_SUBDIR= src/${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e '/DESTDIR/ d' \
+ ${WRKSRC}/pixeltool.pro
+
+.include <bsd.port.mk>
diff --git a/graphics/qt5-pixeltool/pkg-plist b/graphics/qt5-pixeltool/pkg-plist
new file mode 100644
index 000000000000..735a1ebfa035
--- /dev/null
+++ b/graphics/qt5-pixeltool/pkg-plist
@@ -0,0 +1,3 @@
+%%QT_BINDIR%%/pixeltool
+@dirrmtry %%QT_BINDIR%%
+@dirrmtry %%QT_ARCHDIR%%