summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-14 17:47:29 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-14 17:47:29 +0000
commitb1d9361b9ddcd32b5cd41924c0787c43c95a6255 (patch)
tree7dd695e9cff0bf435f97f596b21b21db8d58541d
parent6173645ff4442b274ba9d659f086128a91aaa2ce (diff)
downloadFreeBSD-ports-b1d9361b9ddcd32b5cd41924c0787c43c95a6255.zip
FreeBSD-ports-b1d9361b9ddcd32b5cd41924c0787c43c95a6255.tar.gz
make configure detects libintl
enable uk po Submitted by: sobomax
-rw-r--r--net-im/centericq/Makefile14
-rw-r--r--net-im/centericq/files/patch-configure14
-rw-r--r--net-im/centericq/pkg-plist1
-rw-r--r--net/centericq/Makefile14
-rw-r--r--net/centericq/files/patch-configure14
-rw-r--r--net/centericq/pkg-plist1
6 files changed, 48 insertions, 10 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 2ce2215..12e3961 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 0000000..5dac0be
--- /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 18cb176..58bd554 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
diff --git a/net/centericq/Makefile b/net/centericq/Makefile
index 2ce2215..12e3961 100644
--- a/net/centericq/Makefile
+++ b/net/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/centericq/files/patch-configure b/net/centericq/files/patch-configure
new file mode 100644
index 0000000..5dac0be
--- /dev/null
+++ b/net/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/centericq/pkg-plist b/net/centericq/pkg-plist
index 18cb176..58bd554 100644
--- a/net/centericq/pkg-plist
+++ b/net/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
OpenPOWER on IntegriCloud