Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 06:51:34 -0500 (CDT)
From:      conrads@home.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18342: Correction to port submission for xswallow
Message-ID:  <200005021151.GAA34353@cx344940-a.meta1.la.home.com>

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

>Number:         18342
>Category:       ports
>Synopsis:       Amended Makefile for xswallow port submitted earlier
>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 05:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Conrad Sabatier
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:
>Description:

		Modified Makefile to properly install/strip
		aout binary

>How-To-Repeat:

		N/A
>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
XMAKE_ENV+=	OBJFORMAT=aout
X
Xdo-build:
X		cd ${WRKSRC} && gcc -o xswallow.so -aout -shared -nostdlib \
X		-DXP_UNIX -I../include -I${X11BASE}/include \
X		-L/usr/lib/compat/aout -lgcc UnixShell.c stubs.c
X
Xdo-install:
X		${MKDIR} ${PREFIX}/lib/netscape/plugins
X		${MKDIR} ${PREFIX}/share/examples/xswallow
X		${INSTALL} -C ${WRKSRC}/xswallow.so ${PREFIX}/lib/netscape/plugins
X		${INSTALL_DATA} ${WRKSRC}/xswallow.conf ${PREFIX}/share/examples/xswallow
X
Xpost-install:
X		/usr/libexec/aout/strip ${PREFIX}/lib/netscape/plugins/xswallow.so
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/xswallow
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/xswallow
X.endif
X
X		@echo
X		@echo XSwallow shared library was installed in
X		@echo ${PREFIX}/lib/netscape/plugins
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 shared library was installed in
X${PREFIX}/lib/netscape/plugins
X
XXSwallow shared library was installed in
X${PREFIX}/lib/netscape/plugins
X
XYou should copy the sample configuration file
X${PREFIX}/share/examples/xswallow/xswallow.conf
Xto your ~/.netscape directory.
X
XMore documentation is 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?200005021151.GAA34353>