summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-02 21:05:41 +0000
committermarcus <marcus@FreeBSD.org>2003-03-02 21:05:41 +0000
commite9d621ae663f413a4226a1bb10818e1db7f7ccf7 (patch)
tree06c3c6e073d6ccf93e9c71059fba41d77f2441e2 /deskutils
parent1a8deb4fcc2e780305b45e687486c199ccf9cc66 (diff)
downloadFreeBSD-ports-e9d621ae663f413a4226a1bb10818e1db7f7ccf7.zip
FreeBSD-ports-e9d621ae663f413a4226a1bb10818e1db7f7ccf7.tar.gz
Add gucharmap, a Unicode character map and viewer built on GTK+ 2.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gucharmap/Makefile43
-rw-r--r--deskutils/gucharmap/distinfo1
-rw-r--r--deskutils/gucharmap/files/patch-configure10
-rw-r--r--deskutils/gucharmap/pkg-descr4
-rw-r--r--deskutils/gucharmap/pkg-plist13
5 files changed, 71 insertions, 0 deletions
diff --git a/deskutils/gucharmap/Makefile b/deskutils/gucharmap/Makefile
new file mode 100644
index 0000000..9e8cbe2
--- /dev/null
+++ b/deskutils/gucharmap/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: gucharmap
+# Date created: 02 Mar 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gucharmap
+PORTVERSION= 0.2
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gucharmap
+
+MAINTAINER= marcus@FreeBSD.org
+COMMENT= A Unicode/ISO10646 character map and font viewer
+
+LIB_DEPEND= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if exists(${X11BASE}/libdata/pkgconfig/libgnomeui-2.0.pc) || \
+ defined(WITH_GNOME)
+LIB_DEPENDS+= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
+PKGNAMESUFFIX= -gnome
+.else
+CONFIGURE_ARGS= --disable-gnome
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/gucharmap/distinfo b/deskutils/gucharmap/distinfo
new file mode 100644
index 0000000..63869fb
--- /dev/null
+++ b/deskutils/gucharmap/distinfo
@@ -0,0 +1 @@
+MD5 (gucharmap-0.2.tar.gz) = 0e92b53f6eed82f10c66c717dee54aa1
diff --git a/deskutils/gucharmap/files/patch-configure b/deskutils/gucharmap/files/patch-configure
new file mode 100644
index 0000000..f195f07
--- /dev/null
+++ b/deskutils/gucharmap/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Wed Dec 11 18:31:51 2002
++++ configure Thu Dec 12 12:07:17 2002
+@@ -7414,6 +7414,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/deskutils/gucharmap/pkg-descr b/deskutils/gucharmap/pkg-descr
new file mode 100644
index 0000000..20fe556
--- /dev/null
+++ b/deskutils/gucharmap/pkg-descr
@@ -0,0 +1,4 @@
+gucharmap is a Unicode/ISO10646 character map and font viewer. It uses GTK+
+2. It supports anti-aliased, scalable fonts.
+
+WWW: http://gucharmap.sourceforge.net/
diff --git a/deskutils/gucharmap/pkg-plist b/deskutils/gucharmap/pkg-plist
new file mode 100644
index 0000000..d820971
--- /dev/null
+++ b/deskutils/gucharmap/pkg-plist
@@ -0,0 +1,13 @@
+bin/gucharmap
+include/gucharmap/charmap.h
+include/gucharmap/mini_fontsel.h
+include/gucharmap/unicode_info.h
+lib/libgucharmap.a
+lib/libgucharmap.so
+lib/libgucharmap.so.1
+share/gnome/pixmaps/gucharmap.png
+share/locale/eo/LC_MESSAGES/gucharmap.mo
+share/locale/es/LC_MESSAGES/gucharmap.mo
+share/locale/fr/LC_MESSAGES/gucharmap.mo
+share/locale/nl/LC_MESSAGES/gucharmap.mo
+@dirrm include/gucharmap
OpenPOWER on IntegriCloud