diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-01-24 20:11:34 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-01-24 20:11:34 +0000 |
commit | 5c6f2192144b9dbc804614f11caae39231e18014 (patch) | |
tree | 01c1c309d4137ecc0a1da77829062112cf2eb328 /x11-fonts | |
parent | 423fe4c405d5ef0664bca3e582ed2b2433547c10 (diff) | |
download | ports-5c6f2192144b9dbc804614f11caae39231e18014.tar.gz ports-5c6f2192144b9dbc804614f11caae39231e18014.zip |
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/Makefile | 35 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/files/patch-Makefile.in | 29 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/files/patch-gfontsampler.desktop.in | 17 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/pkg-descr | 14 | ||||
-rw-r--r-- | x11-fonts/gnome-font-sampler/pkg-plist | 6 |
7 files changed, 104 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 0c0ff3823d07..69147839fee4 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -28,6 +28,7 @@ SUBDIR += gentium SUBDIR += getbdf SUBDIR += gfe + SUBDIR += gnome-font-sampler SUBDIR += intlfonts SUBDIR += jmk-x11-fonts SUBDIR += lfpfonts-fix 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 |