convert to the new MULTI_PACKAGES setup
This commit is contained in:
parent
15375beded
commit
25f136ac46
@ -1,15 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.55 2006/10/02 23:18:26 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.56 2006/11/20 12:02:29 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.33 1999/02/27 03:09:57 andreas Exp $
|
||||
COMMENT= "C++ X11 GUI toolkit"
|
||||
|
||||
COMMENT-main= "C++ X11 GUI toolkit"
|
||||
COMMENT-examples= "examples and tutorial for qt2"
|
||||
COMMENT-html= "off-line html documentation for qt2"
|
||||
|
||||
VERSION= 3.2
|
||||
DISTNAME= qt-2.${VERSION}
|
||||
CATEGORIES= x11
|
||||
PKGNAME= qt2-${VERSION}p2
|
||||
|
||||
PKGNAME-main= qt2-${VERSION}p3
|
||||
PKGNAME-examples= qt2-examples-${VERSION}p0
|
||||
PKGNAME-html= qt2-html-${VERSION}p0
|
||||
|
||||
SHARED_LIBS= qt 20.0
|
||||
|
||||
|
||||
@ -25,7 +28,6 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
myWANTLIB= GL GLU X11 Xext Xmu c m stdc++ z
|
||||
|
||||
#CXXFLAGS+= -g
|
||||
|
||||
@ -46,8 +48,7 @@ CONFIGURE_ARGS= -gif -system-libmng -system-libpng -system-jpeg \
|
||||
|
||||
CONFIGURE_ENV= QTDIR="${WRKSRC}" MODULES="${QTMODULES}"
|
||||
|
||||
MULTI_PACKAGES= -examples -html
|
||||
SUBPACKAGE?=
|
||||
MULTI_PACKAGES=-main -examples -html
|
||||
|
||||
QTMODULES= tools kernel widgets dialogs \
|
||||
iconview workspace network canvas table xml
|
||||
@ -56,27 +57,19 @@ EXTRA_SAMPLES=
|
||||
QTMODULES+= opengl
|
||||
EXTRA_SAMPLES+=box gear glpixmap overlay overlay_x11 sharedbox
|
||||
|
||||
.if ${SUBPACKAGE} != "-examples"
|
||||
myWANTLIB+= lcms ICE Xft SM jpeg
|
||||
.endif
|
||||
.if !defined(PACKAGING) || ${SUBPACKAGE} == "-examples"
|
||||
myWANTLIB+= pthread
|
||||
.endif
|
||||
|
||||
LIB_DEPENDS=
|
||||
myWANTLIB= GL GLU X11 Xext Xmu c m stdc++ z
|
||||
|
||||
WANTLIB-examples= ${myWANTLIB} pthread
|
||||
WANTLIB-main= ${myWANTLIB} lcms ICE Xft SM jpeg
|
||||
|
||||
LIB_DEPENDS-main= png::graphics/png \
|
||||
mng::graphics/libmng
|
||||
|
||||
LIB_DEPENDS-examples= lib/qt2/qt.>=2.::x11/qt2
|
||||
|
||||
PKG_ARCH-html= *
|
||||
|
||||
.if !defined(PACKAGING) || ${SUBPACKAGE} != "-html"
|
||||
LIB_DEPENDS+= png::graphics/png \
|
||||
mng::graphics/libmng
|
||||
WANTLIB= ${myWANTLIB}
|
||||
.endif
|
||||
.if defined(PACKAGING)
|
||||
. if ${SUBPACKAGE} == "-examples"
|
||||
LIB_DEPENDS= lib/qt2/qt.>=2.::x11/qt2
|
||||
. elif ${SUBPACKAGE} == "-html"
|
||||
PKG_ARCH= *
|
||||
. endif
|
||||
.endif
|
||||
|
||||
QT_INCDIR= ${PREFIX}/include/X11/qt2
|
||||
TRUEDIR= ${TRUEPREFIX}/lib/qt2
|
||||
|
@ -1,2 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.no-shared,v 1.4 2001/03/21 23:56:51 espie Exp $
|
||||
lib/qt2/libqt.a
|
2
x11/qt2/pkg/PFRAG.no-shared-main
Normal file
2
x11/qt2/pkg/PFRAG.no-shared-main
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no-shared-main,v 1.1 2006/11/20 12:02:29 espie Exp $
|
||||
lib/qt2/libqt.a
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.16 2005/12/29 13:43:40 espie Exp $
|
||||
@lib lib/libqt.so.${LIBqt_VERSION}
|
||||
@lib lib/qt2/libqt.so.${LIBqt_VERSION}
|
3
x11/qt2/pkg/PFRAG.shared-main
Normal file
3
x11/qt2/pkg/PFRAG.shared-main
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2006/11/20 12:02:29 espie Exp $
|
||||
@lib lib/libqt.so.${LIBqt_VERSION}
|
||||
@lib lib/qt2/libqt.so.${LIBqt_VERSION}
|
@ -1,4 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.18 2005/03/06 14:17:45 espie Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.1 2006/11/20 12:02:29 espie Exp $
|
||||
@pkgpath x11/qt2
|
||||
bin/findtr
|
||||
bin/moc2
|
||||
bin/qt20fix
|
@ -1,8 +1,10 @@
|
||||
# $OpenBSD: qt2.port.mk,v 1.2 2006/08/01 22:55:53 espie Exp $
|
||||
# $OpenBSD: qt2.port.mk,v 1.3 2006/11/20 12:02:29 espie Exp $
|
||||
|
||||
# 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
|
||||
|
||||
MODQT_LIB_DEPENDS=lib/qt2/qt.>=2::x11/qt2
|
||||
LIB_DEPENDS+= ${MODQT_LIB_DEPENDS}
|
||||
|
||||
MODQT_LIBDIR= ${LOCALBASE}/lib/qt2
|
||||
MODQT_INCDIR= ${LOCALBASE}/include/X11/qt2
|
||||
|
Loading…
Reference in New Issue
Block a user