aboutsummaryrefslogtreecommitdiff
path: root/www/slash/Makefile
blob: e41681a9ced04dd30f838477df7a9a1756385afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# New ports collection makefile for:	slash
# Date created:				18 March 2002
# Whom:					Autrijus Tang
#
# $FreeBSD$
#

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

MAINTAINER=	autrijus@autrijus.org
COMMENT=	Slash-Like Automatic Storytelling Homepage system

BUILD_DEPENDS=	${LOCALBASE}/bin/mysqld_safe:${PORTSDIR}/databases/mysql40-server \
		${SITE_PERL}/Bundle/Slash.pm:${PORTSDIR}/www/p5-Bundle-Slash
RUN_DEPENDS=	${BUILD_DEPENDS} \
		${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl

BROKEN=		"Inconsistent dependencies (mysql-client 3.x and 4.x)"
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2004-04-16

DOCS=		README INSTALL
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

post-install:
	@${FIND} ${PREFIX}/slash -name "*.orig" -delete
	@${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif

.include <bsd.port.post.mk>