summaryrefslogtreecommitdiff
path: root/net-im/centericq
diff options
context:
space:
mode:
authorJing-Tang Keith Jang <keith@FreeBSD.org>2000-11-21 19:09:59 +0000
committerJing-Tang Keith Jang <keith@FreeBSD.org>2000-11-21 19:09:59 +0000
commita4f636be2c02b5ecd9399859f74d61410320ea5b (patch)
tree790f40dd26d096650acf1bb0759d9ac1185b30da /net-im/centericq
parentAdd 'restart' and 'status' functionality. (diff)
Update to 3.7.3, and change the maintainer from
ports@FreeBSD.org to ijliao@csie.nctu.edu.tw. Also thanks to Clive Lin <clive@CirX.ORG> for testing.
Notes
Notes: svn path=/head/; revision=35320
Diffstat (limited to 'net-im/centericq')
-rw-r--r--net-im/centericq/Makefile20
-rw-r--r--net-im/centericq/distinfo2
-rw-r--r--net-im/centericq/files/patch-aa35
-rw-r--r--net-im/centericq/files/patch-ab22
-rw-r--r--net-im/centericq/files/patch-ac11
-rw-r--r--net-im/centericq/files/patch-ad11
-rw-r--r--net-im/centericq/pkg-plist15
7 files changed, 24 insertions, 92 deletions
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index d09883afec8f..2dc4a878c661 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -6,12 +6,11 @@
#
PORTNAME= centericq
-PORTVERSION= 2.0.0
+PORTVERSION= 3.7.3
CATEGORIES= net
-MASTER_SITES= http://konst.org.ua/download/
-DISTNAME= center-${PORTVERSION}
+MASTER_SITES= http://download.konst.org.ua/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ijliao@csie.nctu.edu.tw
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
@@ -20,18 +19,7 @@ CFLAGS+= -nostdinc -I${LOCALBASE}/include/ncurses -I${LOCALBASE}/include\
-I/usr/include
.endif
-WRKSRC= ${WRKDIR}/center
USE_GMAKE= yes
-
-post-patch:
- @${PERL} -pi -e 's:__PREFIX__:${PREFIX}:' ${WRKSRC}/centerICQ.cc
-
-pre-build:
- @(cd ${WRKDIR}/ktools/src; ${SETENV} CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${GMAKE} ${MAKE_ARGS} )
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/center ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/center
- ${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/share/center
+HAS_CONFIGURE= yes
.include <bsd.port.post.mk>
diff --git a/net-im/centericq/distinfo b/net-im/centericq/distinfo
index a5d14f25c6a1..ac3a961e885d 100644
--- a/net-im/centericq/distinfo
+++ b/net-im/centericq/distinfo
@@ -1 +1 @@
-MD5 (center-2.0.0.tar.gz) = c7fe346cdd8a49242fe833c14584023a
+MD5 (centericq-3.7.3.tar.gz) = 79cfd9a0c8db8de14768b1bec6a37a94
diff --git a/net-im/centericq/files/patch-aa b/net-im/centericq/files/patch-aa
deleted file mode 100644
index ab31bf61fe63..000000000000
--- a/net-im/centericq/files/patch-aa
+++ /dev/null
@@ -1,35 +0,0 @@
---- ../ktools/src/Makefile.orig Wed Nov 24 12:22:50 1999
-+++ ../ktools/src/Makefile Sat Dec 25 13:32:33 1999
-@@ -1,15 +1,15 @@
- # macros and variables
-
--CC = gcc
--CPP = g++
-+CC ?= gcc
-+CPP = ${CXX}
- RANLIB = ranlib
-
- INSTDIR = .
- INSTDIR_LIB = $(INSTDIR)
-
--CFLAGS = #-g -Wall -DUNIX
-+CFLAGS += #-g -Wall -DUNIX
-
--INCLUDE = -I/usr/include -I../include
-+INCLUDE = -I../include
- OBJS = konst.fs.o konst.process.o konst.interface.o konst.string.o konst.socket.o konst.parser.o konst.logic.o
-
- #
-@@ -31,10 +31,10 @@
- all: $(LIB)
-
- %.o : %.cc
-- $(CPP) $*.cc -c $(INCLUDE) $(SSLINCL) -o $*.o
-+ $(CPP) ${CXXFLAGS} $*.cc -c $(INCLUDE) $(SSLINCL) -o $*.o
-
- %.o : %.c
-- $(CC) $*.c -c $(INCLUDE) $(SSLINCL) -o $*.o
-+ $(CC) ${CFLAGS} $*.c -c $(INCLUDE) $(SSLINCL) -o $*.o
-
- clean:
- rm -f *.o $(LIB); \
diff --git a/net-im/centericq/files/patch-ab b/net-im/centericq/files/patch-ab
deleted file mode 100644
index ab89c230f19f..000000000000
--- a/net-im/centericq/files/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.orig Sat Dec 25 13:35:19 1999
-+++ Makefile Sat Dec 25 13:36:05 1999
-@@ -1,14 +1,14 @@
- # macros and variables
--CC = gcc
--CPP = g++
-+CC ?= gcc
-+CPP = ${CXX}
-
- PROG1 = center
--CFLAGS = #-g -Wall -DUNIX
-+CFLAGS += #-g -Wall -DUNIX
-
--INCLUDE = -I/usr/include -I../ktools/include
-+INCLUDE = -I../ktools/include
- KTLIBDIR = ../ktools
- LIB = $(KTLIBDIR)/libkonst.a
--LIBDIR = -L/usr/lib -L/usr/local/lib
-+LIBDIR = -L${LOCALBASE}/lib -L${PREFIX}/lib
- OBJS = centerICQ.o centerinfo.o phonebook.o icqlib.o center.o centersearch.o
-
- # targets
diff --git a/net-im/centericq/files/patch-ac b/net-im/centericq/files/patch-ac
deleted file mode 100644
index 44f173e5fad8..000000000000
--- a/net-im/centericq/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- centerICQ.cc.orig Sat Dec 25 13:37:57 1999
-+++ centerICQ.cc Sat Dec 25 13:38:46 1999
-@@ -1680,7 +1680,7 @@
- mkdir(buf, S_IREAD | S_IWRITE | S_IEXEC);
-
- if(QanswerY) {
-- sprintf(fname, "cp /usr/local/lib/center/*.wav %s/.center", getenv("HOME"));
-+ sprintf(fname, "cp __PREFIX__/share/center/*.wav %s/.center", getenv("HOME"));
- system(fname);
- }
-
diff --git a/net-im/centericq/files/patch-ad b/net-im/centericq/files/patch-ad
new file mode 100644
index 000000000000..3442eda0238c
--- /dev/null
+++ b/net-im/centericq/files/patch-ad
@@ -0,0 +1,11 @@
+--- po/Makefile.in.orig Wed Nov 22 02:57:08 2000
++++ po/Makefile.in Wed Nov 22 02:57:25 2000
+@@ -23,7 +23,7 @@
+ for i in $(LANGS); do msgfmt -o $$i.mo $$i.po; done
+
+ install:
+- for i in $(LANGS); do install -D -m 644 $$i.mo ${datadir}/locale/$$i/LC_MESSAGES/centericq.mo; done
++ for i in $(LANGS); do install -C -D -m 644 $$i.mo ${datadir}/locale/$$i/LC_MESSAGES/centericq.mo; done
+
+ clean:
+ # for i in $(LANGS); do $(RM) $$i.mo; done
diff --git a/net-im/centericq/pkg-plist b/net-im/centericq/pkg-plist
index 59feab2efacf..5f1613dcf2ef 100644
--- a/net-im/centericq/pkg-plist
+++ b/net-im/centericq/pkg-plist
@@ -1,7 +1,8 @@
-bin/center
-share/center/Contact.wav
-share/center/Message.wav
-share/center/Online.wav
-share/center/email.wav
-share/center/url.wav
-@dirrm share/center
+bin/centericq
+share/centericq/email.wav
+share/centericq/file.wav
+share/centericq/msg.wav
+share/centericq/url.wav
+share/locale/de/LC_MESSAGES/centericq.mo
+share/locale/ru/LC_MESSAGES/centericq.mo
+@dirrm share/centericq