2006-07-22 06:46:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2006/07/22 04:46:17 rillig Exp $
|
2004-07-21 23:49:02 +02:00
|
|
|
|
2005-11-29 11:15:18 +01:00
|
|
|
DISTNAME= kphone-4.2
|
2006-05-22 18:39:00 +02:00
|
|
|
PKGREVISION= 4
|
2004-07-21 23:49:02 +02:00
|
|
|
CATEGORIES= net comms
|
|
|
|
MASTER_SITES= http://www.wirlab.net/kphone/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-07-21 23:49:02 +02:00
|
|
|
HOMEPAGE= http://www.wirlab.net/kphone/
|
|
|
|
COMMENT= Graphical Voice Over Internet (VoIP) phone
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/kphone
|
|
|
|
|
|
|
|
|
|
|
|
USE_X11BASE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
|
2004-07-21 23:49:02 +02:00
|
|
|
|
|
|
|
PTHREAD_OPTS+= require
|
2004-12-05 00:09:06 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
2004-07-21 23:49:02 +02:00
|
|
|
|
2005-04-25 21:01:32 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= alsa
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kphone
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
|
|
CONFIGURE_ARGS+= --enable-alsa=yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-alsa=no
|
|
|
|
.endif
|
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2004-07-21 23:49:02 +02:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/kphone/icons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${PREFIX}/share/kphone/icons
|
|
|
|
|
|
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
2006-01-22 02:31:43 +01:00
|
|
|
.include "../../x11/qt3-tools/buildlink3.mk"
|
2005-04-14 15:46:04 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2004-07-21 23:49:02 +02:00
|
|
|
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-07-21 23:49:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|