aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2013-06-21 18:10:08 +0800
committersbz <sbz@FreeBSD.org>2013-06-21 18:10:08 +0800
commitc1f691f60a0cafaa0f53d0addc89516d03a9b398 (patch)
treee17048de2d5712ad96fd8f4517c2633b4bd5d02c
parente6b80b5e1095e7d306b66c031630db4bc6105028 (diff)
downloadfreebsd-ports-gnome-c1f691f60a0cafaa0f53d0addc89516d03a9b398.tar.gz
freebsd-ports-gnome-c1f691f60a0cafaa0f53d0addc89516d03a9b398.tar.zst
freebsd-ports-gnome-c1f691f60a0cafaa0f53d0addc89516d03a9b398.zip
ARandR is designed to provide a simple visual front end for XRandR. Relative
monitor positions are shown graphically and can be changed in a drag-and-drop way. WWW: http://christian.amsuess.com/tools/arandr/
-rw-r--r--x11/Makefile1
-rw-r--r--x11/arandr/Makefile43
-rw-r--r--x11/arandr/distinfo2
-rw-r--r--x11/arandr/pkg-descr5
-rw-r--r--x11/arandr/pkg-plist88
5 files changed, 139 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 6fbca700d2a1..6d2717f7d380 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -9,6 +9,7 @@
SUBDIR += alltray
SUBDIR += appres
SUBDIR += apwal
+ SUBDIR += arandr
SUBDIR += aterm
SUBDIR += avant-window-navigator
SUBDIR += avant-window-navigator-gnome
diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile
new file mode 100644
index 000000000000..49c19c6349ca
--- /dev/null
+++ b/x11/arandr/Makefile
@@ -0,0 +1,43 @@
+# Created by: Sofian Brabez <sbz@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= arandr
+PORTVERSION= 0.1.7.1
+CATEGORIES= x11 deskutils
+MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
+ LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
+
+MAINTAINER= sbz@FreeBSD.org
+COMMENT= Another XRandR GUI
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:${PORTSDIR}/textproc/py-docutils
+RUN_DEPENDS= xrandr>0:${PORTSDIR}/x11/xrandr \
+ ${PYTHON_PKGNAMEPREFIX}gtk>0:${PORTSDIR}/x11-toolkits/py-gtk2
+
+OPTIONS_DEFINE= DOCS
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.options.mk>
+
+USES+= gettext desktop-file-utils
+
+MANCOMPRESSED= yes
+MAN1= ${PORTNAME}.1 \
+ ${PORTNAME:C/a/unx/}.1
+
+PORTDOCS= ChangeLog NEWS README TODO
+
+post-patch:
+ ${REINPLACE_CMD} -i '' 's#share/man#man#' ${WRKSRC}/${PYSETUP}
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11/arandr/distinfo b/x11/arandr/distinfo
new file mode 100644
index 000000000000..67f6dc088a04
--- /dev/null
+++ b/x11/arandr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (arandr-0.1.7.1.tar.gz) = ab73aa90d05d48b95a01afdad37b7c21a2cdf4af98f7d78b2502b819382748da
+SIZE (arandr-0.1.7.1.tar.gz) = 82118
diff --git a/x11/arandr/pkg-descr b/x11/arandr/pkg-descr
new file mode 100644
index 000000000000..1aec64cbd50b
--- /dev/null
+++ b/x11/arandr/pkg-descr
@@ -0,0 +1,5 @@
+ARandR is designed to provide a simple visual front end for XRandR. Relative
+monitor positions are shown graphically and can be changed in a drag-and-drop
+way.
+
+WWW: http://christian.amsuess.com/tools/arandr/
diff --git a/x11/arandr/pkg-plist b/x11/arandr/pkg-plist
new file mode 100644
index 000000000000..2dad40523811
--- /dev/null
+++ b/x11/arandr/pkg-plist
@@ -0,0 +1,88 @@
+bin/arandr
+bin/unxrandr
+%%PYTHON_SITELIBDIR%%/screenlayout/__init__.py
+%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.py
+%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/data/gpl-3.txt
+%%PYTHON_SITELIBDIR%%/screenlayout/demo.py
+%%PYTHON_SITELIBDIR%%/screenlayout/demo.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/demo.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/gui.py
+%%PYTHON_SITELIBDIR%%/screenlayout/gui.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/gui.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/meta.py
+%%PYTHON_SITELIBDIR%%/screenlayout/meta.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/meta.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/metacity.py
+%%PYTHON_SITELIBDIR%%/screenlayout/metacity.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/metacity.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/snap.py
+%%PYTHON_SITELIBDIR%%/screenlayout/snap.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/snap.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/widget.py
+%%PYTHON_SITELIBDIR%%/screenlayout/widget.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/widget.pyo
+%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.py
+%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.pyc
+%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.pyo
+share/applications/arandr.desktop
+share/locale/ar/LC_MESSAGES/arandr.mo
+share/locale/br/LC_MESSAGES/arandr.mo
+share/locale/bs/LC_MESSAGES/arandr.mo
+share/locale/ca/LC_MESSAGES/arandr.mo
+share/locale/da/LC_MESSAGES/arandr.mo
+share/locale/de/LC_MESSAGES/arandr.mo
+share/locale/el/LC_MESSAGES/arandr.mo
+share/locale/es/LC_MESSAGES/arandr.mo
+share/locale/fa/LC_MESSAGES/arandr.mo
+share/locale/fr/LC_MESSAGES/arandr.mo
+share/locale/gl/LC_MESSAGES/arandr.mo
+share/locale/hu/LC_MESSAGES/arandr.mo
+share/locale/it/LC_MESSAGES/arandr.mo
+share/locale/ja/LC_MESSAGES/arandr.mo
+share/locale/kn/LC_MESSAGES/arandr.mo
+share/locale/ko_KR/LC_MESSAGES/arandr.mo
+share/locale/lt/LC_MESSAGES/arandr.mo
+share/locale/nl/LC_MESSAGES/arandr.mo
+share/locale/pl/LC_MESSAGES/arandr.mo
+share/locale/pt_BR/LC_MESSAGES/arandr.mo
+share/locale/ro/LC_MESSAGES/arandr.mo
+share/locale/ru/LC_MESSAGES/arandr.mo
+share/locale/sk/LC_MESSAGES/arandr.mo
+share/locale/sv/LC_MESSAGES/arandr.mo
+share/locale/tr/LC_MESSAGES/arandr.mo
+share/locale/uk/LC_MESSAGES/arandr.mo
+share/locale/zh_CN/LC_MESSAGES/arandr.mo
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/tr/LC_MESSAGES
+@dirrmtry share/locale/sv/LC_MESSAGES
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/ru/LC_MESSAGES
+@dirrmtry share/locale/ro/LC_MESSAGES
+@dirrmtry share/locale/pt_BR/LC_MESSAGES
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/nl/LC_MESSAGES
+@dirrmtry share/locale/lt/LC_MESSAGES
+@dirrmtry share/locale/ko_KR/LC_MESSAGES
+@dirrmtry share/locale/ko_KR
+@dirrmtry share/locale/kn/LC_MESSAGES
+@dirrmtry share/locale/ja/LC_MESSAGES
+@dirrmtry share/locale/it/LC_MESSAGES
+@dirrmtry share/locale/hu/LC_MESSAGES
+@dirrmtry share/locale/gl/LC_MESSAGES
+@dirrmtry share/locale/fr/LC_MESSAGES
+@dirrmtry share/locale/fa/LC_MESSAGES
+@dirrmtry share/locale/es/LC_MESSAGES
+@dirrmtry share/locale/el/LC_MESSAGES
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/da/LC_MESSAGES
+@dirrmtry share/locale/ca/LC_MESSAGES
+@dirrmtry share/locale/bs/LC_MESSAGES
+@dirrmtry share/locale/br/LC_MESSAGES
+@dirrmtry share/locale/ar/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/screenlayout/data
+@dirrm %%PYTHON_SITELIBDIR%%/screenlayout