2004-02-01 17:19:28 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2004/02/01 22:19:28 espie Exp $
|
2002-03-23 09:57:58 -05:00
|
|
|
|
|
|
|
COMMENT= "X11 toolkit, multimedia hub"
|
2002-12-03 08:58:19 -05:00
|
|
|
COMMENT-gmcop= "glib support for mcop"
|
2002-03-23 09:57:58 -05:00
|
|
|
CATEGORIES= x11 x11/kde
|
2004-02-01 09:59:21 -05:00
|
|
|
VERSION= 3.1.95
|
|
|
|
DISTNAME= arts-1.1.95
|
|
|
|
MODKDE_VERSION?= 3.2
|
2002-03-23 09:57:58 -05:00
|
|
|
|
2002-05-08 12:07:12 -04:00
|
|
|
NOT_FOR_ARCHS=
|
2002-03-23 09:57:58 -05:00
|
|
|
LIB_DEPENDS= audiofile::devel/libaudiofile
|
2003-01-07 10:36:35 -05:00
|
|
|
SEPARATE_BUILD=flavored
|
2002-12-03 08:58:19 -05:00
|
|
|
|
|
|
|
PSEUDO_FLAVORS=no_glib
|
|
|
|
FLAVOR?=
|
|
|
|
|
2003-01-07 10:36:35 -05:00
|
|
|
.if ${FLAVOR:L:Mno_glib}
|
2002-12-03 08:58:19 -05:00
|
|
|
CONFIGURE_ENV+=ac_cv_path_PKG_CONFIG=no
|
|
|
|
.else
|
|
|
|
MULTI_PACKAGES=-gmcop
|
2004-02-01 09:59:21 -05:00
|
|
|
PKGNAME-gmcop= arts-gmcop-1.1.95
|
2003-06-16 13:46:06 -04:00
|
|
|
BUILD_DEPENDS= ::devel/glib2 \
|
|
|
|
::devel/pkgconfig
|
2002-12-03 08:58:19 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2004-02-01 17:19:28 -05:00
|
|
|
.if defined(PACKAGING) || ${SUBPACKAGE} == "-gmcop"
|
|
|
|
LIB_DEPENDS+=glib-2.0.0.0,gmodule-2.0.0.0,gthread-2.0.0.0::devel/glib2
|
2002-12-03 08:58:19 -05:00
|
|
|
.endif
|
2002-03-23 09:57:58 -05:00
|
|
|
|
2002-03-25 14:56:45 -05:00
|
|
|
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
|
2002-03-23 09:57:58 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|