head	1.25;
access;
symbols
	RELEASE_8_3_0:1.23
	RELEASE_9_0_0:1.23
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.13
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.13
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.13
	RELEASE_5_1_0:1.13
	RELEASE_4_8_0:1.13
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.10
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.3
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.06.03.06;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.09.15.20.00.32;	author naddy;	state Exp;
branches;
next	1.23;

1.23
date	2011.07.13.14.14.10;	author jadawin;	state Exp;
branches;
next	1.22;

1.22
date	2010.06.24.11.24.43;	author jadawin;	state Exp;
branches;
next	1.21;

1.21
date	2009.05.14.08.45.36;	author jadawin;	state Exp;
branches;
next	1.20;

1.20
date	2009.03.06.09.41.40;	author jadawin;	state Exp;
branches;
next	1.19;

1.19
date	2008.09.23.09.29.46;	author jadawin;	state Exp;
branches;
next	1.18;

1.18
date	2008.07.07.15.09.42;	author jadawin;	state Exp;
branches;
next	1.17;

1.17
date	2008.03.17.13.14.41;	author jadawin;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.12.13.27.28;	author jadawin;	state Exp;
branches;
next	1.15;

1.15
date	2008.01.15.16.59.58;	author tabthorpe;	state Exp;
branches;
next	1.14;

1.14
date	2005.10.03.07.13.27;	author linimon;	state Exp;
branches;
next	1.13;

1.13
date	2003.02.20.19.15.36;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.10.16.48.33;	author lioux;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.06.22.47.25;	author adamw;	state Exp;
branches;
next	1.10;

1.10
date	2002.08.20.11.14.12;	author naddy;	state Exp;
branches;
next	1.9;

1.9
date	2001.12.25.17.25.33;	author naddy;	state Exp;
branches;
next	1.8;

1.8
date	2001.11.15.23.06.04;	author naddy;	state Exp;
branches;
next	1.7;

1.7
date	2001.11.07.18.37.34;	author naddy;	state Exp;
branches;
next	1.6;

1.6
date	2001.11.04.15.52.09;	author naddy;	state Exp;
branches;
next	1.5;

1.5
date	2001.11.03.22.22.34;	author naddy;	state Exp;
branches;
next	1.4;

1.4
date	2001.08.20.12.25.42;	author trevor;	state Exp;
branches;
next	1.3;

1.3
date	2001.02.05.15.33.49;	author olgeni;	state Exp;
branches;
next	1.2;

1.2
date	2000.09.17.19.05.55;	author ade;	state Exp;
branches;
next	1.1;

1.1
date	2000.08.21.02.35.25;	author kris;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switch exporter over
@
text
@# $FreeBSD: head/www/surfraw/Makefile 304323 2012-09-15 20:00:32Z naddy $

PORTNAME=	surfraw
PORTVERSION=	2.2.8
CATEGORIES=	www
MASTER_SITES=	http://surfraw.alioth.debian.org/dist/

MAINTAINER=	jadawin@@FreeBSD.org
COMMENT=	Command line interface to popular WWW search engines

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_PERL5=	yes

MAN1=	elvi.1sr \
	opensearch-discover.1 \
	opensearch-genquery.1 \
	surfraw-update-path.1 \
	surfraw.1

