summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 12:45:26 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 12:45:26 +0800
commit466fecc955c4edadfec86bb995303a05e20a36c0 (patch)
treeba5799f0b49cd481a7d0b834a53da412ed91ba59 /x11-fonts
parentae02cb4fcd9a5e211cbf998df8eec4521072dbe9 (diff)
downloadmarcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.gz
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.bz2
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.lz
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.xz
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.tar.zst
marcuscom-ports-466fecc955c4edadfec86bb995303a05e20a36c0.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9365 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/gnome-font-sampler/Makefile31
-rw-r--r--x11-fonts/gnome-font-sampler/distinfo3
-rw-r--r--x11-fonts/gnome-font-sampler/files/patch-Makefile.in29
-rw-r--r--x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in15
-rw-r--r--x11-fonts/gnome-font-sampler/pkg-descr14
-rw-r--r--x11-fonts/gnome-font-sampler/pkg-plist7
6 files changed, 99 insertions, 0 deletions
diff --git a/x11-fonts/gnome-font-sampler/Makefile b/x11-fonts/gnome-font-sampler/Makefile
new file mode 100644
index 000000000..2ed35976d
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/Makefile
@@ -0,0 +1,31 @@
+# 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.4
+PORTREVISION= 5
+CATEGORIES= x11-fonts
+MASTER_SITES= http://linuxadvocate.org/projects/gfontsampler/downloads/
+DISTNAME= gfontsampler-${PORTVERSION}
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A program for viewing several fonts at once
+
+USE_X_PREFIX= yes
+USE_GCC= 3.4+
+USE_GNOME= libgnomeui gnomeprefix
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^CFLAGS=""$$/ d; s|gtk+-2.0|pangoxft &|' ${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 000000000..253a36d63
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/distinfo
@@ -0,0 +1,3 @@
+MD5 (gfontsampler-0.4.tar.gz) = db2dadf22192861475686030a17c300e
+SHA256 (gfontsampler-0.4.tar.gz) = b2a171014d0b15404154cb47b16992b431859115abe7da31cf852a7059f0abe0
+SIZE (gfontsampler-0.4.tar.gz) = 308060
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 000000000..5f1a1bf44
--- /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 000000000..a7dd5cd20
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in
@@ -0,0 +1,15 @@
+--- gfontsampler.desktop.in.orig Wed Jan 26 21:35:52 2005
++++ gfontsampler.desktop.in Wed Jan 26 21:36:33 2005
+@@ -1,9 +1,10 @@
+-
+ [Desktop Entry]
+ Name=Font Sampler
+ Comment=View and compare your fonts
+ 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 000000000..954359471
--- /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@FreeBSD.org
diff --git a/x11-fonts/gnome-font-sampler/pkg-plist b/x11-fonts/gnome-font-sampler/pkg-plist
new file mode 100644
index 000000000..dcea6c0eb
--- /dev/null
+++ b/x11-fonts/gnome-font-sampler/pkg-plist
@@ -0,0 +1,7 @@
+bin/gfontsampler
+share/applications/gfontsampler.desktop
+share/gfontsampler/glade/gfontsampler-icon.png
+share/gfontsampler/glade/gfontsampler.glade
+share/pixmaps/gfontsampler-icon.png
+@dirrm share/gfontsampler/glade
+@dirrm share/gfontsampler