diff options
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/congruity/Makefile | 23 | ||||
-rw-r--r-- | comms/congruity/distinfo | 2 | ||||
-rw-r--r-- | comms/congruity/files/patch-Makefile | 45 | ||||
-rw-r--r-- | comms/congruity/pkg-descr | 3 | ||||
-rw-r--r-- | comms/congruity/pkg-plist | 29 |
6 files changed, 103 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 3aadcea9375a..666144028ae0 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -22,6 +22,7 @@ SUBDIR += chu SUBDIR += comserv SUBDIR += concordance + SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cutecom diff --git a/comms/congruity/Makefile b/comms/congruity/Makefile new file mode 100644 index 000000000000..bf5068228ac8 --- /dev/null +++ b/comms/congruity/Makefile @@ -0,0 +1,23 @@ +# Created by: Stephen Hurd <shurd@sasktel.net> +# $FreeBSD$ + +PORTNAME= congruity +PORTVERSION= 18 +CATEGORIES= comms +MASTER_SITES= SF + +MAINTAINER= shurd@sasktel.net +COMMENT= GUI Logitech Harmony configuration tool + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libconcord>=0:${PORTSDIR}/comms/py-libconcord + +MAKE_ARGS= MANDIR=${PREFIX}/man +USES= tar:bzip2 gmake desktop-file-utils +USE_PYTHON= 2.7+ +USE_WX= 2.8+ +WANT_UNICODE= yes +WX_COMPS= python + +.include <bsd.port.mk> diff --git a/comms/congruity/distinfo b/comms/congruity/distinfo new file mode 100644 index 000000000000..26d65fadda78 --- /dev/null +++ b/comms/congruity/distinfo @@ -0,0 +1,2 @@ +SHA256 (congruity-18.tar.bz2) = 16cee522b3e0b2c76ae4527110cb517af015aa8d56b1e72b7cbfa9df06739878 +SIZE (congruity-18.tar.bz2) = 199393 diff --git a/comms/congruity/files/patch-Makefile b/comms/congruity/files/patch-Makefile new file mode 100644 index 000000000000..596c86ce7aed --- /dev/null +++ b/comms/congruity/files/patch-Makefile @@ -0,0 +1,45 @@ +--- Makefile.orig 2014-03-29 10:20:02.000000000 -0700 ++++ Makefile 2014-05-31 01:38:42.000000000 -0700 +@@ -17,27 +17,27 @@ + @echo "Nothing to build, run 'make install' as root" + + install: +- mkdir -p --mode=755 $(DESTDIR)$(BINDIR) ++ mkdir -p -m 755 $(DESTDIR)$(BINDIR) + sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < congruity > congruity.patched +- $(INSTALL) --mode=755 congruity.patched $(DESTDIR)$(BINDIR)/congruity ++ $(INSTALL) -m 755 congruity.patched $(DESTDIR)$(BINDIR)/congruity + rm -f congruity.patched + sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < mhgui > mhgui.patched +- $(INSTALL) --mode=755 mhgui.patched $(DESTDIR)$(BINDIR)/mhgui ++ $(INSTALL) -m 755 mhgui.patched $(DESTDIR)$(BINDIR)/mhgui + rm -f mhgui.patched +- mkdir -p --mode=755 $(DESTDIR)$(APPSHAREDIR) +- $(INSTALL) --mode=644 *.gif $(DESTDIR)$(APPSHAREDIR) +- $(INSTALL) --mode=644 *.png $(DESTDIR)$(APPSHAREDIR) +- $(INSTALL) --mode=644 harmony.wsdl $(DESTDIR)$(APPSHAREDIR) +- $(INSTALL) --mode=644 *.xsd $(DESTDIR)$(APPSHAREDIR) ++ mkdir -p -m 755 $(DESTDIR)$(APPSHAREDIR) ++ $(INSTALL) -m 644 *.gif $(DESTDIR)$(APPSHAREDIR) ++ $(INSTALL) -m 644 *.png $(DESTDIR)$(APPSHAREDIR) ++ $(INSTALL) -m 644 harmony.wsdl $(DESTDIR)$(APPSHAREDIR) ++ $(INSTALL) -m 644 *.xsd $(DESTDIR)$(APPSHAREDIR) + sed -e "s:/usr/share/congruity:${APPSHAREDIR}:" < mhmanager.py > mhmanager.py.patched +- $(INSTALL) --mode=644 mhmanager.py.patched $(DESTDIR)$(APPSHAREDIR)/mhmanager.py ++ $(INSTALL) -m 644 mhmanager.py.patched $(DESTDIR)$(APPSHAREDIR)/mhmanager.py + rm -f mhmanager.py.patched +- mkdir -p --mode=755 $(DESTDIR)$(MAN1DIR) +- $(INSTALL) --mode=644 congruity.1 $(DESTDIR)$(MAN1DIR) +- $(INSTALL) --mode=644 mhgui.1 $(DESTDIR)$(MAN1DIR) +- mkdir -p --mode=755 $(DESTDIR)$(DESKTOPDIR) +- $(INSTALL) --mode=644 congruity.desktop $(DESTDIR)$(DESKTOPDIR) +- $(INSTALL) --mode=644 mhgui.desktop $(DESTDIR)$(DESKTOPDIR) ++ mkdir -p -m 755 $(DESTDIR)$(MAN1DIR) ++ $(INSTALL) -m 644 congruity.1 $(DESTDIR)$(MAN1DIR) ++ $(INSTALL) -m 644 mhgui.1 $(DESTDIR)$(MAN1DIR) ++ mkdir -p -m 755 $(DESTDIR)$(DESKTOPDIR) ++ $(INSTALL) -m 644 congruity.desktop $(DESTDIR)$(DESKTOPDIR) ++ $(INSTALL) -m 644 mhgui.desktop $(DESTDIR)$(DESKTOPDIR) + ifeq ($(RUN_UPDATE_DESKTOP_DB),1) + $(UPDATE_DESKTOP_DB) > /dev/null 2>&1 || : + endif diff --git a/comms/congruity/pkg-descr b/comms/congruity/pkg-descr new file mode 100644 index 000000000000..f49aaa24125c --- /dev/null +++ b/comms/congruity/pkg-descr @@ -0,0 +1,3 @@ +congruity is a GUI application for programming Logitech(R) Harmony(TM) +remote controls. congruity builds upon the work of the concordance project, +which provides the underlying communication. diff --git a/comms/congruity/pkg-plist b/comms/congruity/pkg-plist new file mode 100644 index 000000000000..0ca6b32c12e5 --- /dev/null +++ b/comms/congruity/pkg-plist @@ -0,0 +1,29 @@ +bin/congruity +bin/mhgui +man/man1/congruity.1.gz +man/man1/mhgui.1.gz +share/applications/congruity.desktop +share/applications/mhgui.desktop +%%DATADIR%%/account.xsd +%%DATADIR%%/activity.xsd +%%DATADIR%%/am_data.xsd +%%DATADIR%%/arrays.xsd +%%DATADIR%%/button_mapping.xsd +%%DATADIR%%/data.xsd +%%DATADIR%%/discovery.xsd +%%DATADIR%%/dm_operation.xsd +%%DATADIR%%/harmony.wsdl +%%DATADIR%%/icon-complete.png +%%DATADIR%%/icon-failed.png +%%DATADIR%%/icon-in-progress.png +%%DATADIR%%/icon-unstarted.png +%%DATADIR%%/ir_data.xsd +%%DATADIR%%/mhmanager.py +%%DATADIR%%/operation.xsd +%%DATADIR%%/product.xsd +%%DATADIR%%/remote.png +%%DATADIR%%/search_match.xsd +%%DATADIR%%/serialization.xsd +%%DATADIR%%/throbber.gif +%%DATADIR%%/user_feature.xsd +@dirrmtry %%DATADIR%% |