diff options
Diffstat (limited to 'deskutils/gruler')
-rw-r--r-- | deskutils/gruler/Makefile | 27 | ||||
-rw-r--r-- | deskutils/gruler/distinfo | 3 | ||||
-rw-r--r-- | deskutils/gruler/files/patch-Makefile.in | 34 | ||||
-rw-r--r-- | deskutils/gruler/files/patch-gruler.desktop.in | 18 | ||||
-rw-r--r-- | deskutils/gruler/files/patch-src::Makefile.in | 12 | ||||
-rw-r--r-- | deskutils/gruler/pkg-descr | 20 | ||||
-rw-r--r-- | deskutils/gruler/pkg-plist | 7 |
7 files changed, 121 insertions, 0 deletions
diff --git a/deskutils/gruler/Makefile b/deskutils/gruler/Makefile new file mode 100644 index 000000000..298e144f9 --- /dev/null +++ b/deskutils/gruler/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: gruler +# Date created: 24 October 2004 +# Whom: Piotr Smyrak <smyru@heron.pl> +# +# $FreeBSD$ +# + +PORTNAME= gruler +PORTVERSION= 0.6 +PORTREVISION= 4 +CATEGORIES= deskutils +MASTER_SITES= http://linuxadvocate.org/projects/gruler/downloads/ + +MAINTAINER= jylefort@FreeBSD.org +COMMENT= A customizable screen ruler for GNOME + +USE_X_PREFIX= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui libglade2 +USE_AUTOTOOLS= libtool:15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GCC= 3.4 + +post-patch: + @${REINPLACE_CMD} -e 's|^CFLAGS=""||' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/deskutils/gruler/distinfo b/deskutils/gruler/distinfo new file mode 100644 index 000000000..734ac4720 --- /dev/null +++ b/deskutils/gruler/distinfo @@ -0,0 +1,3 @@ +MD5 (gruler-0.6.tar.gz) = 62f5c8e1814b615456be76f9677e6d49 +SHA256 (gruler-0.6.tar.gz) = 32257af03d71a04a4c9ee70a3b77e4d03d9129b768878fbc2ed55e180cca0f18 +SIZE (gruler-0.6.tar.gz) = 339440 diff --git a/deskutils/gruler/files/patch-Makefile.in b/deskutils/gruler/files/patch-Makefile.in new file mode 100644 index 000000000..be6b1592e --- /dev/null +++ b/deskutils/gruler/files/patch-Makefile.in @@ -0,0 +1,34 @@ +--- Makefile.in.orig Thu Jan 27 22:20:10 2005 ++++ Makefile.in Thu Jan 27 22:21:10 2005 +@@ -155,7 +155,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + +-SUBDIRS = intl po macros include src pixmaps ++SUBDIRS = intl po macros src pixmaps + + grulerdocdir = ${prefix}/doc/gruler + grulerdoc_DATA = \ +@@ -171,10 +171,10 @@ + + EXTRA_DIST = $(grulerdoc_DATA) + +-gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@/Utilities ++gnomemenudir = $(datadir)/applications + gnomemenu_DATA = gruler.desktop + +-gruler_glade_filedir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@/glade ++gruler_glade_filedir = $(datadir)/@PACKAGE@/glade + gruler_glade_file_DATA = gruler.glade gruler-icon.png + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -605,8 +605,7 @@ + + info-am: + +-install-data-am: install-gnomemenuDATA install-gruler_glade_fileDATA \ +- install-grulerdocDATA ++install-data-am: install-gnomemenuDATA install-gruler_glade_fileDATA + + install-exec-am: + diff --git a/deskutils/gruler/files/patch-gruler.desktop.in b/deskutils/gruler/files/patch-gruler.desktop.in new file mode 100644 index 000000000..6264d8197 --- /dev/null +++ b/deskutils/gruler/files/patch-gruler.desktop.in @@ -0,0 +1,18 @@ +--- gruler.desktop.in.orig Thu Jan 27 22:22:49 2005 ++++ gruler.desktop.in Thu Jan 27 22:48:49 2005 +@@ -1,10 +1,10 @@ +- + [Desktop Entry] +-Name=gRuler +-Comment=Screen Ruler ++Name=Screen Ruler ++Comment=Measure distances + Exec=gruler +-Icon=@PACKAGE_PIXMAPS_DIR@/gruler-icon.png ++Icon=gruler-icon.png + Terminal=false + MultipleArgs=false + Type=Application +- ++Categories=GNOME;Application;Utility; ++StartupNotify=true diff --git a/deskutils/gruler/files/patch-src::Makefile.in b/deskutils/gruler/files/patch-src::Makefile.in new file mode 100644 index 000000000..677664129 --- /dev/null +++ b/deskutils/gruler/files/patch-src::Makefile.in @@ -0,0 +1,12 @@ +--- src/Makefile.in.orig Thu Jan 27 22:24:50 2005 ++++ src/Makefile.in Thu Jan 27 22:25:13 2005 +@@ -159,9 +159,6 @@ + $(GNOME_CFLAGS) + + +-AM_CFLAGS = \ +- -Wall\ +- -g + + + bin_PROGRAMS = gruler diff --git a/deskutils/gruler/pkg-descr b/deskutils/gruler/pkg-descr new file mode 100644 index 000000000..71acdcad8 --- /dev/null +++ b/deskutils/gruler/pkg-descr @@ -0,0 +1,20 @@ +Gnome Screen Ruler is an on-screen ruler for measuring horizontal and +vertical distances in any application. Features: + + * Horizontal and vertical display + * Multiple units: pixels, inches, centimeters, picas, points, + percentage + * Configurable colors and font + * Can be set always-on-top + * Measurement lines track mouse cursor to help measure + anything on screen + * Move and resize via click-and-drag with the mouse + * Align with other windows while dragging (hold SHIFT key) + * Move using the keyboard for precision (arrow keys) + * Resize using keyboard (ALT+arrow keys) + * Speed up keyboard operations (hold SHIFT key) + +WWW: http://linuxadvocate.org/projects/gruler/ + +- Jean-Yves Lefort +jylefort@FreeBSD.org diff --git a/deskutils/gruler/pkg-plist b/deskutils/gruler/pkg-plist new file mode 100644 index 000000000..48687f199 --- /dev/null +++ b/deskutils/gruler/pkg-plist @@ -0,0 +1,7 @@ +bin/gruler +share/applications/gruler.desktop +share/gruler/glade/gruler-icon.png +share/gruler/glade/gruler.glade +share/pixmaps/gruler-icon.png +@dirrm share/gruler/glade +@dirrm share/gruler |