aboutsummaryrefslogtreecommitdiff
path: root/print/gfontview
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-26 18:57:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-26 18:57:57 +0000
commit7145af16635db2964d5ee2dda0e9babc1102a4bc (patch)
treee4dd7760a78bfcfa6a350486af890b8193215742 /print/gfontview
parent9ba380ef2691e99b409bf3d7d74e5d23ab0f6324 (diff)
downloadports-7145af16635db2964d5ee2dda0e9babc1102a4bc.tar.gz
ports-7145af16635db2964d5ee2dda0e9babc1102a4bc.zip
Notes
Diffstat (limited to 'print/gfontview')
-rw-r--r--print/gfontview/Makefile34
-rw-r--r--print/gfontview/distinfo1
-rw-r--r--print/gfontview/files/patch-Makefile.in11
-rw-r--r--print/gfontview/files/patch-configure.in32
-rw-r--r--print/gfontview/pkg-comment1
-rw-r--r--print/gfontview/pkg-descr8
-rw-r--r--print/gfontview/pkg-plist8
7 files changed, 95 insertions, 0 deletions
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