head	1.22;
access;
symbols
	RELEASE_6_0_0:1.20
	RELEASE_5_4_0:1.18
	RELEASE_4_11_0:1.15
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.2;
locks; strict;
comment	@# @;


1.22
date	2005.11.05.09.07.14;	author kris;	state dead;
branches;
next	1.21;

1.21
date	2005.09.10.09.23.09;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2005.07.23.02.53.18;	author kris;	state Exp;
branches;
next	1.19;

1.19
date	2005.05.17.17.18.20;	author sem;	state Exp;
branches;
next	1.18;

1.18
date	2005.03.26.20.17.55;	author kris;	state Exp;
branches;
next	1.17;

1.17
date	2005.03.10.07.26.27;	author clsung;	state Exp;
branches;
next	1.16;

1.16
date	2005.02.28.01.51.13;	author kris;	state Exp;
branches;
next	1.15;

1.15
date	2004.09.21.19.59.52;	author leeym;	state Exp;
branches;
next	1.14;

1.14
date	2004.08.25.08.56.43;	author clsung;	state Exp;
branches;
next	1.13;

1.13
date	2004.08.22.21.48.40;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2004.03.06.06.04.04;	author leeym;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.03.09.21.08;	author demon;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.22.10.07.34;	author demon;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.22.00.11.44;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2004.02.17.15.10.59;	author demon;	state Exp;
branches;
next	1.7;

1.7
date	2003.10.19.08.44.04;	author demon;	state Exp;
branches;
next	1.6;

1.6
date	2003.05.07.00.10.23;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.21.11.06.29;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.16.03.30.55;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.10.18.34.14;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2002.08.23.11.10.51;	author kevlo;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.28.17.22.28;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Remove expired ports
@
text
@# New ports collection makefile for:	metalist
# Date created:				18 March 2002
# Whom:					Autrijus Tang
#
# $FreeBSD: ports/chinese/metalist/Makefile,v 1.21 2005/09/10 09:23:09 linimon Exp $
#

PORTNAME=	metalist
PORTVERSION=	2.2.6
PORTREVISION=	11069
CATEGORIES=	chinese www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	slashcode
DISTNAME=	slash-${PORTVERSION}

