summaryrefslogtreecommitdiff
path: root/comms/gammu-devel
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gammu-devel')
-rw-r--r--comms/gammu-devel/Makefile53
-rw-r--r--comms/gammu-devel/distinfo3
-rw-r--r--comms/gammu-devel/files/patch-CMakeLists.txt40
-rw-r--r--comms/gammu-devel/files/patch-bluetooth66
-rw-r--r--comms/gammu-devel/files/patch-common.device.devfunc.c11
-rw-r--r--comms/gammu-devel/files/patch-common.service.gsmmisc.c10
-rw-r--r--comms/gammu-devel/files/patch-gammu-backupsms.c11
-rw-r--r--comms/gammu-devel/pkg-descr11
-rw-r--r--comms/gammu-devel/pkg-plist44
9 files changed, 0 insertions, 249 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
deleted file mode 100644
index bb95f987b13c..000000000000
--- a/comms/gammu-devel/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# New ports collection makefile for: gammu
-# Date created: 12 december 2003
-# Whom: Kirill Bezzubets <kirill@solaris.ru>
-#
-# $FreeBSD$
-#
-
-PORTNAME= gammu
-PORTVERSION= 1.23.1
-PORTREVISION= 2
-CATEGORIES= comms
-MASTER_SITES= ftp://dl.cihar.com/gammu/releases/ \
- http://dl.cihar.com/gammu/releases/
-
-MAINTAINER= bsam@FreeBSD.org
-COMMENT= GNU All Mobile Management Utilities
-
-RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog
-
-CMAKE_ARGS+= -DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
-
-USE_CMAKE= yes
-USE_GNOME= pkgconfig
-
-.if defined(WITH_PYTHON_GAMMU)
-USE_PYTHON= YES
-PLIST_SUB= WITH_PYTHON_GAMMU=""
-.else
-PLIST_SUB= WITH_PYTHON_GAMMU="@comment "
-.endif
-
-PORTDOCS= *
-
-.if defined(NOPORTDOCS)
-CMAKE_ARGS+= -DINSTALL_DOC=OFF -DINSTALL_PHP_EXAMPLES=OFF -DINSTALL_MEDIA=OFF \
- -DINSTALL_GNAPPLET=OFF
-.else
-MAN1= gammu.1 gammu-config.1 jadmaker.1 gammu-smsd.1 gammu-smsd-inject.1 \
- gammu-smsd-monitor.1
-MAN5= gammu-smsdrc.5 gammurc.5
-MAN7= gammu-smsd-files.7 gammu-smsd-mysql.7 gammu-smsd-pgsql.7 \
- gammu-smsd-dbi.7 gammu-smsd-tables.7
-.endif
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${REINPLACE_CMD} -i '' -e 's:bash:sh:' -e 's:dialog:cdialog:' ${WRKSRC}/utils/gammu-config
-.if ${OSVERSION} < 700042
- @${REINPLACE_CMD} -e 's@ -Wno-pointer-sign@@g' ${WRKSRC}/CMakeLists.txt
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/comms/gammu-devel/distinfo b/comms/gammu-devel/distinfo
deleted file mode 100644
index c0a2b1cfa445..000000000000
--- a/comms/gammu-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (gammu-1.23.1.tar.gz) = 60853feea8d5b22b5cebfeec911caa14
-SHA256 (gammu-1.23.1.tar.gz) = 175f17d9413d6e9c59a3134899c915a08dc119400337d994560213727560ccd2
-SIZE (gammu-1.23.1.tar.gz) = 2852548
diff --git a/comms/gammu-devel/files/patch-CMakeLists.txt b/comms/gammu-devel/files/patch-CMakeLists.txt
deleted file mode 100644
index 0291659a6532..000000000000
--- a/comms/gammu-devel/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,40 +0,0 @@
---- CMakeLists.txt.orig 2009-02-25 19:46:07.000000000 +0300
-+++ CMakeLists.txt 2009-03-11 13:04:48.000000000 +0300
-@@ -547,7 +547,7 @@
- set (INSTALL_DOC_DIR "share/doc/gammu" CACHE STRING "Path for documentation installation")
- mark_as_advanced (INSTALL_DOC_DIR)
-
--set (INSTALL_MAN_DIR "share/man" CACHE STRING "Path for man pages installation")
-+set (INSTALL_MAN_DIR "man" CACHE STRING "Path for man pages installation")
- mark_as_advanced (INSTALL_MAN_DIR)
-
- # Phone and protocol configuration
-@@ -698,11 +698,13 @@
- COMPONENT "pkgconfig"
- )
-
-+if(INSTALL_DOC)
- install (
- FILES ${DOCS}
- DESTINATION "${INSTALL_DOC_DIR}"
- COMPONENT "docs"
- )
-+endif(INSTALL_DOC)
-
- # We want some tests. Even when cross compiling for Windows tests can be
- # done in Wine. This is better than nothing, even though Wine is a bit
-@@ -860,10 +860,14 @@
-
- add_subdirectory(utils)
-
-+option(INSTALL_DOC "Install documentation" ON)
-+
-+if(INSTALL_DOC)
- add_subdirectory(docs/config)
- add_subdirectory(docs/develop)
- add_subdirectory(docs/sql)
- add_subdirectory(docs/user)
-+endif(WITH_DOC)
-
- add_subdirectory(contrib)
-
diff --git a/comms/gammu-devel/files/patch-bluetooth b/comms/gammu-devel/files/patch-bluetooth
deleted file mode 100644
index d1a3f820c11b..000000000000
--- a/comms/gammu-devel/files/patch-bluetooth
+++ /dev/null
@@ -1,66 +0,0 @@
---- libgammu/device/bluetoth/bluez.c.orig 2007-03-10 19:47:59.000000000 +0300
-+++ libgammu/device/bluetoth/bluez.c 2007-06-29 20:00:48.000000000 +0400
-@@ -23,6 +23,8 @@
- #ifdef GSM_ENABLE_BLUETOOTHDEVICE
- #ifdef GSM_ENABLE_BLUEZ
-
-+#define BDADDR_ANY NG_HCI_BDADDR_ANY
-+
- #include <stdlib.h>
- #include <stdio.h>
- #include <fcntl.h>
-@@ -31,11 +33,7 @@
- #include <sys/socket.h>
- #include <sys/time.h>
- #include <unistd.h>
--#include <bluetooth/bluetooth.h>
--#include <bluetooth/rfcomm.h>
--#include <bluetooth/sdp.h>
--#include <bluetooth/sdp_lib.h>
--#include <bluetooth/hci_lib.h>
-+#include <bluetooth.h>
-
- #include "../../gsmcomon.h"
- #include "../devfunc.h"
-@@ -44,7 +42,7 @@
- GSM_Error bluetooth_connect(GSM_StateMachine *s, int port, char *device)
- {
- GSM_Device_BlueToothData *d = &s->Device.Data.BlueTooth;
-- struct sockaddr_rc laddr, raddr;
-+ struct sockaddr_rfcomm laddr, raddr;
- bdaddr_t bdaddr;
- int fd;
-
-@@ -53,15 +51,15 @@
-
- smprintf(s, "Connecting to RF channel %i\n",port);
-
-- fd = socket(PF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM);
-+ fd = socket(PF_BLUETOOTH, SOCK_STREAM, BLUETOOTH_PROTO_RFCOMM);
- if (fd < 0) {
- smprintf(s, "Can't create socket\n");
- return ERR_DEVICENODRIVER;
- }
-
-- bacpy(&laddr.rc_bdaddr, BDADDR_ANY);
-- laddr.rc_family = AF_BLUETOOTH;
-- laddr.rc_channel = 0;
-+ bacpy(&laddr.rfcomm_bdaddr, BDADDR_ANY);
-+ laddr.rfcomm_family = AF_BLUETOOTH;
-+ laddr.rfcomm_channel = 0;
-
- if (bind(fd, (struct sockaddr *)&laddr, sizeof(laddr)) < 0) {
- dbgprintf("Can't bind socket\n");
-@@ -70,9 +68,9 @@
- }
-
- str2ba(device, &bdaddr);
-- bacpy(&raddr.rc_bdaddr, &bdaddr);
-- raddr.rc_family = AF_BLUETOOTH;
-- raddr.rc_channel = port;
-+ bacpy(&raddr.rfcomm_bdaddr, &bdaddr);
-+ raddr.rfcomm_family = AF_BLUETOOTH;
-+ raddr.rfcomm_channel = port;
-
- if (connect(fd, (struct sockaddr *)&raddr, sizeof(raddr)) < 0) {
- dbgprintf("Can't connect\n");
diff --git a/comms/gammu-devel/files/patch-common.device.devfunc.c b/comms/gammu-devel/files/patch-common.device.devfunc.c
deleted file mode 100644
index cb474f2af445..000000000000
--- a/comms/gammu-devel/files/patch-common.device.devfunc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libgammu/device/devfunc.c.orig Fri Feb 23 23:50:01 2007
-+++ libgammu/device/devfunc.c Tue Apr 10 23:46:39 2007
-@@ -19,6 +19,8 @@
- #include <string.h>
- #include <fcntl.h>
- #include <stdlib.h>
-+#include <sys/stat.h>
-+#include <sys/socket.h>
- #ifdef WIN32
- # include <io.h>
- #else
diff --git a/comms/gammu-devel/files/patch-common.service.gsmmisc.c b/comms/gammu-devel/files/patch-common.service.gsmmisc.c
deleted file mode 100644
index 8e9d933cdfc2..000000000000
--- a/comms/gammu-devel/files/patch-common.service.gsmmisc.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- libgammu/service/gsmmisc.c.orig Fri Dec 30 18:18:47 2005
-+++ libgammu/service/gsmmisc.c Fri Dec 30 18:19:07 2005
-@@ -3,6 +3,7 @@
- #include <string.h>
- #include <stdlib.h>
- #include <sys/stat.h>
-+#include <sys/socket.h>
-
- #include <gammu-keys.h>
- #include <gammu-debug.h>
diff --git a/comms/gammu-devel/files/patch-gammu-backupsms.c b/comms/gammu-devel/files/patch-gammu-backupsms.c
deleted file mode 100644
index e1299e151bb9..000000000000
--- a/comms/gammu-devel/files/patch-gammu-backupsms.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- gammu/backupsms.c.orig 2009-03-12 10:06:22.000000000 +0300
-+++ gammu/backupsms.c 2009-03-12 10:06:38.000000000 +0300
-@@ -23,7 +23,7 @@
- GSM_SMSFolders folders;
- bool BackupFromFolder[GSM_MAX_SMS_FOLDERS];
- bool start = true;
-- bool DeleteAfter, askdelete = true;
-+ bool DeleteAfter = false, askdelete = true;
- int j, smsnum = 0;
-
- if (argc == 4) {
diff --git a/comms/gammu-devel/pkg-descr b/comms/gammu-devel/pkg-descr
deleted file mode 100644
index b329b1944038..000000000000
--- a/comms/gammu-devel/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-Gammu (Gnu All Mobile Management Utilities) 0.98.0
-
-Gammu allows you to manage your mobile phone directly from
-your PC. It has many features, such as SMS handling, Calendar,
-Java support, ringtones, pictures, and many, many other good
-things.
-
-WWW: http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page
-
-- Kirill Bezzubets
-<kirill@solaris.ru>
diff --git a/comms/gammu-devel/pkg-plist b/comms/gammu-devel/pkg-plist
deleted file mode 100644
index e825fbfd8770..000000000000
--- a/comms/gammu-devel/pkg-plist
+++ /dev/null
@@ -1,44 +0,0 @@
-bin/gammu
-bin/gammu-config
-bin/gammu-smsd
-bin/gammu-smsd-inject
-bin/gammu-smsd-monitor
-bin/jadmaker
-include/gammu/gammu-backup.h
-include/gammu/gammu-bitmap.h
-include/gammu/gammu-calendar.h
-include/gammu/gammu-call.h
-include/gammu/gammu-callback.h
-include/gammu/gammu-category.h
-include/gammu/gammu-config.h
-include/gammu/gammu-datetime.h
-include/gammu/gammu-debug.h
-include/gammu/gammu-error.h
-include/gammu/gammu-file.h
-include/gammu/gammu-info.h
-include/gammu/gammu-inifile.h
-include/gammu/gammu-keys.h
-include/gammu/gammu-limits.h
-include/gammu/gammu-memory.h
-include/gammu/gammu-message.h
-include/gammu/gammu-misc.h
-include/gammu/gammu-nokia.h
-include/gammu/gammu-ringtone.h
-include/gammu/gammu-security.h
-include/gammu/gammu-settings.h
-include/gammu/gammu-smsd.h
-include/gammu/gammu-statemachine.h
-include/gammu/gammu-types.h
-include/gammu/gammu-unicode.h
-include/gammu/gammu-wap.h
-include/gammu/gammu.h
-lib/libGammu.a
-lib/libgsmsd.a
-libdata/pkgconfig/gammu.pc
-libdata/pkgconfig/gammu-smsd.pc
-%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/__init__.py
-%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/_gammu.so
-%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.py
-%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.py
-@dirrm include/gammu
-%%WITH_PYTHON_GAMMU%%@dirrm %%PYTHON_SITELIBDIR%%/gammu