View | Details | Raw Unified | Return to bug 208863
Collapse All | Expand All

(-)comms/gammu/Makefile (-22 / +27 lines)
Lines 2-11 Link Here
2
# $FreeBSD: head/comms/gammu/Makefile 412344 2016-04-01 13:29:15Z mat $
2
# $FreeBSD: head/comms/gammu/Makefile 412344 2016-04-01 13:29:15Z mat $
3
3
4
PORTNAME=	gammu
4
PORTNAME=	gammu
5
PORTVERSION=	1.37.0
5
PORTVERSION=	1.37.2
6
CATEGORIES=	comms
6
CATEGORIES=	comms
7
MASTER_SITES=	http://dl.cihar.com/gammu/releases/ \
7
MASTER_SITES=	http://dl.cihar.com/gammu/releases/
8
		http://dl.cihar.com.nyud.net/gammu/releases/
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	GNU All Mobile Management Utilities
10
COMMENT=	GNU All Mobile Management Utilities
Lines 14-49 Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
16
LIB_DEPENDS=	libcurl.so:ftp/curl
15
LIB_DEPENDS=	libcurl.so:ftp/curl
16
RUN_DEPENDS=	cdialog:devel/cdialog
17
17
18
CONFLICTS=	gammu-devel-[1-9]* gammu-python-[1-9]*
18
USES=		cmake:outsource gettext iconv pkgconfig shebangfix tar:xz
19
19
SHEBANG_FILES=	utils/gammu-config utils/jadmaker
20
CMAKE_ARGS+=	-DINSTALL_LIBDATA_DIR=${LOCALBASE}/libdata
21
22
USES=		cmake gettext pkgconfig python shebangfix
23
SHEBANG_FILES=	utils/jadmaker utils/gammu-config
24
bash_CMD=	/bin/sh
20
bash_CMD=	/bin/sh
25
USE_GNOME=	glib20
21
USE_GNOME=	glib20
22
CMAKE_ARGS=	-DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata
26
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
27
PLIST_SUB+=	VERSION=${PORTVERSION}
28
24
29
PORTDOCS=	*
25
PORTDOCS=	*
30
26
31
OPTIONS_DEFINE=	BASH
27
CONFLICTS=	gammu-devel-[1-9]* gammu-python-[1-9]*
28
29
OPTIONS_DEFINE=		BASH DBI DOCS PGSQL MYSQL ODBC
30
OPTIONS_SUB=		yes
32
31
33
BASH_BUILD_DEPENDS=	bash:shells/bash
32
BASH_BUILD_DEPENDS=	bash:shells/bash
34
BASH_RUN_DEPENDS=	${BASH_BUILD_DEPENDS}
33
BASH_RUN_DEPENDS=	${BASH_BUILD_DEPENDS}
35
BASH_PLIST_FILES=	etc/bash_completion.d/gammu
34
BASH_CMAKE_OFF=		-DINSTALL_BASH_COMPLETION:BOOL=OFF
36
BASH_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-patch-contrib_CMakeLists.txt
35
DBI_DESC=		Database support via LibDBI
36
DBI_LIB_DEPENDS=	libdbi.so:databases/libdbi
37
DBI_CMAKE_OFF=		-DWITH_LibDBI:BOOL=OFF
38
PGSQL_USES=		pgsql
39
PGSQL_CMAKE_OFF=	-DWITH_Postgres:BOOL=OFF
40
MYSQL_USE=		mysql=yes
41
MYSQL_CMAKE_OFF=	-DWITH_MySQL:BOOL=OFF
42
ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
43
ODBC_CMAKE_OFF=		-DWITH_ODBC:BOOL=OFF
37
44
38
post-patch:
45
post-patch:
39
	@${REINPLACE_CMD} -i '' -e 's:/etc/bash_completion.d:${PREFIX}/etc/bash_completion.d:' \
46
	@${REINPLACE_CMD} -e \
40
		${WRKSRC}/contrib/CMakeLists.txt
47
		'/initgroups/s|"grp.h"|"unistd.h"| ; \
41
48
		 /"-O2"/d ; \
