2004-07-05 16:20:26 +02:00
|
|
|
# New ports collection Makefile for: kphone
|
|
|
|
# Date created: 2004-07-05
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kphone
|
2005-07-13 13:24:35 +02:00
|
|
|
PORTVERSION= 4.2
|
2004-07-05 16:20:26 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.wirlab.net/kphone/
|
|
|
|
|
2005-07-13 13:24:35 +02:00
|
|
|
MAINTAINER= sylvioc@gmail.com
|
2004-07-05 16:20:26 +02:00
|
|
|
COMMENT= A voice over internet phone
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2004-11-01 19:19:50 +01:00
|
|
|
|
|
|
|
USE_QT_VER= 3
|
2004-07-05 16:20:26 +02:00
|
|
|
USE_OPENSSL= yes
|
2004-11-01 19:19:50 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2004-12-22 09:54:15 +01:00
|
|
|
CONFIGURE_ENV= QTDIR="${QT_PREFIX}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
2004-07-05 16:20:26 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-12-22 09:54:15 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|-O3||g ; \
|
|
|
|
s|-Wall|${CFLAGS}|g;s|-L/usr/X11R6/lib64|${PTHREAD_LIBS}|g; \
|
|
|
|
s|-lssl|-lssl -lcrypto|g" ${WRKSRC}/configure
|
2004-11-22 17:24:22 +01:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's,make -C,$$(MAKE) -C,g ; \
|
|
|
|
s,/apps/,/,g ; \
|
|
|
|
s,-lresolv,${PTHREAD_LIBS},g'
|
2004-07-05 16:20:26 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
|
|
|
|
${MKDIR} ${DATADIR}/icons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${DATADIR}/icons
|
2004-11-01 19:19:50 +01:00
|
|
|
${MKDIR} ${DATADIR}/translations
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/*.qm ${DATADIR}/translations
|
2004-07-05 16:20:26 +02:00
|
|
|
|
2004-07-06 12:14:09 +02:00
|
|
|
.include <bsd.port.mk>
|