diff options
5 files changed, 76 insertions, 0 deletions
diff --git a/deskutils/gdesklets-sensor-displayconstraints/Makefile b/deskutils/gdesklets-sensor-displayconstraints/Makefile new file mode 100644 index 000000000..cad18a3c6 --- /dev/null +++ b/deskutils/gdesklets-sensor-displayconstraints/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: gdesklets-displayconstraints +# Date created: 06 January 2004 +# Whom: Franz Klammer <klammer@webonaut.com> +# +# $FreeBSD$ +# + +PORTNAME= displayconstraints +PORTVERSION= 0.1.0 +PORTREVISION= 3 +CATEGORIES= deskutils gnome +MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ +PKGNAMEPREFIX= gdesklets-sensor- +DISTNAME= displayconstraints-${PORTVERSION} + +MAINTAINER= klammer@webonaut.com +COMMENT= This Sensor allows a user to set maximum constraints on a display + +DEPRECATED= dead project and not fetchable any more +EXPIRATION_DATE=2006-10-12 + +RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets + +WRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION} + +USE_BZIP2= yes +USE_XLIB= yes +USE_PYTHON= yes +NAME= DisplayConstraints + +do-build: + @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} + @${FIND} ${WRKSRC} -name '*.orig' -delete + +do-install: + @${MKDIR} ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME} + ${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ + ${INSTALL_DATA} ${WRKSRC}/${NAME}/README ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/Sensors/${NAME}/ + +.include <bsd.port.mk> diff --git a/deskutils/gdesklets-sensor-displayconstraints/distinfo b/deskutils/gdesklets-sensor-displayconstraints/distinfo new file mode 100644 index 000000000..1ef4e2d5c --- /dev/null +++ b/deskutils/gdesklets-sensor-displayconstraints/distinfo @@ -0,0 +1,3 @@ +MD5 (displayconstraints-0.1.0.tar.bz2) = a36a563797dfd8c8f112323300661d02 +SHA256 (displayconstraints-0.1.0.tar.bz2) = 539e7f22765e925fb1ffa400b0960b1840bb1ea969e1a3e746fc260b54d4dbe5 +SIZE (displayconstraints-0.1.0.tar.bz2) = 3327 diff --git a/deskutils/gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin b/deskutils/gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin new file mode 100644 index 000000000..418cc72b7 --- /dev/null +++ b/deskutils/gdesklets-sensor-displayconstraints/files/patch-Install_DisplayConstraints_Sensor.bin @@ -0,0 +1,19 @@ +--- Install_DisplayConstraints_Sensor.bin.orig Sun Sep 14 22:03:43 2003 ++++ Install_DisplayConstraints_Sensor.bin Tue Jan 6 14:08:22 2004 +@@ -75,15 +75,9 @@ + else: + cmd = "mkdir -p %(destination)s; cd %(destination)s; " \ + "LANG=C tar -xzvf %(tmp)s 2>&1" +- fail, out = commands.getstatusoutput(cmd % vars()) ++ commands.getstatusoutput(cmd % vars()) + os.unlink(tmp) + +- if (fail): +- if (no_message): print ERROR_TAR + out +- else: message(ERROR_TAR + out, "error") +- sys.exit(1) +- +- print out + if (not list_only): + if (no_message): print SUCCESS + else: message(SUCCESS, "info") diff --git a/deskutils/gdesklets-sensor-displayconstraints/pkg-descr b/deskutils/gdesklets-sensor-displayconstraints/pkg-descr new file mode 100644 index 000000000..dedb5bff5 --- /dev/null +++ b/deskutils/gdesklets-sensor-displayconstraints/pkg-descr @@ -0,0 +1,7 @@ +This sensor allows a user to set maximum constraints on a display. + +The display will then not grow larger then the maximum values specified. + +Currently only display 'Width' and 'Height' are supported. + +WWW: http://gdesklets.gnomedesktop.org/ diff --git a/deskutils/gdesklets-sensor-displayconstraints/pkg-plist b/deskutils/gdesklets-sensor-displayconstraints/pkg-plist new file mode 100644 index 000000000..5e0fd540a --- /dev/null +++ b/deskutils/gdesklets-sensor-displayconstraints/pkg-plist @@ -0,0 +1,5 @@ +share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.py +share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyc +share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.pyo +share/gnome/gdesklets/Sensors/DisplayConstraints/README +@dirrm share/gnome/gdesklets/Sensors/DisplayConstraints/ |