1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add gruler, a tool that helps measure dimension of the on-screen objects, one

very helpful to webmasters.

PR:		74021
Submitted by:	Piotr Smyrak <piotr.smyrak@heron.pl>
This commit is contained in:
Joe Marcus Clarke 2004-11-22 20:55:41 +00:00
parent 472ea9756d
commit 0d03632e39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122170
8 changed files with 92 additions and 0 deletions

View File

@ -49,6 +49,7 @@
SUBDIR += gnomeutils2
SUBDIR += gnotime
SUBDIR += goats
SUBDIR += gruler
SUBDIR += gtimer
SUBDIR += gtkjournal
SUBDIR += gtodo

24
deskutils/gruler/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: gruler
# Date created: 24 October 2004
# Whom: Piotr Smyrak <smyru@heron.pl>
#
# $FreeBSD$
#
PORTNAME= gruler
PORTVERSION= 0.4
CATEGORIES= deskutils gnome
MASTER_SITES= http://linuxadvocate.org/projects/gruler/downloads/
DISTNAME=${PORTNAME:S/gr/gR/}-${PORTVERSION}
MAINTAINER= smyru@heron.pl
COMMENT= Screen ruler for GNOME desktop
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui libglade2
USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (gRuler-0.4.tar.gz) = 9fb13566b8c254af8ddce93cbee43c8a
SIZE (gRuler-0.4.tar.gz) = 322121

View File

@ -0,0 +1,28 @@
--- Makefile.in.orig Tue Nov 16 00:54:04 2004
+++ Makefile.in Tue Nov 16 01:14:24 2004
@@ -157,24 +157,12 @@
SUBDIRS = intl po macros include src
-grulerdocdir = ${prefix}/doc/gRuler
-grulerdoc_DATA = \
- README\
- COPYING\
- AUTHORS\
- ChangeLog\
- INSTALL\
- NEWS\
- TODO\
- ABOUT-NLS
-
-
EXTRA_DIST = $(grulerdoc_DATA)
gnomemenudir = $(prefix)/@NO_PREFIX_PACKAGE_MENU_DIR@/Utilities
gnomemenu_DATA = gRuler.desktop
-gruler_glade_filedir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@/glade
+gruler_glade_filedir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/glade
gruler_glade_file_DATA = gRuler.glade
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4

View File

@ -0,0 +1,11 @@
--- configure.orig Tue Nov 16 00:57:01 2004
+++ configure Tue Nov 16 00:57:52 2004
@@ -12430,7 +12430,7 @@
packageprefix=${prefix}
fi
-packagedatadir=share
+packagedatadir=share/${PACKAGE}
packagedocdir=doc/${PACKAGE}
packagepixmapsdir=share/pixmaps/${PACKAGE}

View File

@ -0,0 +1,11 @@
--- src/gui.c.orig Mon Nov 15 13:54:11 2004
+++ src/gui.c Mon Nov 15 13:56:31 2004
@@ -85,7 +85,7 @@
glade_gnome_init ();
// Load and connect glade file
- g_pXML = glade_xml_new (PACKAGE_SOURCE_DIR"/gRuler.glade", NULL, NULL);
+ g_pXML = glade_xml_new (PACKAGE_DATA_DIR"/glade/gRuler.glade", NULL, NULL);
glade_xml_signal_autoconnect (g_pXML);
// load and configure horizontal ruler

View File

@ -0,0 +1,4 @@
Gnome Screen Ruler is a tool that helps measure dimension
of the on-screen objects, one very helpful to webmasters.
WWW: http://linuxadvocate.org/projects/gruler/

View File

@ -0,0 +1,11 @@
bin/gruler
include/gRuler/draw.h
include/gRuler/gui.h
include/gRuler/gui_callbacks.h
include/gRuler/main.h
include/gRuler/prefs.h
share/gRuler/glade/gRuler.glade
share/gnome/apps/Utilities/gRuler.desktop
@dirrm share/gRuler/glade
@dirrm share/gRuler
@dirrm include/gRuler