Take inspiration from debian and append -qt5 suffix to the library name for the qt5 FLAVOR. Split the common headers/manpages/doc into a separate subpackage, put the library/qt files in another subpackage that depende on the latter (and that doesnt conflict with 'the other flavor', and finally add the correct @conflict/@pkgpath markers for proper upgrade path. Most of the work done by rsadowski@, i just did the polishing with help from espie@ ok rsadowski@
11 lines
353 B
Plaintext
11 lines
353 B
Plaintext
@comment $OpenBSD: PLIST-main,v 1.1 2018/05/28 18:47:00 landry Exp $
|
|
@option no-default-conflict
|
|
@conflict qwt-<6.1.3p0
|
|
!%%qt5%%
|
|
%%qt5%%
|
|
lib/${QTVER}/mkspecs/features/qwt.prf
|
|
lib/${QTVER}/mkspecs/features/qwtconfig.pri
|
|
lib/${QTVER}/mkspecs/features/qwtfunctions.pri
|
|
lib/${QTVER}/plugins/designer/
|
|
lib/${QTVER}/plugins/designer/libqwt_designer_plugin.so
|