aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/gammu-devel/Makefile3
-rw-r--r--comms/gammu-devel/files/patch-cfg-Makefile.glo41
-rw-r--r--comms/gammu-devel/pkg-plist95
-rw-r--r--comms/gammu/Makefile3
-rw-r--r--comms/gammu/files/patch-cfg-Makefile.glo41
-rw-r--r--comms/gammu/pkg-plist95
6 files changed, 278 insertions, 0 deletions
diff --git a/comms/gammu-devel/Makefile b/comms/gammu-devel/Makefile
index f6439639ef46..03418bfb2bd1 100644
--- a/comms/gammu-devel/Makefile
+++ b/comms/gammu-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 0.98.0
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.mwiacek.com/zips/gsm/gammu/older/ \
http://www.kirill.spb.ru/gammu/
@@ -16,9 +17,11 @@ COMMENT= GNU All Mobile Management Utilities
MAN1= gammu.1
USE_GMAKE= yes
+USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
WANT_AUTOCONF_VER=253
CONFIGURE_ARGS= --disable-bluerfsearch
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC"
.include <bsd.port.mk>
diff --git a/comms/gammu-devel/files/patch-cfg-Makefile.glo b/comms/gammu-devel/files/patch-cfg-Makefile.glo
new file mode 100644
index 000000000000..ff85ec550fb1
--- /dev/null
+++ b/comms/gammu-devel/files/patch-cfg-Makefile.glo
@@ -0,0 +1,41 @@
+--- cfg/Makefile.glo.orig Mon Jul 26 04:01:32 2004
++++ cfg/Makefile.glo Wed Mar 2 10:42:01 2005
+@@ -102,7 +102,7 @@
+ @echo Making $<
+ @$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $(<) -o $(@)
+
+-all: gammu
++all: gammu shared
+
+ $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
+ @echo Linking gammu
+@@ -203,7 +203,7 @@
+ @$(INSTALL) -m 0644 $(TOPDIR)/docs/docs/english/gammu.1 $(DESTDIR)$(INSTALL_MAN_DIR)
+ @$(RM) $(DESTDIR)$(INSTALL_DOC_DIR)/docs/english/gammu.1
+
+-install: uninstall all installdocs installlocales installonly
++install: uninstall all installdocs installlocales installlibonly
+
+ installonly: all
+ @echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR)
+@@ -220,8 +220,7 @@
+
+ @echo Installing shared library to $(DESTDIR)$(INSTALL_LIB_DIR)
+ @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)
+- @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)
+- @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
++ @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so
+
+ @echo Installing static library to $(DESTDIR)$(INSTALL_LIB_DIR)
+@@ -240,8 +239,8 @@
+ @$(INSTALL) -m 0644 cfg/config.h $(DESTDIR)$(INSTALL_H_DIR)/config.h
+
+ @echo Installing pkgconfig file
+- @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+- @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
++ @$(INSTALL) -m 0755 -d $(prefix)/libdata/pkgconfig
++ @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(prefix)/libdata/pkgconfig
+
+ apidoc:
+ @if test -z "$(DOXYGEN)" ; then \
diff --git a/comms/gammu-devel/pkg-plist b/comms/gammu-devel/pkg-plist
index c77603653d04..341978c6e404 100644
--- a/comms/gammu-devel/pkg-plist
+++ b/comms/gammu-devel/pkg-plist
@@ -23,6 +23,101 @@ share/gammu/gammu_de.txt
share/gammu/gammu_it.txt
share/gammu/gammu_pl.txt
share/gammu/gammu_us.txt
+libdata/pkgconfig/gammu.pc
+lib/libGammu.a
+lib/libGammu.so
+lib/libGammu.so.0
+include/gammu/config.h
+include/gammu/gammu.h
+include/gammu/gsmcomon.h
+include/gammu/gsmstate.h
+include/gammu/device/devfunc.h
+include/gammu/device/bluetoth/affix.h
+include/gammu/device/bluetoth/blue_w32.h
+include/gammu/device/bluetoth/bluetoth.h
+include/gammu/device/bluetoth/bluez.h
+include/gammu/device/irda/irda.h
+include/gammu/device/irda/irda_unx.h
+include/gammu/device/irda/irda_w32.h
+include/gammu/device/serial/ser_djg.h
+include/gammu/device/serial/ser_unx.h
+include/gammu/device/serial/ser_w32.h
+include/gammu/misc/cfg.h
+include/gammu/misc/misc.h
+include/gammu/misc/coding/coding.h
+include/gammu/misc/coding/md5.h
+include/gammu/phone/pfunc.h
+include/gammu/phone/alcatel/alcatel.h
+include/gammu/phone/at/atgen.h
+include/gammu/phone/at/samsung.h
+include/gammu/phone/at/siemens.h
+include/gammu/phone/at/sonyeric.h
+include/gammu/phone/nokia/ncommon.h
+include/gammu/phone/nokia/nfunc.h
+include/gammu/phone/nokia/nfuncold.h
+include/gammu/phone/nokia/dct3/dct3comm.h
+include/gammu/phone/nokia/dct3/dct3func.h
+include/gammu/phone/nokia/dct3/n6110.h
+include/gammu/phone/nokia/dct3/n7110.h
+include/gammu/phone/nokia/dct3/n9210.h
+include/gammu/phone/nokia/dct4/dct4func.h
+include/gammu/phone/nokia/dct4/n3320.h
+include/gammu/phone/nokia/dct4/n3650.h
+include/gammu/phone/nokia/dct4/n6510.h
+include/gammu/phone/obex/obexgen.h
+include/gammu/phone/symbian/mroutgen.h
+include/gammu/protocol/protocol.h
+include/gammu/protocol/alcatel/alcabus.h
+include/gammu/protocol/at/at.h
+include/gammu/protocol/nokia/fbus2.h
+include/gammu/protocol/nokia/mbus2.h
+include/gammu/protocol/nokia/phonet.h
+include/gammu/protocol/obex/obex.h
+include/gammu/protocol/symbian/mrouter.h
+include/gammu/service/gsmcal.h
+include/gammu/service/gsmcall.h
+include/gammu/service/gsmdata.h
+include/gammu/service/gsmlogo.h
+include/gammu/service/gsmmisc.h
+include/gammu/service/gsmnet.h
+include/gammu/service/gsmpbk.h
+include/gammu/service/gsmprof.h
+include/gammu/service/gsmring.h
+include/gammu/service/backup/backgen.h
+include/gammu/service/backup/backics.h
+include/gammu/service/backup/backldif.h
+include/gammu/service/backup/backlmb.h
+include/gammu/service/backup/backtext.h
+include/gammu/service/backup/backvcf.h
+include/gammu/service/backup/backvcs.h
+include/gammu/service/backup/gsmback.h
+include/gammu/service/sms/gsmems.h
+include/gammu/service/sms/gsmmulti.h
+include/gammu/service/sms/gsmsms.h
+@dirrm include/gammu/service/sms
+@dirrm include/gammu/service/backup
+@dirrm include/gammu/service
+@dirrm include/gammu/protocol/symbian
+@dirrm include/gammu/protocol/obex
+@dirrm include/gammu/protocol/nokia
+@dirrm include/gammu/protocol/at
+@dirrm include/gammu/protocol/alcatel
+@dirrm include/gammu/protocol
+@dirrm include/gammu/phone/symbian
+@dirrm include/gammu/phone/obex
+@dirrm include/gammu/phone/nokia/dct3
+@dirrm include/gammu/phone/nokia/dct4
+@dirrm include/gammu/phone/nokia
+@dirrm include/gammu/phone/at
+@dirrm include/gammu/phone/alcatel
+@dirrm include/gammu/phone
+@dirrm include/gammu/misc/coding
+@dirrm include/gammu/misc
+@dirrm include/gammu/device/serial
+@dirrm include/gammu/device/irda
+@dirrm include/gammu/device/bluetoth
+@dirrm include/gammu/device
+@dirrm include/gammu
@dirrm share/gammu
@dirrm %%DOCSDIR%%/docs/english
@dirrm %%DOCSDIR%%/docs/italian
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index f6439639ef46..03418bfb2bd1 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gammu
PORTVERSION= 0.98.0
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.mwiacek.com/zips/gsm/gammu/older/ \
http://www.kirill.spb.ru/gammu/
@@ -16,9 +17,11 @@ COMMENT= GNU All Mobile Management Utilities
MAN1= gammu.1
USE_GMAKE= yes
+USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
WANT_AUTOCONF_VER=253
CONFIGURE_ARGS= --disable-bluerfsearch
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC"
.include <bsd.port.mk>
diff --git a/comms/gammu/files/patch-cfg-Makefile.glo b/comms/gammu/files/patch-cfg-Makefile.glo
new file mode 100644
index 000000000000..ff85ec550fb1
--- /dev/null
+++ b/comms/gammu/files/patch-cfg-Makefile.glo
@@ -0,0 +1,41 @@
+--- cfg/Makefile.glo.orig Mon Jul 26 04:01:32 2004
++++ cfg/Makefile.glo Wed Mar 2 10:42:01 2005
+@@ -102,7 +102,7 @@
+ @echo Making $<
+ @$(CC) -c $(CFLAGS) -I$(TOPDIR)/common/ $(CPPFLAGS) $(<) -o $(@)
+
+-all: gammu
++all: gammu shared
+
+ $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
+ @echo Linking gammu
+@@ -203,7 +203,7 @@
+ @$(INSTALL) -m 0644 $(TOPDIR)/docs/docs/english/gammu.1 $(DESTDIR)$(INSTALL_MAN_DIR)
+ @$(RM) $(DESTDIR)$(INSTALL_DOC_DIR)/docs/english/gammu.1
+
+-install: uninstall all installdocs installlocales installonly
++install: uninstall all installdocs installlocales installlibonly
+
+ installonly: all
+ @echo Installing binaries to $(DESTDIR)$(INSTALL_BIN_DIR)
+@@ -220,8 +220,7 @@
+
+ @echo Installing shared library to $(DESTDIR)$(INSTALL_LIB_DIR)
+ @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)
+- @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)
+- @$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
++ @$(INSTALL) -m 0644 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so.$(SONAME_MAJOR)
+ @$(LN) -s libGammu.so.$(SONAME_MAJOR) $(DESTDIR)$(INSTALL_LIB_DIR)/libGammu.so
+
+ @echo Installing static library to $(DESTDIR)$(INSTALL_LIB_DIR)
+@@ -240,8 +239,8 @@
+ @$(INSTALL) -m 0644 cfg/config.h $(DESTDIR)$(INSTALL_H_DIR)/config.h
+
+ @echo Installing pkgconfig file
+- @$(INSTALL) -m 0755 -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+- @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
++ @$(INSTALL) -m 0755 -d $(prefix)/libdata/pkgconfig
++ @$(INSTALL) -m 0644 cfg/pkgconfig/gammu.pc $(prefix)/libdata/pkgconfig
+
+ apidoc:
+ @if test -z "$(DOXYGEN)" ; then \
diff --git a/comms/gammu/pkg-plist b/comms/gammu/pkg-plist
index c77603653d04..341978c6e404 100644
--- a/comms/gammu/pkg-plist
+++ b/comms/gammu/pkg-plist
@@ -23,6 +23,101 @@ share/gammu/gammu_de.txt
share/gammu/gammu_it.txt
share/gammu/gammu_pl.txt
share/gammu/gammu_us.txt
+libdata/pkgconfig/gammu.pc
+lib/libGammu.a
+lib/libGammu.so
+lib/libGammu.so.0
+include/gammu/config.h
+include/gammu/gammu.h
+include/gammu/gsmcomon.h
+include/gammu/gsmstate.h
+include/gammu/device/devfunc.h
+include/gammu/device/bluetoth/affix.h
+include/gammu/device/bluetoth/blue_w32.h
+include/gammu/device/bluetoth/bluetoth.h
+include/gammu/device/bluetoth/bluez.h
+include/gammu/device/irda/irda.h
+include/gammu/device/irda/irda_unx.h
+include/gammu/device/irda/irda_w32.h
+include/gammu/device/serial/ser_djg.h
+include/gammu/device/serial/ser_unx.h
+include/gammu/device/serial/ser_w32.h
+include/gammu/misc/cfg.h
+include/gammu/misc/misc.h
+include/gammu/misc/coding/coding.h
+include/gammu/misc/coding/md5.h
+include/gammu/phone/pfunc.h
+include/gammu/phone/alcatel/alcatel.h
+include/gammu/phone/at/atgen.h
+include/gammu/phone/at/samsung.h
+include/gammu/phone/at/siemens.h
+include/gammu/phone/at/sonyeric.h
+include/gammu/phone/nokia/ncommon.h
+include/gammu/phone/nokia/nfunc.h
+include/gammu/phone/nokia/nfuncold.h
+include/gammu/phone/nokia/dct3/dct3comm.h
+include/gammu/phone/nokia/dct3/dct3func.h
+include/gammu/phone/nokia/dct3/n6110.h
+include/gammu/phone/nokia/dct3/n7110.h
+include/gammu/phone/nokia/dct3/n9210.h
+include/gammu/phone/nokia/dct4/dct4func.h
+include/gammu/phone/nokia/dct4/n3320.h
+include/gammu/phone/nokia/dct4/n3650.h
+include/gammu/phone/nokia/dct4/n6510.h
+include/gammu/phone/obex/obexgen.h
+include/gammu/phone/symbian/mroutgen.h
+include/gammu/protocol/protocol.h
+include/gammu/protocol/alcatel/alcabus.h
+include/gammu/protocol/at/at.h
+include/gammu/protocol/nokia/fbus2.h
+include/gammu/protocol/nokia/mbus2.h
+include/gammu/protocol/nokia/phonet.h
+include/gammu/protocol/obex/obex.h
+include/gammu/protocol/symbian/mrouter.h
+include/gammu/service/gsmcal.h
+include/gammu/service/gsmcall.h
+include/gammu/service/gsmdata.h
+include/gammu/service/gsmlogo.h
+include/gammu/service/gsmmisc.h
+include/gammu/service/gsmnet.h
+include/gammu/service/gsmpbk.h
+include/gammu/service/gsmprof.h
+include/gammu/service/gsmring.h
+include/gammu/service/backup/backgen.h
+include/gammu/service/backup/backics.h
+include/gammu/service/backup/backldif.h
+include/gammu/service/backup/backlmb.h
+include/gammu/service/backup/backtext.h
+include/gammu/service/backup/backvcf.h
+include/gammu/service/backup/backvcs.h
+include/gammu/service/backup/gsmback.h
+include/gammu/service/sms/gsmems.h
+include/gammu/service/sms/gsmmulti.h
+include/gammu/service/sms/gsmsms.h
+@dirrm include/gammu/service/sms
+@dirrm include/gammu/service/backup
+@dirrm include/gammu/service
+@dirrm include/gammu/protocol/symbian
+@dirrm include/gammu/protocol/obex
+@dirrm include/gammu/protocol/nokia
+@dirrm include/gammu/protocol/at
+@dirrm include/gammu/protocol/alcatel
+@dirrm include/gammu/protocol
+@dirrm include/gammu/phone/symbian
+@dirrm include/gammu/phone/obex
+@dirrm include/gammu/phone/nokia/dct3
+@dirrm include/gammu/phone/nokia/dct4
+@dirrm include/gammu/phone/nokia
+@dirrm include/gammu/phone/at
+@dirrm include/gammu/phone/alcatel
+@dirrm include/gammu/phone
+@dirrm include/gammu/misc/coding
+@dirrm include/gammu/misc
+@dirrm include/gammu/device/serial
+@dirrm include/gammu/device/irda
+@dirrm include/gammu/device/bluetoth
+@dirrm include/gammu/device
+@dirrm include/gammu
@dirrm share/gammu
@dirrm %%DOCSDIR%%/docs/english
@dirrm %%DOCSDIR%%/docs/italian