aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-01-06 21:30:31 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-01-06 21:30:31 +0000
commitf6ceca63504679b05ea4fc24a195a301e2303d1f (patch)
treea6e116c43545a3682fe63db4bdca54e6fb24567e /print
parent78a4d3df994a008dd752fd82307fd6d31aa18f3a (diff)
downloadports-f6ceca63504679b05ea4fc24a195a301e2303d1f.tar.gz
ports-f6ceca63504679b05ea4fc24a195a301e2303d1f.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/qt5-printsupport/Makefile7
-rw-r--r--print/qt5-printsupport/pkg-plist3
2 files changed, 10 insertions, 0 deletions
diff --git a/print/qt5-printsupport/Makefile b/print/qt5-printsupport/Makefile
index 27afe0bb59d2..924f001d2668 100644
--- a/print/qt5-printsupport/Makefile
+++ b/print/qt5-printsupport/Makefile
@@ -29,11 +29,18 @@ CUPS_LIB_DEPENDS= libcups.so:print/cups
.if ${PORT_OPTIONS:MCUPS}
QT_DEFINES+= CUPS
QT_CONFIG+= cups
+MORE_WRKSRCS+= src/plugins/printsupport
.else
QT_DEFINES+= -CUPS
QT_CONFIG+= -cups
.endif
+post-configure:
+.for d in src/printsupport ${MORE_WRKSRCS}
+ ${MKDIR} ${WRKSRC}/${d}
+ cd ${WRKSRC}/${d} && ${SETENV} ${QMAKE_ENV} ${_QMAKE} ${QMAKE_ARGS} ${WRKSRC}/${d}
+.endfor
+
post-build:
.if ${PORT_OPTIONS:MCUPS}
@cd ${WRKSRC}/src/plugins/${PORTNAME}/cups && \
diff --git a/print/qt5-printsupport/pkg-plist b/print/qt5-printsupport/pkg-plist
index 3b65ee6767e9..ef82169a559a 100644
--- a/print/qt5-printsupport/pkg-plist
+++ b/print/qt5-printsupport/pkg-plist
@@ -11,6 +11,8 @@
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/private/qprintengine_win_p.h
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/private/qprinter_p.h
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/private/qprinterinfo_p.h
+%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/private/qtprintsupport-config_p.h
+%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/private/qtprintsupportglobal_p.h
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/qpa/qplatformprintdevice.h
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/qpa/qplatformprintersupport.h
%%QT_INCDIR%%/QtPrintSupport/%%FULLVER%%/QtPrintSupport/qpa/qplatformprintplugin.h
@@ -33,6 +35,7 @@
%%QT_INCDIR%%/QtPrintSupport/qprinterinfo.h
%%QT_INCDIR%%/QtPrintSupport/qprintpreviewdialog.h
%%QT_INCDIR%%/QtPrintSupport/qprintpreviewwidget.h
+%%QT_INCDIR%%/QtPrintSupport/qtprintsupport-config.h
%%QT_INCDIR%%/QtPrintSupport/qtprintsupportglobal.h
%%QT_INCDIR%%/QtPrintSupport/qtprintsupportversion.h
%%QT_CMAKEDIR%%/Qt5PrintSupport/Qt5PrintSupportConfig.cmake