mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
9346b215f0
are no more self hosting so we are stuck with 0.25 version while pkgconf provide the same set of features as 0.27 and a compatible frontend. A symlink to pkg-config has been added for convenience and compatibility This also introduces a new macro to use pkgconf in your ports: USE_PKGCONFIG it can take the following arguments: - yes (meaning build only dep) - build (meaning build only dep) - run (meaning run only dep) - both (meaning run and build dep) From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG The old gnome macro has been modified to use pkgconf but still the sameway: run and build dep to avoid large breakage. While here fix some ports relying on pkg-config but not specifying it, fix some ports broken because testing wrong .pc files, and fix ports using pkg-config --version to determine pkg-config version instead of pkg-config --modversion pkg-config like recommanded by pkg-config With Hat: portmgr Exp-runs by: bapt (pointhat-west), beat (pointyhat)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# New ports collection makefile for: qtel
|
|
# Date Created: 2012-05-22
|
|
# Whome: Stephen Hurd <shurd@sasktel.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qtel
|
|
PORTVERSION= 11.05
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= svxlink/svxlink/${PORTVERSION}
|
|
DISTNAME= svxlink-${PORTVERSION}
|
|
|
|
MAINTAINER= shurd@sasktel.net
|
|
COMMENT= Qt EchoLink Client and SvrLink audio server
|
|
|
|
LIB_DEPENDS= sigc-1.2:${PORTSDIR}/devel/libsigc++12 \
|
|
speex:${PORTSDIR}/audio/speex \
|
|
gcrypt:${PORTSDIR}/security/libgcrypt \
|
|
gsm:${PORTSDIR}/audio/gsm \
|
|
popt:${PORTSDIR}/devel/popt
|
|
|
|
MAN1= svxlink.1 \
|
|
remotetrx.1 \
|
|
siglevdetcal.1 \
|
|
qtel.1
|
|
MAN5= svxlink.conf.5 \
|
|
ModuleHelp.conf.5 \
|
|
ModuleParrot.conf.5 \
|
|
ModuleEchoLink.conf.5 \
|
|
ModuleTclVoiceMail.conf.5 \
|
|
ModuleDtmfRepeater.conf.5 \
|
|
ModulePropagationMonitor.conf.5 \
|
|
ModuleSelCallEnc.conf.5 \
|
|
remotetrx.conf.5
|
|
MANCOMPRESSED= yes
|
|
USE_GMAKE= yes
|
|
USE_QT_VER= 3
|
|
USE_TCL= yes
|
|
USE_PKGCONFIG= yes
|
|
USE_RC_SUBR= svxlink remotetrx
|
|
USE_LDCONFIG= ${LOCALBASE}/lib ${LOCALBASE}/lib/svxlink
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${OSVERSION} < 802517
|
|
BROKEN= will not compile before Version 8.2 STABLE
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
|
`grep -lr %%LOCALBASE%% ${WRKSRC}`
|
|
@${REINPLACE_CMD} -e 's|%%MAN1PREFIX%%|${MAN1PREFIX}|' \
|
|
`grep -lr %%MAN1PREFIX%% ${WRKSRC}`
|
|
@${REINPLACE_CMD} -e 's|%%MAN5PREFIX%%|${MAN5PREFIX}|' \
|
|
`grep -lr %%MAN5PREFIX%% ${WRKSRC}`
|
|
|
|
.include <bsd.port.post.mk>
|