aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-02 21:05:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-02 21:05:41 +0000
commit4b8d72d3e25c9a952d911eb9be2fb69110577318 (patch)
treee1035ecb7385c3c31cae4447026880776ceabb54 /deskutils
parent278445b7482b6b049ae9b9d4c8cf52b5318c0450 (diff)
downloadports-4b8d72d3e25c9a952d911eb9be2fb69110577318.tar.gz
ports-4b8d72d3e25c9a952d911eb9be2fb69110577318.zip
Notes
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 000000000000..9e8cbe2da68e
--- /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 000000000000..63869fba9868
--- /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 000000000000..f195f07b43c6
--- /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 000000000000..20fe556a345f
--- /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 000000000000..d820971a9ae2
--- /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