openbsd-ports/x11/kde/arts3/Makefile

43 lines
918 B
Makefile
Raw Normal View History

# $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"
COMMENT-gmcop= "glib support for mcop"
2002-03-23 09:57:58 -05:00
CATEGORIES= x11 x11/kde
VERSION= 3.1.95
DISTNAME= arts-1.1.95
MODKDE_VERSION?= 3.2
2002-03-23 09:57:58 -05:00
NOT_FOR_ARCHS=
2002-03-23 09:57:58 -05:00
LIB_DEPENDS= audiofile::devel/libaudiofile
SEPARATE_BUILD=flavored
PSEUDO_FLAVORS=no_glib
FLAVOR?=
.if ${FLAVOR:L:Mno_glib}
CONFIGURE_ENV+=ac_cv_path_PKG_CONFIG=no
.else
MULTI_PACKAGES=-gmcop
PKGNAME-gmcop= arts-gmcop-1.1.95
BUILD_DEPENDS= ::devel/glib2 \
::devel/pkgconfig
.endif
SUBPACKAGE?=
.if defined(PACKAGING) || ${SUBPACKAGE} == "-gmcop"
LIB_DEPENDS+=glib-2.0.0.0,gmodule-2.0.0.0,gthread-2.0.0.0::devel/glib2
.endif
2002-03-23 09:57:58 -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>