1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/polish/kadu/Makefile
Niclas Zeising 92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00

92 lines
3.0 KiB
Makefile

# Created by: Jacek Pelka <jacek@combit.com.pl>
# $FreeBSD$
PORTNAME= kadu
PORTVERSION= 0.12.2
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= polish net-im
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \
GOOGLE_CODE:kadu \
http://download.kadu.im/stable/:kadu \
http://download.kadu.im/additions/:additions
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:kadu
DIST_SUBDIR= kadu
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Internet communicator supporting Gadu-Gadu and Jabber/XMPP
LICENSE= GPLv2
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
pl-libgadu>=1.11.1:${PORTSDIR}/polish/libgadu
LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient \
sndfile:${PORTSDIR}/audio/libsndfile \
pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
pcre:${PORTSDIR}/devel/pcre \
qca:${PORTSDIR}/devel/qca \
idn:${PORTSDIR}/dns/libidn \
png15:${PORTSDIR}/graphics/png \
gadu:${PORTSDIR}/polish/libgadu \
freetype:${PORTSDIR}/print/freetype2 \
qzeitgeist:${PORTSDIR}/sysutils/qzeitgeist \
enchant:${PORTSDIR}/textproc/enchant \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl
# TODO enable devel/libexecinfo
# TODO ntrack and ntrack-qt (needs porting) ?
# TODO separate ports for plugins and themes (possible starting with 0.10)
GG6_EMOTS_DISTFILE= kompatybilne_z_GG6.tar.gz
GG7_EMOTS_DISTFILE= dodatkowe_emoty_GG7.tar.gz
USE_BZIP2= yes
USES= cmake pkgconfig gettext iconv
USE_XORG= ice sm x11 xau xcb xdmcp xext xfixes xrender xscrnsaver
CMAKE_ARGS= -DKADU_VERSION:STRING="${DISTVERSION}" -DWITH_ENCHANT=ON
# Setting KADU_VERSION disables git invocation
MAKE_JOBS_SAFE= yes
USE_QT4= corelib dbus declarative gui network phonon qtestlib script \
scripttools svg webkit xml xmlpatterns linguist_build \
moc_build qmake_build rcc_build uic_build imageformats_run \
sql-sqlite3_run
WANT_GNOME= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= GG_EMOTS
GG_EMOTS_DESC= Install GG-compatible emoticons
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGG_EMOTS}
PLIST_SUB+= GG_EMOTS=""
DISTFILES+= ${GG6_EMOTS_DISTFILE}:additions \
${GG7_EMOTS_DISTFILE}:additions
.else
PLIST_SUB+= GG_EMOTS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/plugins/single_window/CMakeLists.txt \
${WRKSRC}/plugins/tabs/CMakeLists.txt
@${FIND} ${WRKSRC} -exec ${GREP} -q "#!/bin/bash" {} \; \
-exec ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|g' {} \;
@${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \
${WRKSRC}/plugins/sql_history/storage/sql-restore.cpp
post-install:
.if ${PORT_OPTIONS:MGG_EMOTS}
@cd ${WRKSRC}/varia/themes/emoticons && \
${TAR} -zxf ${_DISTDIR}/${GG6_EMOTS_DISTFILE} && \
${MV} kompatybilne_z_GG6 gg6_compatible && \
cd gg6_compatible && ${TAR} -zxf ${_DISTDIR}/${GG7_EMOTS_DISTFILE}
@cd ${WRKSRC}/varia/themes/emoticons && \
${COPYTREE_SHARE} gg6_compatible ${DATADIR}/themes/emoticons
.endif
.include <bsd.port.mk>