head	1.24;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.19
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.15
	RELEASE_7_3_0:1.14
	RELEASE_8_0_0:1.14
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.6
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4;
locks; strict;
comment	@# @;


1.24
date	2013.02.08.03.35.06;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2012.11.17.06.00.44;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.08.03.15.54.35;	author cs;	state Exp;
branches;
next	1.21;

1.21
date	2012.06.07.22.44.20;	author pawel;	state Exp;
branches;
next	1.20;

1.20
date	2012.01.06.15.27.25;	author pawel;	state Exp;
branches;
next	1.19;

1.19
date	2011.09.23.22.24.57;	author amdmi3;	state Exp;
branches;
next	1.18;

1.18
date	2011.03.31.14.15.52;	author pawel;	state Exp;
branches;
next	1.17;

1.17
date	2011.03.23.16.58.00;	author pawel;	state Exp;
branches;
next	1.16;

1.16
date	2011.02.23.15.36.11;	author miwi;	state Exp;
branches;
next	1.15;

1.15
date	2010.05.31.02.00.39;	author ade;	state Exp;
branches;
next	1.14;

1.14
date	2009.03.22.10.56.44;	author makc;	state Exp;
branches;
next	1.13;

1.13
date	2008.09.03.02.26.23;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2008.08.21.06.18.07;	author rafan;	state Exp;
branches;
next	1.11;

1.11
date	2008.07.25.14.34.34;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2008.07.25.12.24.07;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.06.13.55.33;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2007.09.08.08.20.19;	author trasz;	state Exp;
branches;
next	1.7;

1.7
date	2007.05.19.20.20.27;	author flz;	state Exp;
branches;
next	1.6;

1.6
date	2007.04.20.07.52.05;	author trasz;	state Exp;
branches;
next	1.5;

1.5
date	2007.03.27.20.27.41;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2006.06.07.12.10.27;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.04.23.57.09;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2006.04.03.20.54.30;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2006.04.02.01.01.20;	author pav;	state Exp;
branches;
next	;


desc
@@


1.24
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311874
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Ports collection makefile for:	ekg2
# Date created:				27 Dec 2005
# Whom:					Aleksander Fafula <alex@@bsdguru.org>
#
# $FreeBSD: head/polish/ekg2/Makefile 311874 2013-02-07 17:06:44Z pawel $

PORTNAME=	ekg2
PORTVERSION=	0.3.1
PORTREVISION=	1
PORTEPOCH=	1
CATEGORIES=	polish net-im
MASTER_SITES=	http://pl.ekg2.org/

MAINTAINER=	pawel@@FreeBSD.org
COMMENT=	Text-mode Gadu-Gadu, Jabber, and IRC client

LIB_DEPENDS=	gadu.3:${PORTSDIR}/polish/libgadu \
		expat.6:${PORTSDIR}/textproc/expat2

LICENSE=	GPLv2

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	gnomehack pkgconfig
USE_ICONV=	yes
MAKE_JOBS_SAFE=	yes

CONFIGURE_ARGS+=	--enable-shared \
			--disable-static \
			--enable-dynamic \
			--with-expat \
			--without-sqlite \
			--without-gpm-mouse \
			--with-libgadu \
			--without-libgnutls \
			--without-gif \
			--without-libjpeg \
			--without-libidn

LDFLAGS+=		-L${LOCALBASE}/lib -lintl -pthread
CFLAGS+=		-I${LOCALBASE}/include

OPTIONS_DEFINE=	ASPELL GPG GSM GTK2 PERL PYTHON SQLITE UNICODE XOSD

ASPELL_DESC=	Enable spell checking support
GPG_DESC=	Enable gpg plugin
GSM_DESC=	Enable gsm audio plugin
GTK2_DESC=	Enable gtk plugin
PERL_DESC=	Enable perl plugin
PYTHON_DESC=	Enable python plugin
SQLITE_DESC=	Enable sqlite plugin
UNICODE_DESC=	Enable unicode (experimental)
XOSD_DESC=	Enable xosd plugin

OPTIONS_DEFAULT=ASPELL

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MASPELL}
LIB_DEPENDS+=		aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS+=		${LOCALBASE}/share/aspell/pl.rws:${PORTSDIR}/polish/aspell
CONFIGURE_ARGS+=	--with-aspell
.else
CONFIGURE_ARGS+=	--without-aspell
.endif