PATCH_SITES=	http://p4.elixus.org/hist/
PATCHFILES=	metalist-${PORTREVISION}${EXTRACT_SUFX}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A Chinese port of Slash-Like Automatic Storytelling Homepage system

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
		${SITE_PERL}/Bundle/Slash.pm:${PORTSDIR}/www/p5-Bundle-Slash \
		${SITE_PERL}/Locale/Maketext/Lexicon.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Lexicon \
		${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
		${SITE_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
		${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS=	${BUILD_DEPENDS}

BROKEN=		Installs files outside of install phase
DEPRECATED=	"${BROKEN}"
EXPIRATION_DATE=2005-09-22

.if defined(WITH_OURNET)
CONFIGURE_ENV+=	PERL_EXTUTILS_AUTOINSTALL=--default
MAKE_ENV+=	PERL_EXTUTILS_AUTOINSTALL=--default
.else
CONFIGURE_ENV+=	PERL_EXTUTILS_AUTOINSTALL=--skip
MAKE_ENV+=	PERL_EXTUTILS_AUTOINSTALL=--skip
.endif

.if defined(WITH_APACHE2)
BROKEN=		Broken due the new mod_perl2 API
BUILD_DEPENDS+=	${LOCALBASE}/libexec/apache2/mod_perl.so:${PORTSDIR}/www/mod_perl2
DEPENDS_ARGS+=	WITHOUT_MODPERL=yes
DEPENDS_ARGS+=	WITH_MODPERL2=yes
DEPENDS_ARGS+=	WITH_APACHE2=yes
DEPENDS_ARGS+=	BATCH=yes
.else
BUILD_DEPENDS+=	${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
.endif

DOCS=		README README.metalist INSTALL
NO_BUILD=	yes
USE_REINPLACE=	yes

CONFLICTS=	slash-[0-9]*

MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		FZ.3 Slash.3 Slash::Apache.3 Slash::Apache::Banlist.3 \
		Slash::Apache::Log.3 Slash::Apache::User.3 \
		Slash::Custom::Bulkmail.3 Slash::DB.3 Slash::DB::MySQL.3 \
		Slash::DB::Oracle.3 Slash::DB::PostgreSQL.3 \
		Slash::DB::Static::MySQL.3 Slash::DB::Static::Oracle.3 \
		Slash::DB::Static::PostgreSQL.3 Slash::DB::Utility.3 \
		Slash::Display.3 Slash::Display::Plugin.3 \
		Slash::Display::Provider.3 Slash::Install.3 Slash::Journal.3 \
		Slash::Messages.3 Slash::Messages::DB::MySQL.3 \
		Slash::Search.3 Slash::Test.3 Slash::Utility.3 \
		Slash::Utility::Access.3 Slash::Utility::Anchor.3 \
		Slash::Utility::Data.3 Slash::Utility::Display.3 \
		Slash::Utility::Environment.3 Slash::Utility::System.3 \
		Slash::XML.3 Slash::XML::RSS.3

pre-fetch:
	@@${ECHO} ""
	@@${ECHO} "You may use the following build options:"
	@@${ECHO} ""
	@@${ECHO} "      WITH_APACHE2                    Use Apache2 as the web server"
	@@${ECHO} "      WITH_OURNET                     Install support for OurNet::BBS"
	@@${ECHO} ""

do-patch:
	@@${MV} ${WRKSRC} ${WRKDIR}/src
	@@(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${PATCHFILES} ${EXTRACT_AFTER_ARGS})
	@@${MV} ${WRKDIR}/src ${WRKSRC}
	@@(cd ${WRKSRC} && ${PATCH} < ${MASTERDIR}/files/patch-Makefile 2>/dev/null)
.if defined(WITH_APACHE2)
	@@(cd ${WRKDIR} && ${PATCH} < ${WRKSRC}/slash-2.2.6-modperl2.diff.txt 2>/dev/null)
.endif
	@@${REINPLACE_CMD} -E -e 's,/usr/local,${PREFIX},g' \
		-e 's,(\$\(PERL\) Makefile.PL),\1 PREFIX=\$$\(PREFIX\),g' \
		${WRKSRC}/Makefile

post-install:
	@@${FIND} ${PREFIX}/slash -name "*.orig" -or -name "*.bak" -delete
.if defined(WITH_APACHE2)
	@@${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g -e s!%%APACHE%%!apache2!g ${PKGMESSAGE}
.else
	@@${SED} -e s!%%LOCALBASE%%!${LOCALBASE}!g -e s!%%APACHE%%!apache!g ${PKGMESSAGE}
.endif

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=		This program only support perl 5.6.1 or above
.endif

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


1.21
log
@Reset bouncing maintainer address.  Sorry to see you go.

Hat:	portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@This port is scheduled for deletion on 2005-09-22 if it is still broken
at that time and no PRs have been submitted to fix it.
@
text
@d19 1
a19 1
MAINTAINER=	autrijus@@autrijus.org
@


1.19
log
@- Mark ports BROKEN when/if they depend on mod_perl2.
  With current mod_perl2 API change all old code *will* broken.
@
text
@d31 2
@


1.18
log
@BROKEN: Installs files outside of install phase (still!)

Approved by:    portmgr (self)
@
text
@d41 1
@


1.17
log
@- fix BROKEN - incorrect pkg-plist, same reason as 78571
- get rid of perllocal.pod.

PR:		78575
Submitted by:	clsung
@
text
@d30 2
@


1.16
log
@BROKEN: Incorrect pkg-plist
@
text
@a29 2
BROKEN=		Incorrect pkg-plist

@


1.15
log
@- fix PLIST and unbreak
- add SIZE in distinfo
- correct CONFLICTS
- add USE_REINPLACE and make this port PREFIX clean

PR:		71947
Submitted by:	leeym
Approved by:	portmgr (marcus), autrijus@@autrijus.org (maintainer)
@
text
@d30 2
@


1.14
log
@fix BROKEN, now fetchable.

Submitted by:	maintainer
Approved by:	vanilla (co-mentor)
@
text
@d50 1
d52 1
a52 1
CONFLICTS=	slash
d86 3
d91 1
a91 1
	@@${FIND} ${PREFIX}/slash -name "*.orig" -delete
@


1.13
log
@Mark BROKEN: Unfetchable
@
text
@d10 1
a10 1
PORTREVISION=	10286
a20 2

BROKEN=		Unfetchable
@


1.12
log
@update metalist for featuring Apache2 compatibility

Submitted by:	Autrijus Tang <autrijus@@autrijus.org>
@
text
@d22 2
@


1.11
log
@This port is no longer broken after recent commits.

Submitted by:	maintainer
@
text
@d10 1
d12 6
a17 2
MASTER_SITES=	http://p4.elixus.org/dist/
DISTNAME=	metalist-${PORTVERSION}
d24 2
d28 19
a46 2
RUN_DEPENDS=	${BUILD_DEPENDS} \
		${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
a47 1
LIB_PERL=	${LOCALBASE}/lib/perl5/${PERL_VER}
d49 1
d69 17
d88 5
a92 1
	@@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
@


1.10
log
@IGNORE if perl version < 5.6.1.

Submitted by:	maintainer
@
text
@a23 2
BROKEN=		"Inconsistent dependencies (mysql-client 3.x and 4.x)"

@


1.9
log
@BROKEN: Inconsistent dependencies (mysql-client 3.x and 4.x)
@
text
@a52 1
pre-everything::
d54 2
a55 4
BROKEN=        metalist only supports the ports versions of Perl.
BROKEN+=If you have installed a Perl port, and are getting this message,
BROKEN+=please make sure you have given the command \'use.perl port\'
.endif # ${PERL_LEVEL} < 500601
@


1.8
log
@Add missing man-pages, correct dependencies.

Submitted by:	maintainer
@
text
@d24 2
@


1.7
log
@Unbreak.
Remove redundant SITE_PERL declaration.

PR:		57199
Submitted by:	Autrijus Tang <autrijus@@autrijus.org>
@
text
@d17 1
a17 1
BUILD_DEPENDS=	${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server \
d29 16
d46 1
@


1.6
log
@BROKEN: Does not compile/install
@
text
@a16 2
BROKEN=		"Does not compile/install"

d25 1
a25 1
SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
d27 1
a27 1
DOCS=		README README.metalist INSTALL
d32 10
a41 1
.include <bsd.port.mk>
@


1.5
log
@De-pkg-comment.
@
text
@d17 2
@


1.4
log
@Move the check for Harness.pm from LIB_PERL to SITE_PERL
Noticed on: bento
@
text
@d15 1
@


1.3
log
@Security update to 2.2.6; fixed a cross-site scripting bug.

PR:		ports/44917
Submitted by:	Autrijus Tang <autrijus@@autrijus.org>
Reviewed by:	ijliao (mentor)
Approved by:	ijliao (mentor)
@
text
@d18 1
a18 1
		${LIB_PERL}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
@


1.2
log
@Fix MASTER_SITES.
@
text
@d9 1
a9 1
PORTVERSION=	2.2.5
d11 1
a11 1
MASTER_SITES=	http://www.autrijus.org/
@


1.1
log
@add metalist 2.2.5
A Chinese port of Slash-Like Automatic Storytelling Homepage system

PR:		36066
Submitted by:	Autrijus Tang <autrijus@@egb.elixus.org>
@
text
@d11 1
a11 1
MASTER_SITES=	http://autrijus.org/
@

