2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2015/04/25 14:23:45 tnn Exp $
|
2006-01-25 01:00:03 +01:00
|
|
|
|
2006-07-07 18:50:35 +02:00
|
|
|
DISTNAME= kiax-0.8.51-src
|
2009-08-29 15:24:14 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 12
|
2006-04-14 11:56:03 +02:00
|
|
|
CATEGORIES= comms net audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kiax/}
|
2006-01-25 01:00:03 +01:00
|
|
|
|
2006-04-14 11:56:03 +02:00
|
|
|
MAINTAINER= reinoud@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.kiax.org/
|
|
|
|
COMMENT= Open internet telephony system
|
2009-08-15 17:57:53 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2006-01-25 01:00:03 +01:00
|
|
|
|
2009-08-29 15:24:14 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2006-01-30 23:36:01 +01:00
|
|
|
USE_LIBTOOL= yes
|
2006-01-25 01:00:03 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
2006-05-25 16:12:56 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2006-01-25 01:00:03 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2009-08-15 17:57:53 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2009-08-29 15:24:14 +02:00
|
|
|
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q}
|
2006-01-25 01:00:03 +01:00
|
|
|
|
|
|
|
do-configure:
|
|
|
|
(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qkiax.pro)
|
|
|
|
(cd ${WRKSRC}/src && ${QTDIR}/bin/qmake -o Makefile src.pro)
|
|
|
|
|
2006-02-01 02:08:39 +01:00
|
|
|
LDFLAGS+= ${LIBOSSAUDIO}
|
2006-01-25 01:00:03 +01:00
|
|
|
|
|
|
|
# Fix hardcoded paths
|
|
|
|
SUBST_CLASSES+= path
|
|
|
|
SUBST_MESSAGE.path= Fixing hardcoded paths.
|
|
|
|
SUBST_STAGE.path= pre-configure
|
|
|
|
SUBST_FILES.path= src/src.pro bin/Makefile
|
|
|
|
SUBST_SED.path= -e 's:/usr/local:${PREFIX}:g'
|
|
|
|
|
2008-06-01 17:25:37 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2012-04-14 00:59:16 +02:00
|
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) || \
|
|
|
|
${OPSYS} == "SunOS"
|
2008-06-01 17:25:37 +02:00
|
|
|
RT_LIB_SCHED= -lrt
|
|
|
|
.else
|
|
|
|
RT_LIB_SCHED= # empty
|
|
|
|
.endif
|
|
|
|
LDFLAGS+= ${RT_LIB_SCHED}
|
|
|
|
|
2007-01-11 12:07:43 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-01-25 01:00:03 +01:00
|
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
|
|
.include "../../x11/qt3-tools/buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2006-01-25 01:00:03 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|