g2ipmsg port

Norikatsu Shigemura nork at FreeBSD.org
Sun Dec 17 06:07:23 PST 2006


	I make a port of g2ipmsg as GNOME2 application.  But I don't
	know how to make GNOME ports.  Please review following shar.

	1. I confirmed following files updated.  But I don't know
	   how to take care of these.
		/usr/local/etc/gconf/gconf.xml.defaults/%gconf-tree.xml
		/usr/local/etc/gconf/gconf.xml.defaults/%gconf-tree-ja.xml

	2. GNOME2 dependency is too hard:-).  I don't know which
	   dependency to USE_GNOME.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	g2ipmsg
#	g2ipmsg/Makefile
#	g2ipmsg/distinfo
#	g2ipmsg/files
#	g2ipmsg/files/g2ipmsg.desktop.in
#	g2ipmsg/pkg-descr
#	g2ipmsg/pkg-plist
#
echo c - g2ipmsg
mkdir -p g2ipmsg > /dev/null 2>&1
echo x - g2ipmsg/Makefile
sed 's/^X//' >g2ipmsg/Makefile << 'END-of-g2ipmsg/Makefile'
X# New ports collection makefile for:	g2ipmsg
X# Date created:				2006/12/17
X# Whom:					Norikatsu Shigemura <nork at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	g2ipmsg
XPORTVERSION=	0.1
XCATEGORIES=	net x11 gnome
XMASTER_SITES=	${MASTER_SITE_LOCAL}
XMASTER_SITE_SUBDIR=	nork
XDIST_SUBDIR=	gnome2
X
XMAINTAINER=	nork at FreeBSD.org
XCOMMENT=	A popup style message communication tool for GNOME2
X
XUSE_GETTEXT=	yes
XINSTALLS_OMF=	yes
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gnomeprefix gnomehack intlhack pkgconfig libgnomeui libbonobo
XUSE_GSTREAMER=	vorbis
XUSE_ICONV=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
X#GCONF_SCHEMAS=	g2ipmsg.schemas
X
XSUB_FILES=	g2ipmsg.desktop
X
Xpost-install:
X	@${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/
X
X.include <bsd.port.mk>
END-of-g2ipmsg/Makefile
echo x - g2ipmsg/distinfo
sed 's/^X//' >g2ipmsg/distinfo << 'END-of-g2ipmsg/distinfo'
XMD5 (gnome2/g2ipmsg-0.1.tar.gz) = e608c534b40a52f9640e2463a92e27e6
XSHA256 (gnome2/g2ipmsg-0.1.tar.gz) = d5d12777fd1692ae996c1a40ee84e018d1b14ebd022450ba333cb418ccf85332
XSIZE (gnome2/g2ipmsg-0.1.tar.gz) = 213162
END-of-g2ipmsg/distinfo
echo c - g2ipmsg/files
mkdir -p g2ipmsg/files > /dev/null 2>&1
echo x - g2ipmsg/files/g2ipmsg.desktop.in
sed 's/^X//' >g2ipmsg/files/g2ipmsg.desktop.in << 'END-of-g2ipmsg/files/g2ipmsg.desktop.in'
X[Desktop Entry]
XEncoding=UTF-8
XTerminal=false
XName=GNOME2 IP Messenger
XName[ja]=GNOME2 IP メッセンジャー
XComment=IP Messenger for the GNOME2
XComment[ja]=GNOME2版IPメッセンジャー
XExec=%%PREFIX%%/bin/g2ipmsg
XTryExec=%%PREFIX%%/bin/g2ipmsg
XIcon=ipmsg.xpm
XType=Application
XCategories=GTK;Application;Utility;
END-of-g2ipmsg/files/g2ipmsg.desktop.in
echo x - g2ipmsg/pkg-descr
sed 's/^X//' >g2ipmsg/pkg-descr << 'END-of-g2ipmsg/pkg-descr'
XIP Messenger is a pop up style message communication software for
Xmulti platforms. It is based on TCP/IP(UDP).
X
X  Win, Win16, Mac/MacOSX, X11R6/GTK/GNOME, Java, Div version and
Xall source is open to public.
X
XWWW: http://www.ipmsg.org/index.html.en
END-of-g2ipmsg/pkg-descr
echo x - g2ipmsg/pkg-plist
sed 's/^X//' >g2ipmsg/pkg-plist << 'END-of-g2ipmsg/pkg-plist'
Xbin/g2ipmsg
Xlibdata/bonobo/servers/g2ipmsg.server
Xshare/applications/g2ipmsg.desktop
Xshare/gnome/pixmaps/g2ipmsg/ipmsg.xpm
Xshare/gnome/pixmaps/g2ipmsg/ipmsgrev.xpm
Xshare/gnome/sounds/g2ipmsg/g2ipmsg.ogg
Xshare/locale/ja/LC_MESSAGES/g2ipmsg.mo
X at dirrm share/gnome/sounds/g2ipmsg
X at dirrm share/gnome/pixmaps/g2ipmsg
END-of-g2ipmsg/pkg-plist
exit


More information about the freebsd-gnome mailing list