diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-07-27 02:57:57 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-07-27 02:57:57 +0800 |
commit | bf5c0e4563908eed7ea01636266f56fe979e793a (patch) | |
tree | 95bbdc09103f09b8d74e4a24d68696b25eb086ef /print | |
parent | 6d7088309c9f8d450939d483cf371ef9fe339878 (diff) | |
download | freebsd-ports-gnome-bf5c0e4563908eed7ea01636266f56fe979e793a.tar.gz freebsd-ports-gnome-bf5c0e4563908eed7ea01636266f56fe979e793a.tar.zst freebsd-ports-gnome-bf5c0e4563908eed7ea01636266f56fe979e793a.zip |
add gfontview
An outline font viewer
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/gfontview/Makefile | 34 | ||||
-rw-r--r-- | print/gfontview/distinfo | 1 | ||||
-rw-r--r-- | print/gfontview/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | print/gfontview/files/patch-configure.in | 32 | ||||
-rw-r--r-- | print/gfontview/pkg-comment | 1 | ||||
-rw-r--r-- | print/gfontview/pkg-descr | 8 | ||||
-rw-r--r-- | print/gfontview/pkg-plist | 8 |
8 files changed, 96 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index ab64338107e3..09982120dfd6 100644 --- a/print/Makefile +++ b/print/Makefile @@ -46,6 +46,7 @@ SUBDIR += freetype SUBDIR += freetype2 SUBDIR += ft2demos + SUBDIR += gfontview SUBDIR += ggv SUBDIR += ghostscript55 SUBDIR += ghostscript6 diff --git a/print/gfontview/Makefile b/print/gfontview/Makefile new file mode 100644 index 000000000000..5d2a77ef35e6 --- /dev/null +++ b/print/gfontview/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# New ports collection makefile for: gfontview +# Date created: Jul 9, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gfontview +PORTVERSION= 0.5.0 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= t1:${PORTSDIR}/devel/t1lib \ + ungif:${PORTSDIR}/graphics/libungif \ + intl:${PORTSDIR}/devel/gettext + +USE_X_PREFIX= yes +USE_FREETYPE= yes +USE_GTK= yes +USE_GNOME= yes +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-libungif + +post-patch: + @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/print/gfontview/distinfo b/print/gfontview/distinfo new file mode 100644 index 000000000000..984c505f8816 --- /dev/null +++ b/print/gfontview/distinfo @@ -0,0 +1 @@ +MD5 (gfontview-0.5.0.tar.gz) = f06e0e9d67f7d8b3af251fa593e83eeb diff --git a/print/gfontview/files/patch-Makefile.in b/print/gfontview/files/patch-Makefile.in new file mode 100644 index 000000000000..5cd394f0c3ee --- /dev/null +++ b/print/gfontview/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Jul 27 02:34:27 2001 ++++ Makefile.in Fri Jul 27 02:34:49 2001 +@@ -90,7 +90,7 @@ + l = @l@ + + SUBDIRS = po intl +-INCLUDES = -DLOCALEDIR=\""$(datadir)/locale"\" -I/usr/include/freetype ++INCLUDES = -DLOCALEDIR=\""$(datadir)/locale"\" -I%%LOCALBASE%%/include/freetype + bin_PROGRAMS = gfontview + gfontview_SOURCES = gfont.C dialogs.C t1.C tt.C gfont.h ps.h t1enc.h + EXTRA_DIST = ABOUT-NLS gfv.m4 emptypixmap.xpm error.xpm font.xpm mini-ofolder.xpm openhand.xpm t1.xpm tt.xpm stipple.xbm gfontview.lsm gfontview.spec gfontview.desktop gfontview.png gfontviewrc diff --git a/print/gfontview/files/patch-configure.in b/print/gfontview/files/patch-configure.in new file mode 100644 index 000000000000..b85f447cc376 --- /dev/null +++ b/print/gfontview/files/patch-configure.in @@ -0,0 +1,32 @@ +--- configure.in.orig Wed Jul 11 02:23:30 2001 ++++ configure.in Wed Jul 11 02:28:16 2001 +@@ -41,14 +41,6 @@ + + + dnl --------------------------------------------------------------------------- +-dnl i18n +-dnl --------------------------------------------------------------------------- +-ALL_LINGUAS="es de fr ru" +-AM_GNU_GETTEXT +-LIBS="$LIBS $INTLLIBS" +- +- +-dnl --------------------------------------------------------------------------- + dnl checks for needed compilers + dnl --------------------------------------------------------------------------- + AC_PROG_CXX +@@ -120,6 +112,14 @@ + else + AC_CHECK_LIB(ungif, EGifOpenFileName,, AC_MSG_ERROR(Cannot find ungif library)) + fi ++ ++ ++dnl --------------------------------------------------------------------------- ++dnl i18n ++dnl --------------------------------------------------------------------------- ++ALL_LINGUAS="es de fr ru" ++AM_GNU_GETTEXT ++LIBS="$LIBS $INTLLIBS" + + + dnl --------------------------------------------------------------------------- diff --git a/print/gfontview/pkg-comment b/print/gfontview/pkg-comment new file mode 100644 index 000000000000..a539ed23ee29 --- /dev/null +++ b/print/gfontview/pkg-comment @@ -0,0 +1 @@ +An outline font viewer diff --git a/print/gfontview/pkg-descr b/print/gfontview/pkg-descr new file mode 100644 index 000000000000..f5f7468a2dbc --- /dev/null +++ b/print/gfontview/pkg-descr @@ -0,0 +1,8 @@ +An outline font viewer. + +I want to be able to view uninstalled fonts. So I started with the program, +left alone all installation issues (handled by DTM), and tried to optimize +it as a font displayer. It should handle Type 1 and True Type fonts and have +some enhancements such as finding typographically similar fonts. + +WWW: http://gfontview.sourceforge.net/ diff --git a/print/gfontview/pkg-plist b/print/gfontview/pkg-plist new file mode 100644 index 000000000000..776f3b1f81b7 --- /dev/null +++ b/print/gfontview/pkg-plist @@ -0,0 +1,8 @@ +bin/gfontview +share/gnome/gfontviewrc +share/gnome/gnome/apps/Utilities/gfontview.desktop +share/gnome/pixmaps/gfontview.png +share/locale/de/LC_MESSAGES/gfontview.mo +share/locale/es/LC_MESSAGES/gfontview.mo +share/locale/fr/LC_MESSAGES/gfontview.mo +share/locale/ru/LC_MESSAGES/gfontview.mo |