2001-04-06 22:58:04 -04:00
|
|
|
# New ports collection makefile for: gtk+licq
|
|
|
|
# Date created: 17 Oct 2000
|
|
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtk+licq
|
2001-08-18 19:38:00 -04:00
|
|
|
PORTVERSION= 0.51
|
2002-09-03 12:09:43 -04:00
|
|
|
PORTREVISION= 2
|
2001-04-06 22:58:04 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://gtk.licq.org/download/
|
|
|
|
|
2001-05-22 13:03:11 -04:00
|
|
|
MAINTAINER= roman@xpert.com
|
2001-04-06 22:58:04 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/licq/licq_icqd.h:${PORTSDIR}/net/licq
|
2002-09-03 12:09:43 -04:00
|
|
|
LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell \
|
2002-03-18 04:46:46 -05:00
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv
|
2001-04-06 22:58:04 -04:00
|
|
|
RUN_DEPENDS= licq:${PORTSDIR}/net/licq
|
|
|
|
|
2002-09-07 07:12:36 -04:00
|
|
|
BROKEN= 'does not support licq >= 1.2.0'
|
|
|
|
|
2001-08-18 19:38:00 -04:00
|
|
|
# It breaks the build for some reason
|
|
|
|
#USE_LIBTOOL= yes
|
2001-04-06 22:58:04 -04:00
|
|
|
USE_GMAKE= yes
|
2002-09-02 21:06:26 -04:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2001-04-06 22:58:04 -04:00
|
|
|
WANT_GNOME= yes
|
2001-08-18 19:38:00 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2001-04-07 17:02:44 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-04-06 22:58:04 -04:00
|
|
|
|
2001-04-07 17:02:44 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-02 21:06:26 -04:00
|
|
|
.if ${HAVE_GNOME:Mlibcapplet}!=""
|
|
|
|
USE_GNOME+= libcapplet
|
|
|
|
PKGNAMESUFFIX= -gnome
|
2001-08-18 19:38:00 -04:00
|
|
|
CONFIGURE_ARGS+= --enable-gnome
|
2001-04-06 22:58:04 -04:00
|
|
|
.else
|
2001-08-18 19:38:00 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-gnome
|
2001-05-09 05:37:08 -04:00
|
|
|
.endif
|
|
|
|
|
2001-04-07 17:02:44 -04:00
|
|
|
post-patch:
|
2001-05-09 05:37:08 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL5} -pi -e \
|
|
|
|
's|-D_REENTRANT|${PTHREAD_CFLAGS} -D_REENTRANT|g ; \
|
|
|
|
s|^localedir =.*|localedir = \$$(prefix)/share/locale| ; \
|
|
|
|
s|^gtklicq_helpdir =.*|gtklicq_helpdir = \
|
|
|
|
\$$(datadir)/help/gtk+licq/C|'
|
|
|
|
.if !defined(HAVE_GNOME)
|
2001-04-07 17:02:44 -04:00
|
|
|
@${PERL5} -pi -e \
|
2001-05-09 05:37:08 -04:00
|
|
|
's|^SUBDIRS =.*|SUBDIRS =|' ${WRKSRC}/doc/Makefile.in
|
2001-04-07 17:02:44 -04:00
|
|
|
@${PERL5} -pi -e \
|
2001-08-18 19:38:00 -04:00
|
|
|
's|\sinstall-menuDATA||;s|\sinstall-ximianmenuDATA||' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2001-04-06 22:58:04 -04:00
|
|
|
|
2001-04-07 17:02:44 -04:00
|
|
|
.include <bsd.port.post.mk>
|