summaryrefslogtreecommitdiff
path: root/net-im/centericq
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-14 17:47:29 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-14 17:47:29 +0000
commit2417f5454694a5b94dd38cc59b83c81f702e4aaf (patch)
tree0aa71c412d861566ed2667211bf8f41771501e8b /net-im/centericq
parentSwitch to using ports/misc/compat3x (diff)
make configure detects libintl
enable uk po Submitted by: sobomax
Notes
Notes: svn path=/head/; revision=46254
Diffstat (limited to 'net-im/centericq')
-rw-r--r--net-im/centericq/Makefile14
-rw-r--r--net-im/centericq/files/patch-configure14
-rw-r--r--net-im/centericq/pkg-plist1
3 files changed, 24 insertions, 5 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 2ce2215be0d4..12e39610520f 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -8,6 +8,7 @@
PORTNAME= centericq
PORTVERSION= 3.34.15
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://konst.org.ua/download/
@@ -15,16 +16,19 @@ MAINTAINER= ijliao@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+
+MAN1= centericq.1
+
.include <bsd.port.pre.mk>
+
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses \
-I${LOCALBASE}/include -I/usr/include
.endif
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-
-MAN1= centericq.1
-
.include <bsd.port.post.mk>
diff --git a/net-im/centericq/files/patch-configure b/net-im/centericq/files/patch-configure
new file mode 100644
index 000000000000..5dac0be65ba0
--- /dev/null
+++ b/net-im/centericq/files/patch-configure
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- configure.orig Sat Jun 30 14:59:19 2001
++++ configure Tue Aug 14 19:19:21 2001
+@@ -1180,7 +1180,7 @@
+ fi
+
+
+-ALL_LINGUAS="zh_TW.Big5 ru ro pt_BR pl hu de cs"
++ALL_LINGUAS="zh_TW.Big5 ru ro pt_BR pl hu de cs uk"
+ echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+ echo "configure:1186: checking how to run the C preprocessor" >&5
+ # On Suns, sometimes $CPP names a directory.
diff --git a/net-im/centericq/pkg-plist b/net-im/centericq/pkg-plist
index 18cb17688c8e..58bd554974bc 100644
--- a/net-im/centericq/pkg-plist
+++ b/net-im/centericq/pkg-plist
@@ -12,5 +12,6 @@ share/locale/pl/LC_MESSAGES/centericq.mo
share/locale/pt_BR/LC_MESSAGES/centericq.mo
share/locale/ro/LC_MESSAGES/centericq.mo
share/locale/ru/LC_MESSAGES/centericq.mo
+share/locale/uk/LC_MESSAGES/centericq.mo
share/locale/zh_TW.Big5/LC_MESSAGES/centericq.mo
@dirrm share/centericq