post-patch:	.SILENT
	${REINPLACE_CMD} '\|xdg/surfraw|d' ${WRKSRC}/Makefile.in
	${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g' \
		-e 's/^function[[:space:]]//' \
		${WRKSRC}/examples/uzbl_load_url_from_surfraw.IN

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/examples/uzbl_load_url_from_surfraw \
		${PREFIX}/bin
	${MKDIR} ${PREFIX}/etc/bash_completion.d
	${INSTALL_DATA} ${WRKSRC}/surfraw-bash-completion \
		${PREFIX}/etc/bash_completion.d/surfraw
.for f in surfraw.bookmarks surfraw.conf
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/etc/${f}.sample
	@@if [ ! -f ${PREFIX}/etc/${f} ]; then \
		${INSTALL_DATA} ${PREFIX}/etc/${f}.sample \
			${PREFIX}/etc/${f}; \
	fi
.endfor

.include "${.CURDIR}/manpages"
.include <bsd.port.mk>
@


1.24
log
@SVN rev 304323 on 2012-09-15 20:00:32Z by naddy

Remove pointless header lines from ports I created once upon a time.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.23
log
@- Update to 2.2.8
@
text
@a0 4
# New ports collection makefile for:   surfraw
# Date created:                2000-08-03
# Whom:                        Christian Weisgerber <naddy@@mips.inka.de>
#
@


1.22
log
@- Update to 2.2.7

PR:		ports/146977
Submitted by:	Anonymous <swell.k _AT_ gmail.com>
Feature safe:	yes
@
text
@d8 1
a8 1
PORTVERSION=	2.2.7
@


1.21
log
@- Update to 2.2.5
@
text
@d8 1
a8 1
PORTVERSION=	2.2.5
d19 1
a19 3
MAN1=	surfraw-update-path.1 \
	surfraw.1 \
	elvi.1sr \
d21 9
a29 1
	opensearch-genquery.1
d32 12
a43 3
	${MKDIR} ${PREFIX}/share/examples/surfraw
	${INSTALL_DATA} ${WRKSRC}/surfraw.conf ${PREFIX}/share/examples/surfraw
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d45 1
@


1.20
log
@- Update to 2.2.4
@
text
@d8 1
a8 1
PORTVERSION=	2.2.4
@


1.19
log
@Update to 2.2.3
@
text
@d8 1
a8 1
PORTVERSION=	2.2.3
@


1.18
log
@- Update to 2.2.2
@
text
@d8 1
a8 1
PORTVERSION=	2.2.2
@


1.17
log
@- Update to 2.2.1

Approved by:	tabthorpe (mentor)
@
text
@d8 1
a8 1
PORTVERSION=	2.2.1
@


1.16
log
@- Update maintainer address

Approved by:	thierry (mentor)
@
text
@d8 1
a8 1
PORTVERSION=	2.2.0
@


1.15
log
@- Update to 2.2.0
- Pass maintainership to submitter

PR:		ports/119669
Submitted by:	Philippe Audeoud <jadawin tuxaco.net>
@
text
@d12 1
a12 1
MAINTAINER=	jadawin@@tuxaco.net
@


1.14
log
@Use MASTER_SITE_NETBSD to fix fetching problems.

Source:		distfile survey
@
text
@d8 1
a8 1
PORTVERSION=	1.0.7
d10 1
a10 1
MASTER_SITES=	${MASTER_SITE_NETBSD}
d12 1
a12 1
MAINTAINER=	ports@@FreeBSD.org
d16 8
@


1.13
log
@De-pkg-comment.
@
text
@d10 1
a10 2
MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/ \
		ftp://ftp.funet.fi/pub/NetBSD/misc/proff/
@


1.12
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d14 1
@


1.11
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a14 2
PORTCOMMENT=	Command line interface to popular WWW search engines

@


1.10
log
@Drop maintainership.
@
text
@d15 2
@


1.9
log
@Update to 1.0.7.  Notable changes in this version:
* New elvi: freebsd, openbsd, filesearching, ftpfind
* Updated elvi: translate (babelfish), ftpsearch, fast, netbsd
* Rename linuxdoc elvi to slinuxdoc, to prevent name clash with sgmltools
@
text
@d13 1
a13 1
MAINTAINER=	naddy@@FreeBSD.org
@


1.8
log
@* Add workaround for parser bug in FreeBSD's /bin/sh prior to 4.4.
* NetBSD changed their search engine;
  fix submitted by Jason Harris <jharris@@widomaker.com>.
@
text
@d8 1
a8 2
PORTVERSION=	1.0.5
PORTREVISION=	1
@


1.7
log
@Update to 1.0.5:
* Fix wayward indentation introduced in 1.0.4 which caused -browser
  to fail.
* Note that SURFRAW_browser was made obsolete in 1.0.4.
  SURFRAW_text_browser and SURFRAW_graphical_browser replace its
  functionality.
* State extra clearly the format of ~/.surfraw.conf.

Approved by:	trevor
@
text
@d9 1
@


1.6
log
@Update to 1.0.4.
Adds debbugs, debcontents, debpackages, sourceforge, swhois, woffle.
Removes ircsearch, newscientist.

PR:		31540
Approved by:	trevor
@
text
@d8 1
a8 1
PORTVERSION=	1.0.4
@


1.5
log
@Update my MAINTAINER address.

Approved by:	trevor
@
text
@d8 1
a8 1
PORTVERSION=	1.0.3
d10 2
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	surfraw
@


1.4
log
@Bump PORTVERSION.  This was forgotten somehow in the last update.

Submitted by:	Mike Heffner <mheffner@@vt.edu>
Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/surfraw/Makefile,v 1.3 2001/02/05 15:33:49 olgeni Exp $
d13 1
a13 1
MAINTAINER=	naddy@@mips.inka.de
@


1.3
log
@Some spaces -> tabs for ports/www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/surfraw/Makefile,v 1.2 2000/09/17 19:05:55 ade Exp $
d8 1
a8 1
PORTVERSION=	1.0.1
@


1.2
log
@Update to version 1.0.1

PR:		21326
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/surfraw/Makefile,v 1.1 2000/08/21 02:35:25 kris Exp $
d8 1
a8 1
PORTVERSION= 	1.0.1
@


1.1
log
@Upgrade to surfraw 0.5.7 (software has been renamed from surfaw)

Approved by:	Maintainer, asami
@
text
@d5 1
a5 1
# $FreeBSD$
d8 1
a8 1
PORTVERSION= 	0.5.7
d17 4
a20 14
ELVI=	W altavista appwatch ask austlii cite cnn currency deja excite \
	fast freshmeat ftpsearch google ircsearch linuxdoc netbsd \
	newscientist pubmed raging rhyme slashdot sundocs sunsolve \
	thesaurus translate webster wetandwild xxx yahoo \

do-install:
.for i in ${ELVI}
	${INSTALL_SCRIPT} ${WRKSRC}/elvi/${i} ${PREFIX}/bin
.endfor
	${INSTALL_SCRIPT} ${WRKSRC}/surfraw ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/surfraw-netscape-remote ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/surfraw/
	${INSTALL_DATA} ${WRKSRC}/elvi/surfraw_elvi.list ${PREFIX}/share/surfraw/
	${INSTALL_DATA} ${WRKSRC}/surfraw.conf ${PREFIX}/etc/surfraw.conf.sample
@

