aboutsummaryrefslogtreecommitdiff
path: root/polish/ekg/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-25 07:32:46 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-25 07:32:46 +0000
commitd99d962c4de49a1d8c9aa3ae18a049d1ac0dff12 (patch)
tree74392cc45607c4c22e6f09f6828132631e864245 /polish/ekg/Makefile
parent6c52fd4f3c1153e9b218203a414d63dbf5ceb275 (diff)
downloadports-d99d962c4de49a1d8c9aa3ae18a049d1ac0dff12.tar.gz
ports-d99d962c4de49a1d8c9aa3ae18a049d1ac0dff12.zip
Notes
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>