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