mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
0f76e101e7
buildtime, and remove these files cleanly when package is deinstalled. PR: ports/76812 Submitted by: Jacek Pelka <jacek@combit.com.pl> (maintainer)
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# Ports collection makefile for: kadu
|
|
# Date created: 17 July 2003
|
|
# Whom: Jacek Pelka <jacek@combit.com.pl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kadu
|
|
PORTVERSION= 0.3.9
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= polish net
|
|
MASTER_SITES= http://www.kadu.net/download/stable/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= jacek@combit.com.pl
|
|
COMMENT= QT Gadu-Gadu client
|
|
|
|
LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/ekg\
|
|
gsm.1:${PORTSDIR}/audio/gsm
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-existing-libgadu \
|
|
--program-transform-name=''\
|
|
--mandir=${PREFIX}/man
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"\
|
|
GADU_INCLUDES="-I${LOCALBASE}/include"\
|
|
GSM_LIB="-L${LOCALBASE}/lib"\
|
|
GSM_INCLUDES="-I${LOCALBASE}/include"
|
|
|
|
USE_QT_VER= 3
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} " **************************************************************"
|
|
@${ECHO_MSG} " * This version of kadu requires polish/ekg-1.4.20040208,1 or *"
|
|
@${ECHO_MSG} " * higher, so upgrade it first if necessary. *"
|
|
@${ECHO_MSG} " **************************************************************"
|
|
@${ECHO_MSG}
|
|
|
|
post-install:
|
|
${MKDIR} ${X11BASE}/share/gnome/apps/Internet
|
|
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${X11BASE}/share/gnome/apps/Internet
|
|
${MKDIR} ${LOCALBASE}/share/applnk/Internet
|
|
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${LOCALBASE}/share/applnk/Internet
|
|
|
|
.include <bsd.port.post.mk>
|