From 46f65d7f5e1f2185e8584cbb07d2fdf4ee9a4984 Mon Sep 17 00:00:00 2001 From: Rodrigo Osorio Date: Sun, 25 Feb 2024 12:01:13 +0100 Subject: comms/gammu: moved manpages to share/man Update cmake arg INSTALL_MAN_DIR and fix plist Reorder and reformat Makefile to make linters happy --- comms/gammu/Makefile | 24 ++++++++++++++---------- comms/gammu/pkg-plist | 40 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 30 deletions(-) (limited to 'comms') diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index 5fb44c7bcc01..9c3a1c422161 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/Makefile @@ -1,5 +1,6 @@ PORTNAME= gammu PORTVERSION= 1.42.0 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://dl.cihar.com/gammu/releases/ @@ -12,33 +13,36 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcurl.so:ftp/curl -CMAKE_ARGS= -DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata \ - -DINSTALL_MAN_DIR:PATH=${PREFIX}/man - -USES= cmake compiler:c++11-lang gettext gnome iconv pkgconfig shebangfix tar:xz -SHEBANG_FILES= utils/jadmaker utils/gammu-config -bash_CMD= /bin/sh +USES= cmake compiler:c++11-lang gettext gnome iconv pkgconfig \ + shebangfix tar:xz USE_GNOME= glib20 USE_LDCONFIG= yes +SHEBANG_FILES= utils/gammu-config utils/jadmaker +bash_CMD= /bin/sh + +CMAKE_ARGS= -DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata \ + -DINSTALL_MAN_DIR:PATH=${PREFIX}/share/man + PLIST_SUB+= VERSION=${PORTVERSION} PORTDOCS= * -OPTIONS_DEFINE= BASH DBI DOCS PGSQL MYSQL ODBC +OPTIONS_DEFINE= BASH DBI DOCS MYSQL ODBC PGSQL OPTIONS_DEFAULT= BASH OPTIONS_SUB= yes +DBI_DESC= Database support via LibDBI + BASH_BUILD_DEPENDS= bash:shells/bash BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS} BASH_CMAKE_OFF= -DINSTALL_BASH_COMPLETION:BOOL=OFF -DBI_DESC= Database support via LibDBI DBI_LIB_DEPENDS= libdbi.so:databases/libdbi DBI_CMAKE_OFF= -DWITH_LibDBI:BOOL=OFF -PGSQL_USES= pgsql -PGSQL_CMAKE_OFF= -DWITH_Postgres:BOOL=OFF MYSQL_USES= mysql MYSQL_CMAKE_OFF= -DWITH_MySQL:BOOL=OFF ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CMAKE_OFF= -DWITH_ODBC:BOOL=OFF +PGSQL_USES= pgsql +PGSQL_CMAKE_OFF= -DWITH_Postgres:BOOL=OFF .include diff --git a/comms/gammu/pkg-plist b/comms/gammu/pkg-plist index 1145e6f569cc..d5d647f4a731 100644 --- a/comms/gammu/pkg-plist +++ b/comms/gammu/pkg-plist @@ -42,26 +42,26 @@ lib/libgsmsd.so.8 lib/libgsmsd.so.8.%%VERSION%% libdata/pkgconfig/gammu.pc libdata/pkgconfig/gammu-smsd.pc -man/man1/gammu.1.gz -man/man1/gammu-config.1.gz -man/man1/gammu-detect.1.gz -man/man1/gammu-smsd-inject.1.gz -man/man1/gammu-smsd-monitor.1.gz -man/man1/gammu-smsd.1.gz -man/man1/jadmaker.1.gz -man/man5/gammu-backup.5.gz -man/man5/gammu-smsbackup.5.gz -man/man5/gammu-smsdrc.5.gz -man/man5/gammurc.5.gz -man/man7/gammu-smsd-dbi.7.gz -man/man7/gammu-smsd-files.7.gz -man/man7/gammu-smsd-mysql.7.gz -man/man7/gammu-smsd-null.7.gz -man/man7/gammu-smsd-odbc.7.gz -man/man7/gammu-smsd-pgsql.7.gz -man/man7/gammu-smsd-run.7.gz -man/man7/gammu-smsd-sql.7.gz -man/man7/gammu-smsd-tables.7.gz +share/man/man1/gammu.1.gz +share/man/man1/gammu-config.1.gz +share/man/man1/gammu-detect.1.gz +share/man/man1/gammu-smsd-inject.1.gz +share/man/man1/gammu-smsd-monitor.1.gz +share/man/man1/gammu-smsd.1.gz +share/man/man1/jadmaker.1.gz +share/man/man5/gammu-backup.5.gz +share/man/man5/gammu-smsbackup.5.gz +share/man/man5/gammu-smsdrc.5.gz +share/man/man5/gammurc.5.gz +share/man/man7/gammu-smsd-dbi.7.gz +share/man/man7/gammu-smsd-files.7.gz +share/man/man7/gammu-smsd-mysql.7.gz +share/man/man7/gammu-smsd-null.7.gz +share/man/man7/gammu-smsd-odbc.7.gz +share/man/man7/gammu-smsd-pgsql.7.gz +share/man/man7/gammu-smsd-run.7.gz +share/man/man7/gammu-smsd-sql.7.gz +share/man/man7/gammu-smsd-tables.7.gz %%DATADIR%%/gammu-s60-remote.sis %%DATADIR%%/gnapplet.ini %%DATADIR%%/gnapplet.sis -- cgit v1.2.3