mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# New ports collection Makefile for: kphone
|
|
# Date created: 2004-07-05
|
|
# Whom: arved
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kphone
|
|
PORTVERSION= 4.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.wirlab.net/kphone/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A voice over internet phone
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_QT_VER= 3
|
|
USE_OPENSSL= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
|
|
|
post-patch:
|
|
@${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
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's,make -C,$$(MAKE) -C,g ; \
|
|
s,/apps/,/,g ; \
|
|
s,-lresolv,${PTHREAD_LIBS},g'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/kphone/kphone ${PREFIX}/bin
|
|
${MKDIR} ${DATADIR}/icons
|
|
${INSTALL_DATA} ${WRKSRC}/icons/*.png ${DATADIR}/icons
|
|
${MKDIR} ${DATADIR}/translations
|
|
${INSTALL_DATA} ${WRKSRC}/po/*.qm ${DATADIR}/translations
|
|
|
|
.include <bsd.port.mk>
|