summaryrefslogtreecommitdiff
path: root/polish/ekg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'polish/ekg/Makefile')
-rw-r--r--polish/ekg/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/polish/ekg/Makefile b/polish/ekg/Makefile
index 7970bc90a8c6..067f6bd25b0e 100644
--- a/polish/ekg/Makefile
+++ b/polish/ekg/Makefile
@@ -5,29 +5,37 @@
# $FreeBSD$
PORTNAME= ekg
-PORTVERSION= 1.6
-PORTREVISION= 1
+PORTVERSION= 1.7.r2
PORTEPOCH= 2
CATEGORIES= polish net-im
MASTER_SITES= http://ekg.chmurka.net/
+DISTNAME= ${PORTNAME}-1.7rc2
MAINTAINER= alex@bsdguru.org
COMMENT= Text-mode Gadu-Gadu client
-LIB_DEPENDS= aspell.16:${PORTSDIR}/polish/aspell \
- gadu.3:${PORTSDIR}/polish/libgadu
+LIB_DEPENDS= gadu.3:${PORTSDIR}/polish/libgadu
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
CONFIGURE_ARGS+= --disable-shared \
--disable-static \
- --enable-dynamic \
- --enable-aspell
+ --enable-dynamic
+
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+OPTIONS= ASPELL "Build with ASPELL support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_ASPELL)
+LIB_DEPENDS+= aspell.16:${PORTSDIR}/polish/aspell
+CONFIGURE_ARGS+= --enable-aspell
+.endif
+
USE_LDCONFIG= yes
MAN1= ekg.1
@@ -37,4 +45,4 @@ MANCOMPRESSED= no
post-install:
${STRIP_CMD} ${PREFIX}/bin/ekg
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>