qt2 module support

This commit is contained in:
espie 2001-08-27 08:53:53 +00:00
parent 224ec1b24a
commit 1867c778d8
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1 @@
.include "${PORTSDIR}/x11/qt2/files/qt2.port.mk"

15
x11/qt2/files/qt2.port.mk Normal file
View File

@ -0,0 +1,15 @@
# $OpenBSD: qt2.port.mk,v 1.1 2001/08/27 08:53:53 espie Exp $
# This fragment uses MODQT_* variables to make it easier to substitute
# qt1/qt2/qt3 in a port.
LIB_DEPENDS+=qt.2::x11/qt2
MODQT_LIBDIR= ${LOCALBASE}/lib/qt2
MODQT_INCDIR= ${LOCALBASE}/include/X11/qt2
MODQT_MOC= ${LOCALBASE}/bin/moc2
MODQT_CONFIGURE_ARGS=--with-qt-includes=${MODQT_INCDIR}
MODQT_CONFIGURE_ARGS+=--with-qt-libraries=${MODQT_LIBDIR}
CONFIGURE_ENV+= MOC=${MODQT_MOC}
MAKE_ENV+= MOC=${MODQT_MOC}
MAKE_FLAGS+= MOC=${MODQT_MOC}