aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Kwiki-plugins/Makefile
blob: 77876889d002df57b4efb29e294f0469dd7e0cf5 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# New ports collection makefile for:    p5-Kwiki-plugins
# Date created:             Aug 18 2004
# Whom:                     Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#

PORTNAME=   Kwiki-plugins
PORTVERSION=    1.0
CATEGORIES= www perl5
MASTER_SITES=   # empty
PKGNAMEPREFIX=  p5-
DISTFILES=  # empty
EXTRACT_ONLY=   # empty

MAINTAINER= clsung@FreeBSD.org
COMMENT=    "meta-port" for Kwiki Plugins

BUILD_DEPENDS=  ${SITE_PERL}/Kwiki.pm:${PORTSDIR}/www/p5-Kwiki
RUN_DEPENDS=    ${BUILD_DEPENDS}

OPTIONS=    ARCHIVERCS      "Page Archival Using RCS" on \
        ARCHIVESVK      "Page Archival Using SVK" off \
        REVISIONS       "Revisions Plugin" on \
        RECENTCHANGES       "Recent Changes Plugin" on \
        RECENTCHANGESRSS    "RSS Plugin" on \
        SEARCH          "Search Plugin" on \
        USERNAME        "User Name Plugin" on \
        USERPREFERENCES     "User Preferences Plugin" on

NO_BUILD=   yes

.include <bsd.port.pre.mk>

.if defined(WITH_ARCHIVERCS)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/Archive/Rcs.pm:${PORTSDIR}/www/p5-Kwiki-Archive-Rcs
.endif

.if defined(WITH_ARCHIVESVK)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/Archive/SVK.pm:${PORTSDIR}/www/p5-Kwiki-Archive-SVK
.endif

.if defined(WITH_REVISIONS)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/Revisions.pm:${PORTSDIR}/www/p5-Kwiki-Revisions
.endif

.if defined(WITH_RECENTCHANGES)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/RecentChanges.pm:${PORTSDIR}/www/p5-Kwiki-RecentChanges
.endif

.if defined(WITH_RECENTCHANGESRSS)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/RecentChangesRSS.pm:${PORTSDIR}/www/p5-Kwiki-RecentChangesRSS
.endif

.if defined(WITH_SEARCH)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/Search.pm:${PORTSDIR}/www/p5-Kwiki-Search
.endif

.if defined(WITH_USERNAME)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/UserName.pm:${PORTSDIR}/www/p5-Kwiki-UserName
.endif

.if defined(WITH_USERPREFERENCES)
RUN_DEPENDS+=   ${SITE_PERL}/Kwiki/UserPreferences.pm:${PORTSDIR}/www/p5-Kwiki-UserPreferences
.endif

.if ${PERL_LEVEL} < 500601
IGNORE=     This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif

do-build:
            @${DO_NADA}

do-install:
            @${DO_NADA}

.include <bsd.port.post.mk>