summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 14:25:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 14:25:00 +0800
commita3ff69246370a8f19c3fe9a6763760fbfc8ecee1 (patch)
tree5af39dba8e02b97816cf873975d73ead81d8f326 /misc
parent6f0bb84062ec9747810ec8b2f412e3b9066f201f (diff)
downloadmarcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar.gz
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar.bz2
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar.lz
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar.xz
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.tar.zst
marcuscom-ports-a3ff69246370a8f19c3fe9a6763760fbfc8ecee1.zip
Add gucharmap.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@631 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'misc')
-rw-r--r--misc/gucharmap/Makefile45
-rw-r--r--misc/gucharmap/distinfo1
-rw-r--r--misc/gucharmap/files/patch-configure10
-rw-r--r--misc/gucharmap/pkg-descr4
-rw-r--r--misc/gucharmap/pkg-plist30
5 files changed, 90 insertions, 0 deletions
diff --git a/misc/gucharmap/Makefile b/misc/gucharmap/Makefile
new file mode 100644
index 000000000..a7e0f2372
--- /dev/null
+++ b/misc/gucharmap/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: gucharmap
+# Date created: 02 Mar 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/misc/gucharmap/Makefile,v 1.4 2003/04/11 23:38:47 marcus Exp $
+#
+
+PORTNAME= gucharmap
+PORTVERSION= 0.4.0
+PORTREVISION= 2
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.4
+DIST_SUBDIR= gnome2
+
+MAINTAINER= marcus@FreeBSD.org
+COMMENT= A Unicode/ISO10646 character map and font viewer
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gtk20
+WANT_GNOME= yes
+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 ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+= 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/misc/gucharmap/distinfo b/misc/gucharmap/distinfo
new file mode 100644
index 000000000..18e347aa7
--- /dev/null
+++ b/misc/gucharmap/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/gucharmap-0.4.0.tar.bz2) = 68ae2d62812d9da1a11e7f981f97e7f8
diff --git a/misc/gucharmap/files/patch-configure b/misc/gucharmap/files/patch-configure
new file mode 100644
index 000000000..f195f07b4
--- /dev/null
+++ b/misc/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/misc/gucharmap/pkg-descr b/misc/gucharmap/pkg-descr
new file mode 100644
index 000000000..20fe556a3
--- /dev/null
+++ b/misc/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/misc/gucharmap/pkg-plist b/misc/gucharmap/pkg-plist
new file mode 100644
index 000000000..e415b4870
--- /dev/null
+++ b/misc/gucharmap/pkg-plist
@@ -0,0 +1,30 @@
+bin/charmap
+bin/gucharmap
+include/gucharmap/charmap.h
+include/gucharmap/chartable.h
+include/gucharmap/mini_fontsel.h
+include/gucharmap/unicode_info.h
+lib/libgucharmap.a
+lib/libgucharmap.so
+lib/libgucharmap.so.1
+libdata/pkgconfig/gucharmap.pc
+share/gnome/applications/gucharmap.desktop
+share/gnome/pixmaps/gucharmap.png
+share/locale/am/LC_MESSAGES/gucharmap.mo
+share/locale/be/LC_MESSAGES/gucharmap.mo
+share/locale/cs/LC_MESSAGES/gucharmap.mo
+share/locale/da/LC_MESSAGES/gucharmap.mo
+share/locale/de/LC_MESSAGES/gucharmap.mo
+share/locale/el/LC_MESSAGES/gucharmap.mo
+share/locale/eo/LC_MESSAGES/gucharmap.mo
+share/locale/es/LC_MESSAGES/gucharmap.mo
+share/locale/fa/LC_MESSAGES/gucharmap.mo
+share/locale/fi/LC_MESSAGES/gucharmap.mo
+share/locale/fr/LC_MESSAGES/gucharmap.mo
+share/locale/ja/LC_MESSAGES/gucharmap.mo
+share/locale/ko/LC_MESSAGES/gucharmap.mo
+share/locale/nl/LC_MESSAGES/gucharmap.mo
+share/locale/pt/LC_MESSAGES/gucharmap.mo
+share/locale/pt_BR/LC_MESSAGES/gucharmap.mo
+share/locale/sv/LC_MESSAGES/gucharmap.mo
+@dirrm include/gucharmap