144a1ee175
since they always need a C compiler, even when the source code is completely in C++. For some other packages, stated in the comment that a C compiler is really not needed.
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2006/07/22 04:46:17 rillig Exp $
|
|
|
|
DISTNAME= kphone-4.2
|
|
PKGREVISION= 4
|
|
CATEGORIES= net comms
|
|
MASTER_SITES= http://www.wirlab.net/kphone/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.wirlab.net/kphone/
|
|
COMMENT= Graphical Voice Over Internet (VoIP) phone
|
|
|
|
WRKSRC= ${WRKDIR}/kphone
|
|
|
|
|
|
USE_X11BASE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
|
|
|
|
PTHREAD_OPTS+= require
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
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
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
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"
|
|
.include "../../x11/qt3-tools/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|