aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/gnome-font-sampler
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-25 04:11:34 +0800
committerahze <ahze@FreeBSD.org>2005-01-25 04:11:34 +0800
commita8304adbb1c4b79f16ee95281c9a64414189d2a4 (patch)
tree052cf95f8ead746c48372b1c5bf34a11033f2b7c /x11-fonts/gnome-font-sampler
parent479981d9e68e19fbbe463b6168b99efe2d701c51 (diff)
downloadfreebsd-ports-gnome-a8304adbb1c4b79f16ee95281c9a64414189d2a4.tar.gz
freebsd-ports-gnome-a8304adbb1c4b79f16ee95281c9a64414189d2a4.tar.zst
freebsd-ports-gnome-a8304adbb1c4b79f16ee95281c9a64414189d2a4.zip
Add x11-fonts/gnome-font-sampler
The easiest way to pick the right font for the job. Features: * View as many or as few fonts at once as you like * Choose font size, text color, background color, bold, italics, underline, and example text used * Double-click adds/removes a font (depending on which list you do it in) PR: ports/75697 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'x11-fonts/gnome-font-sampler')
-rw-r--r--x11-fonts/gnome-font-sampler/Makefile35
-rw-r--r--x11-fonts/gnome-font-sampler/distinfo2
-rw-r--r--x11-fonts/gnome-font-sampler/files/patch-Makefile.in29
-rw-r--r--x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in17
-rw-r--r--x11-fonts/gnome-font-sampler/pkg-descr14
-rw-r--r--x11-fonts/gnome-font-sampler/pkg-plist6
6 files changed, 103 insertions, 0 deletions
diff --git a/x11-fonts/gnome-font-sampler/Makefile b/x11-fonts/gnome-font-sampler/Makefile
new file mode 100644
index 000000000000..f2d18e65c2aa
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: gnome-font-sampler
+# Date created: 31 Dec 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-font-sampler
+PORTVERSION= 0.3
+CATEGORIES= x11-fonts
+MASTER_SITES= http://linuxadvocate.org/projects/gfontsampler/downloads/
+DISTNAME= gfontsampler-${PORTVERSION}
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= A program for viewing several fonts at once
+
+USE_X_PREFIX= yes
+USE_GCC= 3.4
+USE_GNOME= libgnomeui gnomeprefix
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^packagedatadir=.*|packagedatadir=share/gnome| ; \
+ s|^packagepixmapsdir=.*|packagepixmapsdir=share/gnome/pixmaps| ; \
+ s|^packagemenudir=.*|packagemenudir=share/gnome/applications|' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|\(@NO_PREFIX_PACKAGE_MENU_DIR@\)/Utilities|\1|' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/gnome-font-sampler/distinfo b/x11-fonts/gnome-font-sampler/distinfo
new file mode 100644
index 000000000000..6ccbe35ca478
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/distinfo
@@ -0,0 +1,2 @@
+MD5 (gfontsampler-0.3.tar.gz) = 82f1ddf54d1bc3cd494e3985a53315ce
+SIZE (gfontsampler-0.3.tar.gz) = 302850
diff --git a/x11-fonts/gnome-font-sampler/files/patch-Makefile.in b/x11-fonts/gnome-font-sampler/files/patch-Makefile.in
new file mode 100644
index 000000000000..5f1a1bf4414a
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/files/patch-Makefile.in
@@ -0,0 +1,29 @@
+--- Makefile.in.orig Fri Dec 31 21:17:40 2004
++++ Makefile.in Fri Dec 31 21:18:55 2004
+@@ -154,7 +154,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+
+-SUBDIRS = intl po macros include src pixmaps
++SUBDIRS = intl po macros src pixmaps
+
+ gfontsamplerdocdir = ${prefix}/doc/gfontsampler
+ gfontsamplerdoc_DATA = \
+@@ -561,7 +561,7 @@
+ all-am: Makefile $(DATA) config.h
+ installdirs: installdirs-recursive
+ installdirs-am:
+- $(mkinstalldirs) $(DESTDIR)$(gfontsampler_glade_filedir) $(DESTDIR)$(gfontsamplerdocdir) $(DESTDIR)$(gnomemenudir)
++ $(mkinstalldirs) $(DESTDIR)$(gfontsampler_glade_filedir) $(DESTDIR)$(gnomemenudir)
+
+ install: install-recursive
+ install-exec: install-exec-recursive
+@@ -607,7 +607,7 @@
+ info-am:
+
+ install-data-am: install-gfontsampler_glade_fileDATA \
+- install-gfontsamplerdocDATA install-gnomemenuDATA
++ install-gnomemenuDATA
+
+ install-exec-am:
+
diff --git a/x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in b/x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in
new file mode 100644
index 000000000000..3e50c9250a1f
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in
@@ -0,0 +1,17 @@
+--- gfontsampler.desktop.in.orig Sun Dec 26 19:32:38 2004
++++ gfontsampler.desktop.in Fri Dec 31 22:00:39 2004
+@@ -1,10 +1,10 @@
+-
+ [Desktop Entry]
+ Name=Font Sampler
+-Comment=No comment
++Comment=View several fonts at once
+ Exec=gfontsampler
+-Icon=@PACKAGE_PIXMAPS_DIR@/gfontsampler-icon.png
++Icon=gfontsampler-icon.png
+ Terminal=false
+ MultipleArgs=false
+ Type=Application
+-
++Categories=Application;Utility;
++StartupNotify=true
diff --git a/x11-fonts/gnome-font-sampler/pkg-descr b/x11-fonts/gnome-font-sampler/pkg-descr
new file mode 100644
index 000000000000..8f5646acf6f6
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/pkg-descr
@@ -0,0 +1,14 @@
+The easiest way to pick the right font for the job.
+
+Features:
+
+ * View as many or as few fonts at once as you like
+ * Choose font size, text color, background color, bold,
+ italics, underline, and example text used
+ * Double-click adds/removes a font (depending on which list
+ you do it in)
+
+WWW: http://linuxadvocate.org/projects/gfontsampler/
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/x11-fonts/gnome-font-sampler/pkg-plist b/x11-fonts/gnome-font-sampler/pkg-plist
new file mode 100644
index 000000000000..15ecb937d634
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/pkg-plist
@@ -0,0 +1,6 @@
+bin/gfontsampler
+share/gnome/applications/gfontsampler.desktop
+share/gnome/gfontsampler/glade/gfontsampler.glade
+share/gnome/pixmaps/gfontsampler-icon.png
+@dirrm share/gnome/gfontsampler/glade
+@dirrm share/gnome/gfontsampler