Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 20:39:33 -0500 (CDT)
From:      conrads@home.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18357: Xswallow port, final version (promise!)  :-)
Message-ID:  <200005030139.UAA43476@cx344940-a.meta1.la.home.com>

next in thread | raw e-mail | index | archive | help

>Number:         18357
>Category:       ports
>Synopsis:       Final revisions to new XSwallow port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  2 18:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Conrad Sabatier
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
None
>Environment:

>Description:

		Final revisions to new port of XSwallow.  Previous
		versions did not use ${CC} or ${CFLAGS}.  Also re-
		organized sections and post-install docs for clearer
		presentation to user.

>How-To-Repeat:


>Fix:
	
# 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:
#
#	/usr/ports/www/xswallow
#	/usr/ports/www/xswallow/Makefile
#	/usr/ports/www/xswallow/patches
#	/usr/ports/www/xswallow/pkg
#	/usr/ports/www/xswallow/pkg/PLIST
#	/usr/ports/www/xswallow/pkg/DESCR
#	/usr/ports/www/xswallow/pkg/COMMENT
#	/usr/ports/www/xswallow/pkg/MESSAGE
#	/usr/ports/www/xswallow/files
#	/usr/ports/www/xswallow/files/md5
#	/usr/ports/www/xswallow/README.html
#
echo c - /usr/ports/www/xswallow
mkdir -p /usr/ports/www/xswallow > /dev/null 2>&1
echo x - /usr/ports/www/xswallow/Makefile
sed 's/^X//' >/usr/ports/www/xswallow/Makefile << 'END-of-/usr/ports/www/xswallow/Makefile'
X# New ports collection makefile for:	xswallow
X# Date created:		1 May 2000
X# Whom:			Conrad Sabatier <conrads@home.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xswallow
XPORTVERSION=	1.0.17
XCATEGORIES=	www
XMASTER_SITES=	http://www.csn.ul.ie/~caolan/publink/X/
XDISTNAME=	XswallowSource-1.0.17
X
XMAINTAINER=	conrads@home.com
X
XWRKSRC=		${WRKDIR}/PluginSDK30b5/xswallow
X
XPORTOBJFORMAT=	aout
X
X#can't use ${INSTALL_PROGRAM} with aout binaries, do strip separately
X
XSTRIP=		/usr/libexec/aout/strip
X
X#Makefile in distribution doesn't link properly
X
Xdo-build:
X		cd ${WRKSRC} && ${CC} ${CFLAGS} -o xswallow.so -aout \
X			-shared -nostdlib -DXP_UNIX -I../include \
X			-I${X11BASE}/include -L/usr/lib/compat/aout -lgcc \
X			UnixShell.c stubs.c
X
Xdo-install:
X		${MKDIR} ${PREFIX}/lib/netscape/plugins
X		${MKDIR} ${PREFIX}/share/examples/xswallow
X
X		${INSTALL} ${COPY} ${WRKSRC}/xswallow.so \
X			${PREFIX}/lib/netscape/plugins
X		${STRIP} ${PREFIX}/lib/netscape/plugins/xswallow.so
X
X		${INSTALL_DATA} ${WRKSRC}/xswallow.conf \
X			${PREFIX}/share/examples/xswallow
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/xswallow
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xswallow
X.endif
X
X
Xpost-install:
X	@echo
X	@echo XSwallow plugin was installed in ${PREFIX}/lib/netscape/plugins.
X	@echo If your Netscape installation uses a different location,
X	@echo then move xswallow.so from the above location to there.
X	@echo
X	@echo You should copy the sample configuration file
X	@echo ${PREFIX}/share/examples/xswallow/xswallow.conf
X	@echo to your ~/.netscape directory.
X	@echo
X	@echo More documentation and some pages for testing your
X	@echo configuration are available at
X	@echo
X	@echo WWW: http://skynet.csn.ul.ie/~caolan/docs/XSwallow.html
X	@echo
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/xswallow/Makefile
echo c - /usr/ports/www/xswallow/patches
mkdir -p /usr/ports/www/xswallow/patches > /dev/null 2>&1
echo c - /usr/ports/www/xswallow/pkg
mkdir -p /usr/ports/www/xswallow/pkg > /dev/null 2>&1
echo x - /usr/ports/www/xswallow/pkg/PLIST
sed 's/^X//' >/usr/ports/www/xswallow/pkg/PLIST << 'END-of-/usr/ports/www/xswallow/pkg/PLIST'
Xlib/netscape/plugins/xswallow.so
Xshare/doc/xswallow/README
Xshare/examples/xswallow/xswallow.conf
X@dirrm share/doc/xswallow
X@dirrm share/examples/xswallow
X
END-of-/usr/ports/www/xswallow/pkg/PLIST
echo x - /usr/ports/www/xswallow/pkg/DESCR
sed 's/^X//' >/usr/ports/www/xswallow/pkg/DESCR << 'END-of-/usr/ports/www/xswallow/pkg/DESCR'
XXSwallow is a general-purpose plugin for Netscape for Unix
Xwhich allows the user to configure any programs he or she
Xdesires to handle any MIME type data embedded in web pages.
X
XXSwallow documentation and some pages for testing your
Xconfiguration are located at:
X
XWWW: http://skynet.csn.ul.ie/~caolan/docs/XSwallow.html
X
XAuthor: Caolan.McNamara@ul.ie
X
X-- 
Xconrads@home.com
END-of-/usr/ports/www/xswallow/pkg/DESCR
echo x - /usr/ports/www/xswallow/pkg/COMMENT
sed 's/^X//' >/usr/ports/www/xswallow/pkg/COMMENT << 'END-of-/usr/ports/www/xswallow/pkg/COMMENT'
XA general-purpose, user-configurable plugin for Netscape
END-of-/usr/ports/www/xswallow/pkg/COMMENT
echo x - /usr/ports/www/xswallow/pkg/MESSAGE
sed 's/^X//' >/usr/ports/www/xswallow/pkg/MESSAGE << 'END-of-/usr/ports/www/xswallow/pkg/MESSAGE'
X
XXSwallow plugin was installed in /usr/local/lib/netscape/plugins.
X
XIf your Netscape installation uses a different location,
Xthen move xswallow.so from the above location to there.
X
XYou should copy the sample configuration file
X/usr/local/share/examples/xswallow/xswallow.conf
Xto your ~/.netscape directory.
X
XMore documentation and some pages for testing your
Xconfiguration are available at
X
XWWW: http://skynet.csn.ul.ie/~caolan/docs/XSwallow.html
X
END-of-/usr/ports/www/xswallow/pkg/MESSAGE
echo c - /usr/ports/www/xswallow/files
mkdir -p /usr/ports/www/xswallow/files > /dev/null 2>&1
echo x - /usr/ports/www/xswallow/files/md5
sed 's/^X//' >/usr/ports/www/xswallow/files/md5 << 'END-of-/usr/ports/www/xswallow/files/md5'
XMD5 (XswallowSource-1.0.17.tar.gz) = 9aab7010e5229a173ed4e8693081b7b0
END-of-/usr/ports/www/xswallow/files/md5
echo x - /usr/ports/www/xswallow/README.html
sed 's/^X//' >/usr/ports/www/xswallow/README.html << 'END-of-/usr/ports/www/xswallow/README.html'
X<html>
X<title> The FreeBSD Ports Collection (www/xswallow)</title>
X<head><h1> The FreeBSD Ports Collection ("www/xswallow")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "www/xswallow" (package name "xswallow-1.0.17").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
XA general-purpose, user-configurable plugin for Netscape
X<p><hr>
X
X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
X
X<p>
X
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-/usr/ports/www/xswallow/README.html
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005030139.UAA43476>