2004-08-03 05:18:38 -04:00
|
|
|
# $OpenBSD: qt.port.mk,v 1.1 2004/08/03 09:18:39 espie Exp $
|
2001-08-27 05:08:57 -04:00
|
|
|
|
|
|
|
# This fragment uses MODQT_* variables to make it easier to substitute
|
|
|
|
# qt1/qt2/qt3 in a port.
|
2001-10-28 07:30:13 -05:00
|
|
|
LIB_DEPENDS+=lib/qt/qt.1::x11/qt
|
2001-08-27 05:08:57 -04:00
|
|
|
|
|
|
|
MODQT_LIBDIR= ${LOCALBASE}/lib/qt
|
|
|
|
MODQT_INCDIR= ${LOCALBASE}/include/X11/qt
|
|
|
|
MODQT_MOC= ${LOCALBASE}/bin/moc
|
2001-08-27 05:54:11 -04:00
|
|
|
MODQT_CONFIGURE_ARGS= --with-qt-includes=${MODQT_INCDIR} \
|
|
|
|
--with-qt-libraries=${MODQT_LIBDIR}
|
|
|
|
_MODQT_SETUP= MOC=${MODQT_MOC} \
|
|
|
|
MODQT_INCDIR=${MODQT_INCDIR} \
|
|
|
|
MODQT_LIBDIR=${MODQT_LIBDIR}
|
2001-08-27 05:08:57 -04:00
|
|
|
|
2001-08-27 05:54:11 -04:00
|
|
|
CONFIGURE_ENV+= ${_MODQT_SETUP}
|
|
|
|
MAKE_ENV+= ${_MODQT_SETUP}
|
|
|
|
MAKE_FLAGS+= ${_MODQT_SETUP}
|