aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gruler
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-22 20:55:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-22 20:55:41 +0000
commit0d03632e391d102cbe8ec248e85b2b9ce36d92ad (patch)
treed583711c91ffca4269f014bc3297ff9f01b1104a /deskutils/gruler
parent472ea9756dfae3f1fd1e5917901a530b7d92cf60 (diff)
downloadports-0d03632e391d102cbe8ec248e85b2b9ce36d92ad.tar.gz
ports-0d03632e391d102cbe8ec248e85b2b9ce36d92ad.zip
Notes
Diffstat (limited to 'deskutils/gruler')
-rw-r--r--deskutils/gruler/Makefile24
-rw-r--r--deskutils/gruler/distinfo2
-rw-r--r--deskutils/gruler/files/patch-Makefile.in28
-rw-r--r--deskutils/gruler/files/patch-configure11
-rw-r--r--deskutils/gruler/files/patch-src::gui.c11
-rw-r--r--deskutils/gruler/pkg-descr4
-rw-r--r--deskutils/gruler/pkg-plist11
7 files changed, 91 insertions, 0 deletions
diff --git a/deskutils/gruler/Makefile b/deskutils/gruler/Makefile
new file mode 100644
index 000000000000..1e965a4e94f1
--- /dev/null
+++ b/deskutils/gruler/Makefile
@@ -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>
diff --git a/deskutils/gruler/distinfo b/deskutils/gruler/distinfo
new file mode 100644
index 000000000000..9c413f6d2de8
--- /dev/null
+++ b/deskutils/gruler/distinfo
@@ -0,0 +1,2 @@
+MD5 (gRuler-0.4.tar.gz) = 9fb13566b8c254af8ddce93cbee43c8a
+SIZE (gRuler-0.4.tar.gz) = 322121
diff --git a/deskutils/gruler/files/patch-Makefile.in b/deskutils/gruler/files/patch-Makefile.in
new file mode 100644
index 000000000000..71a191f0c041
--- /dev/null
+++ b/deskutils/gruler/files/patch-Makefile.in
@@ -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
diff --git a/deskutils/gruler/files/patch-configure b/deskutils/gruler/files/patch-configure
new file mode 100644
index 000000000000..f50648ca1162
--- /dev/null
+++ b/deskutils/gruler/files/patch-configure
@@ -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}
diff --git a/deskutils/gruler/files/patch-src::gui.c b/deskutils/gruler/files/patch-src::gui.c
new file mode 100644
index 000000000000..d72fd58ba58f
--- /dev/null
+++ b/deskutils/gruler/files/patch-src::gui.c
@@ -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
diff --git a/deskutils/gruler/pkg-descr b/deskutils/gruler/pkg-descr
new file mode 100644
index 000000000000..24b69302655b
--- /dev/null
+++ b/deskutils/gruler/pkg-descr
@@ -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/
diff --git a/deskutils/gruler/pkg-plist b/deskutils/gruler/pkg-plist
new file mode 100644
index 000000000000..e1329d7abd47
--- /dev/null
+++ b/deskutils/gruler/pkg-plist
@@ -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