Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / gambatte / options.mk
blob875aa7a1d26b20fda567df9758fcdd0a491f3a8c
1 # $NetBSD$
3 PKG_OPTIONS_VAR= PKG_OPTIONS.gambatte
4 PKG_SUPPORTED_OPTIONS= qt
6 .include "../../mk/bsd.options.mk"
8 PLIST_VARS= qt
10 .if !empty(PKG_OPTIONS:Mqt)
11 # does not work well without GL:
12 # Xlib: extension "GLX" missing on display ":0.0".
13 # QGLContext::makeCurrent(): Cannot make invalid context current.
14 # Segmentation fault (core dumped)
15 PLIST.qt= yes
17 post-build:
18 cd ${WRKSRC}/gambatte_qt && \
19 ${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake && \
20 ${SETENV} ${MAKE_ENV} ${MAKE}
22 post-install:
23 ${INSTALL_PROGRAM} ${WRKSRC}/gambatte_qt/bin/gambatte_qt \
24 ${DESTDIR}${PREFIX}/bin
26 .include "../../x11/qt4-libs/buildlink3.mk"
27 .include "../../x11/qt4-tools/buildlink3.mk"
28 .include "../../x11/libXv/buildlink3.mk"
29 .include "../../mk/oss.buildlink3.mk"
30 .endif