33d7929da5
Submitted by: maintainer
57 lines
1.9 KiB
Makefile
57 lines
1.9 KiB
Makefile
# New ports collection makefile for: metalist
|
|
# Date created: 18 March 2002
|
|
# Whom: Autrijus Tang
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= metalist
|
|
PORTVERSION= 2.2.6
|
|
CATEGORIES= chinese www
|
|
MASTER_SITES= http://p4.elixus.org/dist/
|
|
DISTNAME= metalist-${PORTVERSION}
|
|
|
|
MAINTAINER= autrijus@autrijus.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}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness \
|
|
${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
|
|
RUN_DEPENDS= ${BUILD_DEPENDS} \
|
|
${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
|
|
|
|
BROKEN= "Inconsistent dependencies (mysql-client 3.x and 4.x)"
|
|
|
|
LIB_PERL= ${LOCALBASE}/lib/perl5/${PERL_VER}
|
|
DOCS= README README.metalist INSTALL
|
|
|
|
CONFLICTS= slash
|
|
|
|
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
|
|
IGNORE= This program only support perl 5.6.1 or above
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|