42
post-install:
49
		 /COPYING/d ; \
43
	(cd ${STAGEDIR}${PREFIX} && \
50
		 s|"share/man"|"man"|' ${WRKSRC}/CMakeLists.txt
44
	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
51
	@${REINPLACE_CMD} -e \
45
		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \
52
		'/BASH/s|"/etc/|"etc/|' ${WRKSRC}/contrib/CMakeLists.txt
46
	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
47
		-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
48
53
49
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)comms/gammu/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gammu-1.37.0.tar.gz) = 4661d50266ac2742c13d2cb3e362b1049f536d95cc911db735c4dafbf92bfeff
1
SHA256 (gammu-1.37.2.tar.xz) = 5057cf7435c49d385e1f5c0d8f5723af58dc9727d748a78d103ad202b1baa9d0
2
SIZE (gammu-1.37.0.tar.gz) = 3000108
2
SIZE (gammu-1.37.2.tar.xz) = 1664676
(-)comms/gammu/files/extra-patch-contrib_CMakeLists.txt (-11 lines)
Lines 1-11 Link Here
1
--- contrib/CMakeLists.txt.orig	2015-12-08 10:38:11 UTC
2
+++ contrib/CMakeLists.txt
3
@@ -10,7 +10,7 @@ option(INSTALL_MEDIA "Install sample med
4
 option(INSTALL_PHP_EXAMPLES "Install PHP example scripts" ON)
5
 
6
 if (BASH_BIN)
7
-    option(INSTALL_BASH_COMPLETION "Install bash completion script for Gammu" ON)
8
+    option(INSTALL_BASH_COMPLETION "Install bash completion script for Gammu" OFF)
9
 else (BASH_BIN)
10
     option(INSTALL_BASH_COMPLETION "Install bash completion script for Gammu" OFF)
11
 endif (BASH_BIN)
(-)comms/gammu/files/patch-CMakeLists.txt (-20 lines)
Lines 1-20 Link Here
1
--- CMakeLists.txt.orig	2015-12-08 10:38:11 UTC
2
+++ CMakeLists.txt
3
@@ -116,7 +116,7 @@ check_symbol_exists (getpwnam "pwd.h" HA
4
 check_symbol_exists (getgrnam "grp.h" HAVE_GETGRNAM)
5
 check_symbol_exists (getpwuid "pwd.h" HAVE_GETPWUID)
6
 check_symbol_exists (getuid "unistd.h" HAVE_GETUID)
7
-check_symbol_exists (initgroups "grp.h" HAVE_INITGROUPS)
8
+check_symbol_exists (initgroups "unistd.h" HAVE_INITGROUPS)
9
 check_symbol_exists (setuid "unistd.h" HAVE_SETUID)
10
 check_symbol_exists (setgid "unistd.h" HAVE_SETGID)
11
 check_symbol_exists (SIGHUP "signal.h" HAVE_SIGHUP)
12
@@ -590,7 +590,7 @@ mark_as_advanced (INSTALL_DATA_DIR)
13
 set (INSTALL_DOC_DIR "share/doc/gammu" CACHE STRING "Path for documentation installation")
14
 mark_as_advanced (INSTALL_DOC_DIR)
15
 
16
-set (INSTALL_MAN_DIR "share/man" CACHE STRING "Path for man pages installation")
17
+set (INSTALL_MAN_DIR "man" CACHE STRING "Path for man pages installation")
18
 mark_as_advanced (INSTALL_MAN_DIR)
19
 
20
 # Phone and protocol configuration
(-)comms/gammu/pkg-descr (-15 / +12 lines)
Lines 1-24 Link Here
1
Gammu (Gnu All Mobile Management Utilities)
2
3
Gammu is the name of the project as well as name of command line
1
Gammu is the name of the project as well as name of command line
4
utility, which you can use to control your phone. It is written in
2
utility, which you can use to control mobile phone. It is written in C
5
C and built on top of libGammu.
3
and built on top of libGammu.
6
4
7
Gammu command line utility provides access to wide range of phone
5
Gammu command line utility provides access to wide range of phone
8
features, however support level differs from phone to phone and you
6
features, however support level differs from phone to phone and you
9
might want to check Gammu Phone Database for user experiences with
7
might want to check Gammu Phone Database for user experiences with
10
various phones. Generally following features are supported:
8
various phones. Generally following features are supported:
11
9
12
    * Call listing, initiating and handling;
10
 * Call listing, initiating and handling
13
    * SMS retrieval, backup and sending;
11
 * SMS retrieval, backup and sending
14
    * MMS retrieval;
12
 * MMS retrieval
15
    * Phonebook listing, export and import (also from standard
13
 * Phonebook listing, export and import (also from standard formats
16
      formats such as vCard);
14
   such as vCard)
17
    * Calendar and tasks listing, export and import (also from
15
 * Calendar and tasks listing, export and import (also from standard
18
      standard formats such as vCalendar or iCalendar);
16
   formats such as vCalendar or iCalendar)
19
    * Retrieval of phone and network information;
17
 * Retrieval of phone and network information
20
    * Access to phone file system (note that some phones work also
18
 * Access to phone file system (note that some phones work also as USB
21
      as USB storage devices and those are not accessible through
19
   storage devices and those are not accessible through Gammu)
22
      Gammu).
23
20
24
WWW: http://wammu.eu/gammu/
21
WWW: http://wammu.eu/gammu/
(-)comms/gammu/pkg-plist (-4 / +5 lines)
Lines 5-10 Link Here
5
bin/gammu-smsd-inject
5
bin/gammu-smsd-inject
6
bin/gammu-smsd-monitor
6
bin/gammu-smsd-monitor
7
bin/jadmaker
7
bin/jadmaker
8
%%BASH%%etc/bash_completion.d/gammu
9
include/gammu/gammu.h
8
include/gammu/gammu-backup.h
10
include/gammu/gammu-backup.h
9
include/gammu/gammu-bitmap.h
11
include/gammu/gammu-bitmap.h
10
include/gammu/gammu-calendar.h
12
include/gammu/gammu-calendar.h
Lines 32-52 Link Here
32
include/gammu/gammu-types.h
34
include/gammu/gammu-types.h
33
include/gammu/gammu-unicode.h
35
include/gammu/gammu-unicode.h
34
include/gammu/gammu-wap.h
36
include/gammu/gammu-wap.h
35
include/gammu/gammu.h
36
lib/libGammu.so
37
lib/libGammu.so
37
lib/libGammu.so.7
38
lib/libGammu.so.7
38
lib/libGammu.so.7.%%VERSION%%
39
lib/libGammu.so.7.1.37.2
39
lib/libgsmsd.so
40
lib/libgsmsd.so
40
lib/libgsmsd.so.7
41
lib/libgsmsd.so.7
41
lib/libgsmsd.so.7.%%VERSION%%
42
lib/libgsmsd.so.7.1.37.2
42
libdata/pkgconfig/gammu.pc
43
libdata/pkgconfig/gammu.pc
43
libdata/pkgconfig/gammu-smsd.pc
44
libdata/pkgconfig/gammu-smsd.pc
45
man/man1/gammu.1.gz
44
man/man1/gammu-config.1.gz
46
man/man1/gammu-config.1.gz
45
man/man1/gammu-detect.1.gz
47
man/man1/gammu-detect.1.gz
46
man/man1/gammu-smsd-inject.1.gz
48
man/man1/gammu-smsd-inject.1.gz
47
man/man1/gammu-smsd-monitor.1.gz
49
man/man1/gammu-smsd-monitor.1.gz
48
man/man1/gammu-smsd.1.gz
50
man/man1/gammu-smsd.1.gz
49
man/man1/gammu.1.gz
50
man/man1/jadmaker.1.gz
51
man/man1/jadmaker.1.gz
51
man/man5/gammu-backup.5.gz
52
man/man5/gammu-backup.5.gz
52
man/man5/gammu-smsbackup.5.gz
53
man/man5/gammu-smsbackup.5.gz

Return to bug 208863