openbsd-ports/x11/qt2/files/qt2.port.mk

19 lines
590 B
Makefile
Raw Normal View History

# $OpenBSD: qt2.port.mk,v 1.3 2001/10/28 12:30:14 espie Exp $
2001-08-27 04:53:53 -04:00
# This fragment uses MODQT_* variables to make it easier to substitute
# qt1/qt2/qt3 in a port.
LIB_DEPENDS+=lib/qt2/qt.2::x11/qt2
2001-08-27 04:53:53 -04:00
MODQT_LIBDIR= ${LOCALBASE}/lib/qt2
MODQT_INCDIR= ${LOCALBASE}/include/X11/qt2
MODQT_MOC= ${LOCALBASE}/bin/moc2
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 04:53:53 -04:00
CONFIGURE_ENV+= ${_MODQT_SETUP}
MAKE_ENV+= ${_MODQT_SETUP}
MAKE_FLAGS+= ${_MODQT_SETUP}