aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ladon/Makefile
blob: cab86361b7c690a34d298e3a1332e00f3381fd5b (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
# Created by: Carlos J Puga Medina <cpm@fbsd.es>
# $FreeBSD$

PORTNAME=   ladon
PORTVERSION=    1.0.6
CATEGORIES= deskutils

MAINTAINER= cpm@fbsd.es
COMMENT=    Utility to process many files in parallel

LICENSE=    MIT

BROKEN=     does not build

BUILD_DEPENDS=  npm>0:${PORTSDIR}/www/npm
RUN_DEPENDS=    npm>0:${PORTSDIR}/www/npm

NO_BUILD=   yes
USE_GITHUB= yes
GH_ACCOUNT= danielgtaylor

do-install:
    (cd ${STAGEDIR}${PREFIX}/lib && ${SETENV} \
        HOME=${WRKDIR} npm install --ignore-scripts ${WRKSRC})

    # this is a dirty hack
    ${LN} -s ${PREFIX}/lib/node_modules/.bin/ladon ${STAGEDIR}${PREFIX}/bin/ladon

.include <bsd.port.mk>