aboutsummaryrefslogtreecommitdiffstats
path: root/devel/statsvn/Makefile
blob: 64bccfcb996a260b3cba1f15cf85c0f6e22cb68c (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
# New ports collection makefile for:    statsvn
# Date created:             25 Mar 2009
# Whom:                 glarkin
#
# $FreeBSD$
#

PORTNAME=   statsvn
PORTVERSION=    0.7.0
PORTREVISION=   1
CATEGORIES= devel java
MASTER_SITES=   SF
DISTNAME=   ${PORTNAME}-${PORTVERSION}-source

MAINTAINER= glarkin@FreeBSD.org
COMMENT=    Subversion repository activity report generator

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper \
        subversion>=1.3:${PORTSDIR}/devel/subversion

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

USE_ZIP=    yes
USE_JAVA=   yes
USE_ANT=    yes
JAVA_VERSION=   1.4+

.if !defined(NOPORTDOCS)
ALL_TARGET= dist javadoc
.else
ALL_TARGET= dist
.endif

SUB_FILES=  pkg-message

do-install:
    @cd ${WRKSRC}/dist && ${COPYTREE_SHARE} . ${DATADIR}
.if !defined(NOPORTDOCS)
    @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>