aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/mucommander/Makefile
blob: 1153a75ee9d5250953f8b51ae44f93e95f4abc2a (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
# Created by: Lars Engels <lars.engels@0x20.net>
# $FreeBSD$

PORTNAME=   mucommander
PORTVERSION=    0.9.3
CATEGORIES= x11-fm java
MASTER_SITES=   https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}-2/

MAINTAINER= lme@FreeBSD.org
COMMENT=    Lightweight file manager featuring a Norton Commander style interface

LICENSE=    GPLv3

USE_JAVA=   yes

JAVA_VERSION=   1.8+
NO_BUILD=   yes

PLIST_FILES=    bin/mucommander ${DATADIR}/mucommander.jar ${DATADIR}/license.txt
SUB_FILES=  mucommander

PORTDOCS=   readme.txt

WRKSRC=     ${WRKDIR}/muCommander-${PORTVERSION}

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/mucommander.jar ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DATADIR}
    ${INSTALL_SCRIPT} ${WRKDIR}/mucommander ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>