06d982b9fd
Embrace glib2 support, namely produce a subpackage that glib2 applications can use to get mcop support. (disabled with pseudo flavor no_glib if you're in a hurry)
40 lines
833 B
Makefile
40 lines
833 B
Makefile
# $OpenBSD: Makefile,v 1.15 2002/12/03 13:58:19 espie Exp $
|
|
|
|
COMMENT= "X11 toolkit, multimedia hub"
|
|
COMMENT-gmcop= "glib support for mcop"
|
|
CATEGORIES= x11 x11/kde
|
|
VERSION= 3.0.5
|
|
DISTNAME= arts-1.0.5
|
|
|
|
NOT_FOR_ARCHS=
|
|
LIB_DEPENDS= audiofile::devel/libaudiofile
|
|
SEPARATE_BUILD=simple
|
|
|
|
PSEUDO_FLAVORS=no_glib
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L}=="no_glib"
|
|
CONFIGURE_ENV+=ac_cv_path_PKG_CONFIG=no
|
|
.else
|
|
MULTI_PACKAGES=-gmcop
|
|
BUILD_DEPENDS=::devel/glib2
|
|
.endif
|
|
|
|
SUBPACKAGE?=
|
|
|
|
.if ${SUBPACKAGE} == "-gmcop"
|
|
LIB_DEPENDS+=glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.0::devel/glib2
|
|
.endif
|
|
|
|
pre-build:
|
|
@if pkg dependencies check kdelibs-\*; then \
|
|
if pkg dependencies check ${DISTNAME}; then \
|
|
:; \
|
|
else \
|
|
echo 1>&2 "Error: you must remove your old kdelibs first"; \
|
|
exit 1; \
|
|
fi; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|