aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/openproj/Makefile
blob: 30b5f08fa78f736d18568d0b08ae6487d1c0698d (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
# $FreeBSD$

PORTNAME=   openproj
PORTVERSION=    1.4
CATEGORIES= deskutils editors java
MASTER_SITES=   SF/${PORTNAME}/OpenProj%20Binaries/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A free, open source Project Manager

RUN_DEPENDS=    java:${PORTSDIR}/java/javavmwrapper

NO_STAGE=   yes

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}-${PORTVERSION}
DATAFILES=  lib license openproj.jar readme.html

SUB_FILES=  openproj.sh

do-install:
    cd ${WRKSRC} \
      && ${FIND} ${DATAFILES} -type d -exec ${MKDIR} ${DATADIR}/{} \; \
      && ${FIND} ${DATAFILES} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
    ${INSTALL_SCRIPT} ${WRKDIR}/openproj.sh ${PREFIX}/bin/openproj

.include <bsd.port.mk>