2004-07-05 14:20:26 +00:00
|
|
|
# New ports collection Makefile for: kphone
|
|
|
|
# Date created: 2004-07-05
|
|
|
|
# Whom: arved
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kphone
|
2005-07-13 11:24:35 +00:00
|
|
|
PORTVERSION= 4.2
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2004-07-05 14:20:26 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.wirlab.net/kphone/
|
|
|
|
|
2007-03-05 00:15:24 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-07-05 14:20:26 +00:00
|
|
|
COMMENT= A voice over internet phone
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2004-11-01 18:19:50 +00:00
|
|
|
|
|
|
|
USE_QT_VER= 3
|
2004-07-05 14:20:26 +00:00
|
|
|
USE_OPENSSL= yes
|
2004-11-01 18:19:50 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-02-13 00:16:29 +00:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
2004-07-05 14:20:26 +00:00
|
|
|
|
|
|
|
post-patch:
|
2004-12-22 08:54:15 +00: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 16:24:22 +00: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 14:20:26 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
|
|
|
|
${MKDIR} ${DATADIR}/icons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${DATADIR}/icons
|
2004-11-01 18:19:50 +00:00
|
|
|
${MKDIR} ${DATADIR}/translations
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/po/*.qm ${DATADIR}/translations
|
2004-07-05 14:20:26 +00:00
|
|
|
|
2004-07-06 10:14:09 +00:00
|
|
|
.include <bsd.port.mk>
|