blob: a43c417d73ceda6b3b25a68fd0ba92f78fdfee34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Ports collection makefile for: kadu
# Date created: 17 July 2003
# Whom: Jacek Pelka <jacek@combit.com.pl>
#
# $FreeBSD$
#
PORTNAME= kadu
PORTVERSION= 0.4.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= polish net-im
MASTER_SITES= http://www.kadu.net/download/stable/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= mwisnicki+freebsd@gmail.com
COMMENT= QT Gadu-Gadu client
LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/libgadu\
sndfile.1:${PORTSDIR}/audio/libsndfile
USE_BZIP2= yes
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-existing-libgadu="${LOCALBASE}" \
--with-includes="${LOCALBASE}/include ${X11BASE}/include" \
--with-libs="${LOCALBASE}/lib ${X11BASE}/lib" \
--program-transform-name=''
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
USE_QT_VER= 3
QT_NONSTANDARD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
post-patch:
@${ECHO} "MODULE_LDFLAGS=\"-lcrypto\"" >> ${WRKSRC}/modules/encryption/spec
.endif
post-install:
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${PREFIX}/share/applications
.include <bsd.port.post.mk>
|