From 8a91e346c83abe6e4e1c1063f681f2623052c644 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Thu, 9 Jul 1998 16:01:54 +0000 Subject: Port of licq 0.32-a, an ICQ program using QT. Submitted by: Brian Feldman Setup dialog: eivind --- net/licq-devel/Makefile | 34 +++++++++++++++++ net/licq-devel/distinfo | 1 + net/licq-devel/files/patch-aa | 87 +++++++++++++++++++++++++++++++++++++++++++ net/licq-devel/pkg-comment | 1 + net/licq-devel/pkg-descr | 3 ++ net/licq-devel/pkg-plist | 23 ++++++++++++ net/licq/Makefile | 34 +++++++++++++++++ net/licq/distinfo | 1 + net/licq/files/patch-aa | 87 +++++++++++++++++++++++++++++++++++++++++++ net/licq/pkg-comment | 1 + net/licq/pkg-descr | 3 ++ net/licq/pkg-plist | 23 ++++++++++++ 12 files changed, 298 insertions(+) create mode 100644 net/licq-devel/Makefile create mode 100644 net/licq-devel/distinfo create mode 100644 net/licq-devel/files/patch-aa create mode 100644 net/licq-devel/pkg-comment create mode 100644 net/licq-devel/pkg-descr create mode 100644 net/licq-devel/pkg-plist create mode 100644 net/licq/Makefile create mode 100644 net/licq/distinfo create mode 100644 net/licq/files/patch-aa create mode 100644 net/licq/pkg-comment create mode 100644 net/licq/pkg-descr create mode 100644 net/licq/pkg-plist (limited to 'net') diff --git a/net/licq-devel/Makefile b/net/licq-devel/Makefile new file mode 100644 index 000000000000..1b9304bdf508 --- /dev/null +++ b/net/licq-devel/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: licq +# Version required: 0.32-a +# Date created: 2 July 1998 +# Whom: Brian Feldman +# +# $Id: Makefile,v 1.1.1.1 1998/07/02 03:22:36 eivind Exp $ +# + +DISTNAME= licq-0.32-a +CATEGORIES= net +MASTER_SITES= http://pages.infinit.net/fairoff/licq/ +EXTRACT_SUFX= .tgz + +MAINTAINER= brianfeldman@hotmail.com + +LIB_DEPENDS= qt\\.1\\.33:${PORTSDIR}/x11/qt133 + +WRKSRC= ${WRKDIR}/${DISTNAME} + +do-install: + ${RM} -rf ${PREFIX}/share/licq + (cd ${WRKSRC}; make install) + ${INSTALL_PROGRAM} ${PREFIX}/share/licq/licq \ + ${PREFIX}/bin/licq-binary + ${RM} ${PREFIX}/share/licq/licq + ${SED} 's|___INSERT_PREFIX_HERE___|PREFIX=${PREFIX}|' \ + < ${FILESDIR}/licq-wrapper \ + > ${PREFIX}/bin/licq + chmod 555 ${PREFIX}/share/licq ${PREFIX}/bin/licq +.for file in javaToLicq micqToLicq + chmod 555 ${PREFIX}/share/licq/${file} +.endfor + +.include diff --git a/net/licq-devel/distinfo b/net/licq-devel/distinfo new file mode 100644 index 000000000000..fd52e74bc8bb --- /dev/null +++ b/net/licq-devel/distinfo @@ -0,0 +1 @@ +MD5 (licq-0.32-a.tgz) = 7ed0aed768cbb1a6d1996069918b708d diff --git a/net/licq-devel/files/patch-aa b/net/licq-devel/files/patch-aa new file mode 100644 index 000000000000..4bade35ed768 --- /dev/null +++ b/net/licq-devel/files/patch-aa @@ -0,0 +1,87 @@ +diff -ur Makefile Makefile +--- Makefile Sat Jul 4 18:46:51 1998 ++++ Makefile Sun Jul 5 10:33:57 1998 +@@ -1,7 +1,7 @@ + # stuff to check + + # base directory to install licq and the data sub directories to +-BASE_DIR=/usr/local/licq ++BASE_DIR=/usr/local/share/licq + + all: + (cd src; make; mv licq ..) +@@ -10,10 +10,9 @@ + (cd src; make clean) + + install: +- mkdir $(BASE_DIR) ++ mkdir -p $(BASE_DIR) + cp -R ./conf $(BASE_DIR)/conf + cp -R ./data $(BASE_DIR)/data + cp -R ./history $(BASE_DIR)/history + cp ./licq ./licq.inst ./micqToLicq ./javaToLicq ./README $(BASE_DIR) +- echo Now have each user who wants to use Licq run $(BASE_DIR)/licq.inst. +- ++ @echo Now have each user who wants to use Licq run $(BASE_DIR)/licq.inst. +diff -ur licq.inst licq.inst +--- licq.inst Sat Jul 4 18:42:37 1998 ++++ licq.inst Sun Jul 5 10:35:21 1998 +@@ -4,12 +4,12 @@ + # BASE_DIR = base directory where licq was installed, typically /usr/local/licq + # INST_DIR = dir to install to, typically ~/licq + +-BASE_DIR=/usr/local/licq +-INST_DIR=~/licq ++BASE_DIR=/usr/local/share/licq ++INST_DIR=~/.licq + + echo Installing Licq from $BASE_DIR to $INST_DIR. + echo Making $INST_DIR... +-mkdir $INST_DIR ++mkdir -p $INST_DIR + echo Copying data to $INST_DIR... + cp -R $BASE_DIR/data $INST_DIR/data + cp -R $BASE_DIR/conf $INST_DIR/conf +diff -ur src/Makefile src/Makefile +--- src/Makefile Sat Jul 4 20:51:29 1998 ++++ src/Makefile Sun Jul 5 10:23:36 1998 +@@ -1,6 +1,6 @@ + # ----- stuff to check ----- + +-QTDIR=-I/usr/lib/qt/include ++QTDIR=-I/usr/X11R6/include/X11/qt + GCC=g++ + MOC=moc + +diff -ur src/icq-defines.h src/icq-defines.h +--- src/icq-defines.h Sat Jul 4 12:27:15 1998 ++++ src/icq-defines.h Sun Jul 5 10:29:36 1998 +@@ -3,7 +3,7 @@ + #define ICQDEFINES_H + + // directory constants +-const char DEFAULT_BASE_DIR[] = "/usr/local/licq"; ++const char DEFAULT_BASE_DIR[] = "/usr/local/share/licq"; + const char CONF_DIR[] = "conf/"; + const char DATA_DIR[] = "data/"; + const char HISTORY_DIR[] = "history/"; +diff -ur src/socket.h src/socket.h +--- src/socket.h Tue Jun 9 21:35:43 1998 ++++ src/socket.h Sun Jul 5 10:26:14 1998 +@@ -1,6 +1,8 @@ + #ifndef socket_h + #define socket_h + ++#include ++#include + #include + #include + +diff -ur src/user.cpp src/user.cpp +--- src/user.cpp Sat Jul 4 20:17:53 1998 ++++ src/user.cpp Sun Jul 5 10:25:12 1998 +@@ -1,3 +1,4 @@ ++#include + #include + + #include "user.h" diff --git a/net/licq-devel/pkg-comment b/net/licq-devel/pkg-comment new file mode 100644 index 000000000000..97cfcfc56402 --- /dev/null +++ b/net/licq-devel/pkg-comment @@ -0,0 +1 @@ +X11 and QT-based ICQ-compatible program. diff --git a/net/licq-devel/pkg-descr b/net/licq-devel/pkg-descr new file mode 100644 index 000000000000..ae3421e48382 --- /dev/null +++ b/net/licq-devel/pkg-descr @@ -0,0 +1,3 @@ +This is an unofficial ICQ clone, written in C++ for X11 and the QT interface. +It is in no way endorsed by Mirabilis, and now is the most full-featured +ICQ-compatible program with the exception of Java ICQ. diff --git a/net/licq-devel/pkg-plist b/net/licq-devel/pkg-plist new file mode 100644 index 000000000000..9bcc9c7d63dc --- /dev/null +++ b/net/licq-devel/pkg-plist @@ -0,0 +1,23 @@ +bin/licq +bin/licq-binary +share/licq/conf/2127503.uin +share/licq/conf/licq.conf +share/licq/conf/sample.uin +share/licq/conf/users.conf +share/licq/data/0001.ppm +share/licq/data/FFFF.ppm +share/licq/data/0005.ppm +share/licq/data/0000.ppm +share/licq/data/0011.ppm +share/licq/data/message.ppm +share/licq/data/bg.ppm +share/licq/history/8562000.history +share/licq/history/2127503.history +share/licq/README +share/licq/javaToLicq +share/licq/micqToLicq +share/licq/licq.inst +@dirrm share/licq/conf +@dirrm share/licq/data +@dirrm share/licq/history +@dirrm share/licq diff --git a/net/licq/Makefile b/net/licq/Makefile new file mode 100644 index 000000000000..1b9304bdf508 --- /dev/null +++ b/net/licq/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: licq +# Version required: 0.32-a +# Date created: 2 July 1998 +# Whom: Brian Feldman +# +# $Id: Makefile,v 1.1.1.1 1998/07/02 03:22:36 eivind Exp $ +# + +DISTNAME= licq-0.32-a +CATEGORIES= net +MASTER_SITES= http://pages.infinit.net/fairoff/licq/ +EXTRACT_SUFX= .tgz + +MAINTAINER= brianfeldman@hotmail.com + +LIB_DEPENDS= qt\\.1\\.33:${PORTSDIR}/x11/qt133 + +WRKSRC= ${WRKDIR}/${DISTNAME} + +do-install: + ${RM} -rf ${PREFIX}/share/licq + (cd ${WRKSRC}; make install) + ${INSTALL_PROGRAM} ${PREFIX}/share/licq/licq \ + ${PREFIX}/bin/licq-binary + ${RM} ${PREFIX}/share/licq/licq + ${SED} 's|___INSERT_PREFIX_HERE___|PREFIX=${PREFIX}|' \ + < ${FILESDIR}/licq-wrapper \ + > ${PREFIX}/bin/licq + chmod 555 ${PREFIX}/share/licq ${PREFIX}/bin/licq +.for file in javaToLicq micqToLicq + chmod 555 ${PREFIX}/share/licq/${file} +.endfor + +.include diff --git a/net/licq/distinfo b/net/licq/distinfo new file mode 100644 index 000000000000..fd52e74bc8bb --- /dev/null +++ b/net/licq/distinfo @@ -0,0 +1 @@ +MD5 (licq-0.32-a.tgz) = 7ed0aed768cbb1a6d1996069918b708d diff --git a/net/licq/files/patch-aa b/net/licq/files/patch-aa new file mode 100644 index 000000000000..4bade35ed768 --- /dev/null +++ b/net/licq/files/patch-aa @@ -0,0 +1,87 @@ +diff -ur Makefile Makefile +--- Makefile Sat Jul 4 18:46:51 1998 ++++ Makefile Sun Jul 5 10:33:57 1998 +@@ -1,7 +1,7 @@ + # stuff to check + + # base directory to install licq and the data sub directories to +-BASE_DIR=/usr/local/licq ++BASE_DIR=/usr/local/share/licq + + all: + (cd src; make; mv licq ..) +@@ -10,10 +10,9 @@ + (cd src; make clean) + + install: +- mkdir $(BASE_DIR) ++ mkdir -p $(BASE_DIR) + cp -R ./conf $(BASE_DIR)/conf + cp -R ./data $(BASE_DIR)/data + cp -R ./history $(BASE_DIR)/history + cp ./licq ./licq.inst ./micqToLicq ./javaToLicq ./README $(BASE_DIR) +- echo Now have each user who wants to use Licq run $(BASE_DIR)/licq.inst. +- ++ @echo Now have each user who wants to use Licq run $(BASE_DIR)/licq.inst. +diff -ur licq.inst licq.inst +--- licq.inst Sat Jul 4 18:42:37 1998 ++++ licq.inst Sun Jul 5 10:35:21 1998 +@@ -4,12 +4,12 @@ + # BASE_DIR = base directory where licq was installed, typically /usr/local/licq + # INST_DIR = dir to install to, typically ~/licq + +-BASE_DIR=/usr/local/licq +-INST_DIR=~/licq ++BASE_DIR=/usr/local/share/licq ++INST_DIR=~/.licq + + echo Installing Licq from $BASE_DIR to $INST_DIR. + echo Making $INST_DIR... +-mkdir $INST_DIR ++mkdir -p $INST_DIR + echo Copying data to $INST_DIR... + cp -R $BASE_DIR/data $INST_DIR/data + cp -R $BASE_DIR/conf $INST_DIR/conf +diff -ur src/Makefile src/Makefile +--- src/Makefile Sat Jul 4 20:51:29 1998 ++++ src/Makefile Sun Jul 5 10:23:36 1998 +@@ -1,6 +1,6 @@ + # ----- stuff to check ----- + +-QTDIR=-I/usr/lib/qt/include ++QTDIR=-I/usr/X11R6/include/X11/qt + GCC=g++ + MOC=moc + +diff -ur src/icq-defines.h src/icq-defines.h +--- src/icq-defines.h Sat Jul 4 12:27:15 1998 ++++ src/icq-defines.h Sun Jul 5 10:29:36 1998 +@@ -3,7 +3,7 @@ + #define ICQDEFINES_H + + // directory constants +-const char DEFAULT_BASE_DIR[] = "/usr/local/licq"; ++const char DEFAULT_BASE_DIR[] = "/usr/local/share/licq"; + const char CONF_DIR[] = "conf/"; + const char DATA_DIR[] = "data/"; + const char HISTORY_DIR[] = "history/"; +diff -ur src/socket.h src/socket.h +--- src/socket.h Tue Jun 9 21:35:43 1998 ++++ src/socket.h Sun Jul 5 10:26:14 1998 +@@ -1,6 +1,8 @@ + #ifndef socket_h + #define socket_h + ++#include ++#include + #include + #include + +diff -ur src/user.cpp src/user.cpp +--- src/user.cpp Sat Jul 4 20:17:53 1998 ++++ src/user.cpp Sun Jul 5 10:25:12 1998 +@@ -1,3 +1,4 @@ ++#include + #include + + #include "user.h" diff --git a/net/licq/pkg-comment b/net/licq/pkg-comment new file mode 100644 index 000000000000..97cfcfc56402 --- /dev/null +++ b/net/licq/pkg-comment @@ -0,0 +1 @@ +X11 and QT-based ICQ-compatible program. diff --git a/net/licq/pkg-descr b/net/licq/pkg-descr new file mode 100644 index 000000000000..ae3421e48382 --- /dev/null +++ b/net/licq/pkg-descr @@ -0,0 +1,3 @@ +This is an unofficial ICQ clone, written in C++ for X11 and the QT interface. +It is in no way endorsed by Mirabilis, and now is the most full-featured +ICQ-compatible program with the exception of Java ICQ. diff --git a/net/licq/pkg-plist b/net/licq/pkg-plist new file mode 100644 index 000000000000..9bcc9c7d63dc --- /dev/null +++ b/net/licq/pkg-plist @@ -0,0 +1,23 @@ +bin/licq +bin/licq-binary +share/licq/conf/2127503.uin +share/licq/conf/licq.conf +share/licq/conf/sample.uin +share/licq/conf/users.conf +share/licq/data/0001.ppm +share/licq/data/FFFF.ppm +share/licq/data/0005.ppm +share/licq/data/0000.ppm +share/licq/data/0011.ppm +share/licq/data/message.ppm +share/licq/data/bg.ppm +share/licq/history/8562000.history +share/licq/history/2127503.history +share/licq/README +share/licq/javaToLicq +share/licq/micqToLicq +share/licq/licq.inst +@dirrm share/licq/conf +@dirrm share/licq/data +@dirrm share/licq/history +@dirrm share/licq -- cgit v1.2.3