aboutsummaryrefslogtreecommitdiffstats
path: root/net/jrdesktop/Makefile
blob: c43137fb57cd8bd262d8b90e82dbc5433a4b6316 (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
# Created by: gahr
# $FreeBSD$

PORTNAME=   jrdesktop
PORTVERSION=    0.3.1.0
CATEGORIES= net java
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R:R}/
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=

MAINTAINER= ports@FreeBSD.org
COMMENT=    View and/or control a remote PC

LICENSE=    GPLv3

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

SUB_FILES=  jrdesktop
SUB_LIST+=  JAVA=${JAVA} \
        PORTNAME=${PORTNAME} \
        PORTVERSION=${PORTVERSION}

PLIST_FILES=    ${JAVAJARDIR:S/${PREFIX}\///}/${DISTNAME}.jar \
        bin/${PORTNAME}

post-extract:
    ${CP} ${DISTDIR}/${DISTNAME}.jar ${WRKDIR}

do-install:
    ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/jrdesktop ${STAGEDIR}${PREFIX}/bin/jrdesktop

.include <bsd.port.mk>