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


1.21
date	2012.11.17.06.02.29;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2009.08.22.00.38.04;	author amdmi3;	state Exp;
branches;
next	1.19;

1.19
date	2009.05.12.23.12.44;	author linimon;	state Exp;
branches;
next	1.18;

1.18
date	2007.07.03.07.37.21;	author clive;	state Exp;
branches;
next	1.17;

1.17
date	2006.05.13.04.41.08;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.01.04.22.56;	author clive;	state Exp;
branches;
next	1.15;

1.15
date	2005.02.19.18.19.23;	author netchild;	state Exp;
branches;
next	1.14;

1.14
date	2003.11.08.23.52.42;	author marcus;	state Exp;
branches;
next	1.13;

1.13
date	2003.11.07.09.12.49;	author marcus;	state Exp;
branches;
next	1.12;

1.12
date	2003.10.07.17.19.09;	author clive;	state Exp;
branches;
next	1.11;

1.11
date	2003.03.07.06.12.35;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2002.10.17.04.02.27;	author clive;	state Exp;
branches;
next	1.9;

1.9
date	2002.09.02.17.36.55;	author clive;	state Exp;
branches;
next	1.8;

1.8
date	2002.09.02.17.21.04;	author clive;	state Exp;
branches;
next	1.7;

1.7
date	2002.01.18.09.04.35;	author clive;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.29.17.16.45;	author clive;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.03.10.28.59;	author clive;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.09.12.12.02;	author clive;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.02.23.16.11;	author clive;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.01.20.26.46;	author clive;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.06.13.56.27;	author clive;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:  bk2site
# Date created:                   Wed Dec 06, 2000
# Whom:                           clive
#
# $FreeBSD: head/www/bk2site/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	bk2site
PORTVERSION=	1.1.9
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	SF

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Transforms Netscape bookmarks into a Yahoo-like website

.include <bsd.port.pre.mk>
.if exists(${APXS})
RUN_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT}

# Specify these directories in relative paths to ${PREFIX}.
.if !exists(${PREFIX}/www) && exists(${PREFIX}/share/apache)
CGIDIR?=	share/apache/cgi-bin
ICONSDIR?=	share/apache/icons
.else
CGIDIR?=	www/cgi-bin/${PORTNAME}
ICONSDIR?=	www/icons/${PORTNAME}
.endif

.else # No apache installed.
CGIDIR?=	share/${PORTNAME}
ICONSDIR?=	share/${PORTNAME}
.endif

MAN1=		bk2site.1

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix="${PREFIX}" --enable-standard-datadir
MAKE_ARGS=	CXXFLAGS="${CXXFLAGS} -Wno-deprecated"

PLIST_SUB=	CGIDIR="${CGIDIR}" ICONSDIR="${ICONSDIR}"