.if ${PORT_OPTIONS:MGPG}
LIB_DEPENDS+=		gpgme:${PORTSDIR}/security/gpgme \
			gpg-error:${PORTSDIR}/security/libgpg-error
RUN_DEPENDS+=		gpg:${PORTSDIR}/security/gnupg
CONFIGURE_ARGS+=	--with-gpg
PLIST_SUB+=		GPG_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-gpg
PLIST_SUB+=		GPG_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MGSM}
LIB_DEPENDS+=		gsm:${PORTSDIR}/audio/gsm
CONFIGURE_ARGS+=	--with-libgsm
PLIST_SUB+=		GSM_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-libgsm
PLIST_SUB+=		GSM_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+=		gtk20
CONFIGURE_ARGS+=	--with-gtk
PLIST_SUB+=		GTK2_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-gtk
PLIST_SUB+=		GTK2_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=		yes
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB+=		NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=		NLS="@@comment "
.endif

.if ${PORT_OPTIONS:MPERL}
USE_PERL5=		yes
CONFIGURE_ARGS+=	--with-perl
PLIST_SUB+=		PERL_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-perl
PLIST_SUB+=		PERL_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON=		yes
CONFIGURE_ARGS+=	--with-python
PLIST_SUB+=		PYTHON_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-python
PLIST_SUB+=		PYTHON_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MSQLITE}
LIB_DEPENDS+=		sqlite3:${PORTSDIR}/databases/sqlite3
CONFIGURE_ARGS+=	--with-sqlite3
PLIST_SUB+=		SQLITE_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-sqlite3
PLIST_SUB+=		SQLITE_PLUGIN="@@comment "
.endif

.if ${PORT_OPTIONS:MUNICODE}
CONFIGURE_ARGS+=	--enable-unicode
.endif

.if ${PORT_OPTIONS:MXOSD}
LIB_DEPENDS+=		xosd:${PORTSDIR}/misc/xosd
CONFIGURE_ARGS+=	--with-libxosd
PLIST_SUB+=		XOSD_PLUGIN=""
.else
CONFIGURE_ARGS+=	--without-libxosd
PLIST_SUB+=		XOSD_PLUGIN="@@comment "
.endif

post-patch:
.if ${PORT_OPTIONS:MPYTHON}
	@@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
		${WRKSRC}/contrib/python/notify-bubble.py
.endif

.if ${PORT_OPTIONS:MUNICODE}
	@@${REINPLACE_CMD} -e 's|ncursesw/||' ${WRKSRC}/configure \
		${WRKSRC}/plugins/ncurses/ecurses.h
.endif

.include <bsd.port.mk>
@


1.23
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/polish/ekg2/Makefile 301960 2012-08-03 15:54:35Z cs $
d40 1
a40 1
LDFLAGS+=		-L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}
@


1.22
log
@SVN rev 301960 on 2012-08-03 15:54:35Z by cs

Fix typos and make small modifications in COMMENT (according to Porter's
Handbook)

Approved by:	portmgr@@ (implicit)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@Convert my ports to optionsNG
@
text
@d15 1
a15 1
COMMENT=	Text-mode Gadu-Gadu, Jabber and IRC client
@


1.20
log
@- Add UNICODE option (default off) which enables experimental unicode support
- Don't link to libidn when found on system
- Switch to bsd.port.options.mk
@
text
@a27 10
OPTIONS=	ASPELL		"Enable spell checking support"	on \
		GPG		"Enable gpg plugin"		off \
		GSM		"Enable gsm audio plugin"	off \
		GTK2		"Enable gtk plugin"		off \
		PERL		"Enable perl plugin"		off \
		PYTHON		"Enable python plugin"		off \
		SQLITE		"Enable sqlite plugin"		off \
		UNICODE		"Enable unicode (experimental)" off \
		XOSD		"Enable xosd plugin"		off

d43 14
d59 1
a59 1
.if defined(WITH_ASPELL)
d67 1
a67 1
.if defined(WITH_GPG)
d78 1
a78 1
.if defined(WITH_GSM)
d87 1
a87 1
.if defined(WITH_GTK2)
d96 1
a96 4
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=		NLS="@@comment "
.else
d100 3
d105 1
a105 1
.if defined(WITH_PERL)
d114 1
a114 1
.if defined(WITH_PYTHON)
d123 1
a123 1
.if defined(WITH_SQLITE)
d132 1
a132 1
.if defined(WITH_UNICODE)
d136 1
a136 1
.if defined(WITH_XOSD)
d146 1
a146 1
.if defined(WITH_PYTHON)
d151 1
a151 1
.if defined(WITH_UNICODE)
@