post-patch:
	@@${REINPLACE_CMD} -e 's,/etc/bk2site,${PREFIX}/etc/bk2site,' \
	${WRKSRC}/dot.bk2siterc ${WRKSRC}/search.pl ${WRKSRC}/bk2site.1 \
	${WRKSRC}/bk2site.html
	@@${REINPLACE_CMD} -e 's,/icons/,/icons/bk2site/,' ${WRKSRC}/*
	@@${REINPLACE_CMD} -e 's,long int l,time_t l,' ${WRKSRC}/reference.C
	@@${REINPLACE_CMD} -e 's,iwebstream::,,' ${WRKSRC}/iwebstream.H
	@@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f

post-install:
	${MKDIR} ${PREFIX}/etc/${PORTNAME}
	${MKDIR} ${PREFIX}/${ICONSDIR}
	${MKDIR} ${PREFIX}/${CGIDIR}
	${CP} ${WRKSRC}/*.html ${PREFIX}/etc/${PORTNAME}
	${CP} ${WRKSRC}/*.gif ${PREFIX}/${ICONSDIR}
	${CP} ${WRKSRC}/*.pl ${PREFIX}/${CGIDIR}
	${CHMOD} +x ${PREFIX}/${CGIDIR}/*.pl
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.20
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.19
log
@clive has has his ports bit retaken for safekeeping.

Hat:		portmgr
@
text
@d13 1
a13 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.18
log
@Fix build error on 7.0-CURRENT.
@
text
@d16 1
a16 1
MAINTAINER=	clive@@FreeBSD.org
@


1.17
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d51 1
@


1.16
log
@Support XBEL file of Galeon better.

PR:		ports/96556
Submitted by:	netchild
@
text
@a37 1
USE_REINPLACE=	yes
@


1.15
log
@Add patches for two nasty bugs:
 - fix "chunk is already free": nasty (and free of side effects in the
   actual code) but works (patch-reference.C)
 - fix refcounting (now my links page shows the tophits again... finally)

Approved by:	maintainer
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.14
log
@Fix build on bento.

Reported by:	kris
@
text
@d11 1
@


1.13
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d51 1
@


1.12
log
@Upgrade to bk2site 1.1.9.

Submitted by:	ijliao
@
text
@a18 1
APXS=		${LOCALBASE}/sbin/apxs
d20 1
a20 1
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
@


1.11
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
a10 1
PORTVERSION=	1.1.8
@


1.10
log
@o) gmake is not required.
o) Respect CXXFLAGS.

Submitted by:	naddy
@
text
@d16 1
@


1.9
log
@Utilize sed_inplace.
@
text
@a36 1
USE_GMAKE=	yes
d41 1
a41 1
CONFIGURE_ENV=	CPPFLAGS=-Wno-deprecated
@


1.8
log
@Unbreak this port on -CURRENT.
@
text
@d38 1
d47 1
a47 1
	@@${PERL} -pi -e 's,/etc/bk2site,${PREFIX}/etc/bk2site,' \
d50 2
a51 2
	@@${PERL} -pi -e 's,/icons/,/icons/bk2site/,' ${WRKSRC}/*
	@@${PERL} -pi -e 's,long int l,time_t l,' ${WRKSRC}/reference.C
@


1.7
log
@Upgrade to 1.1.8
@
text
@d41 1
@


1.6
log
@Upgrade to 1.1.7
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/bk2site/Makefile,v 1.5 2001/06/03 10:28:59 clive Exp $
d10 1
a10 1
PORTVERSION=	1.1.7
@


1.5
log
@Make this port buildable again.

Submitted by: bento (complains RELENG_4)
Founded by: latest -CURRENT rocks again, now I'm able to real work.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/bk2site/Makefile,v 1.4 2001/01/09 12:12:02 clive Exp $
d10 1
a10 2
PORTVERSION=	1.1.6
PORTREVISION=	1
@


1.4
log
@Add a forgotten chmod +x.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/bk2site/Makefile,v 1.3 2001/01/02 23:16:11 clive Exp $
d50 1
@


1.3
log
@o Hornor ${PREFIX} more
o Really install its tiny search scripts
o Build package with or without apache installed (hacky hacky)
o Fix pkg-message, tell users to copy bk2site *.gif and *.pl manually
  when build without apache or install via package
o Hide perlre in post-patch target, which looks like "Panic ! Help !"
o Remove patch file. (Now handled simply by perlre)
o Shorten pkg-comment (portlint doesn't like the longer one)
o Bump PORTREVISION

For systems with apache installed, now it's
ready-to-run-without-manually-doing-anything.
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/bk2site/Makefile,v 1.2 2001/01/01 20:26:46 clive Exp $
d58 1
@


1.2
log
@Say hello to bk2site 1.1.6 ! Turn your netscape bookmarks into yahoo like
web site !
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/bk2site/Makefile,v 1.1 2000/12/06 13:56:27 clive Exp $
d11 1
d18 19
d43 2
d46 4
a49 1
	${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/dot.bk2siterc
d53 2
d56 2
a57 1
	${CP} ${WRKSRC}/*.gif ${PREFIX}/share/${PORTNAME}
d60 1
a60 1
.include <bsd.port.mk>
@


1.1
log
@Add bk2site.

Bk2site will transform your Netscape bookmarks file into a yahoo-like
website with slashdot-like news.
@
text
@d6 1
a6 1
# $FreeBSD$
d10 1
a10 1
PORTVERSION=	1.1.5
d17 1
d19 3
a21 1
USE_AUTOCONF=	yes
d24 1
a24 1
	@@${PERL} -pi -e 's,%PREFIX%,${PREFIX},' ${WRKSRC}/Makefile.in
d26 1
a26 1
pre-install:
d28 1
a28 3
	${CP} ${WRKSRC}/*.html ${WRKSRC}/dot.bk2siterc \
		${PREFIX}/etc/${PORTNAME}
	${MKDIR} ${PREFIX}/share/${PORTNAME}
a29 2

post-install:
@