1.19
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
d35 1
d47 2
a48 1
			--without-libjpeg
d53 1
a53 1
.include <bsd.port.pre.mk>
d128 4
d143 1
a143 1
	${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
d147 6
a152 1
.include <bsd.port.post.mk>
@


1.18
log
@- Update to 0.3.1
- Remove unneeded patch
- Fix hang on connecting to GaduGadu server

Approved by:	miwi (mentor)
@
text
@d47 1
a47 1
CONFIGURE_ENV=		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}"
@


1.17
log
@- Update my email to FreeBSD

Approved by:    miwi, wen (mentors)
@
text
@d8 1
a8 1
PORTVERSION=	0.3.0
d47 1
a47 1
CONFIGURE_ENV=		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl"
@


1.16
log
@- update to version 0.3.0
- take maintainership
- mark MAKE_JOBS_SAFE
- add LICENSE info
- add optional building of several plugins

PR:		154919
Submitted by:	"Pawel Pekala" <c0rn@@o2.pl> (maintainer)
@
text
@d13 1
a13 1
MAINTAINER=	c0rn@@o2.pl
@


1.15
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d8 1
a8 2
PORTVERSION=	0.1.1
PORTREVISION=	2
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d19 2
d24 11
a34 1
USE_GETTEXT=	yes
a39 7
			--without-aspell \
			--without-gtk \
			--without-libgsm \
			--without-libxosd \
			--without-perl \
			--without-python \
			--without-sqlite3 \
d42 4
a45 1
			--with-libgadu
d47 1
a47 5
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
			CFLAGS="${CFLAGS}" \
			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}"
MAKE_ENV=		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
d50 83
a132 1
USE_LDCONFIG=		yes
d135 4
a138 1
	@@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
d140 1
a140 1
.include <bsd.port.mk>
@


1.14
log
@Fix build on 6-STABLE after adding --with-pthread to polish/libgadu
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.13
log
@Reset alex@@bsdguru.org due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d42 1
a42 1
			LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lintl"
@


1.12
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d14 1
a14 1
MAINTAINER=	alex@@bsdguru.org
@


1.11
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@a24 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.10
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@a23 1
USE_GCC=	3.2+
@


1.9
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d43 1
a43 1
			CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
a45 1
			CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
d47 1
@


1.8
log
@- Update to 0.1.1.

PR:		ports/116173
Submitted by:	trasz
Approved by:	maintainer (via irc), miwi (mentor, implicit)
@
text
@d9 1
@


1.7
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d8 2
a9 2
PORTVERSION=	20070303
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.ekg2.org/archive/
@


1.6
log
@- Update to 20070303.

PR:		ports/111268
Submitted by:	trasz
Approved by:	maintainer (mentor miwi)
@
text
@d9 1
@


1.5
log
@- Fix after objformat removal

Reported by:	pointyhat
@
text
@d8 1
a8 1
PORTVERSION=	20060519
@


1.4
log
@Update to 20060519

PR:		ports/97967
Approved by:	krion (mentor), maintainer
@
text
@d47 1
a47 1
INSTALLS_SHLIB=	yes
d49 2
a50 1
.include <bsd.port.pre.mk>
d52 1
a52 5
.if ${OSVERSION} < 500000
BROKEN=		Does not compile
.endif

.include <bsd.port.post.mk>
@


1.3
log
@[maint update] polish/ekg2 fix 4.x compilation and upgrade

PR:		ports/95319
Submitted by:	Aleksander Fafula <alex@@bsdguru.org>
@
text
@d8 1
a8 1
PORTVERSION=	20060403
@


1.2
log
@- Mark broken on 4.X

Reported by:	krismail
@
text
@d8 1
a8 1
PORTVERSION=	20060318
d22 1
@


1.1
log
@Text-based Gadu-Gadu (and other) client for Unix-like systems.
Gadu-Gadu is an ICQ-like messenger for polish language users.

EKG2 is similar to EKG. It has many improvements like Jabber
and IRC plugins. It is considered to be in its development stage,
so use with care.

WWW: http://ekg2.org/

PR:		ports/95214
Submitted by:	Aleksander Fafula <alex@@bsdguru.org>
@
text
@d48 7
a54 1
.include <bsd.port.mk>
@

