mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
f29a218fcd
With hat: portmgr Sponsored by: Absolight
28 lines
623 B
Makefile
28 lines
623 B
Makefile
# Created by: Steve Wills <swills@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uglifyjs
|
|
PORTVERSION= 1.3.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www devel
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= JavaScript parser/compressor/beautifier
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BUILD_DEPENDS= npm>=0:${PORTSDIR}/www/npm
|
|
RUN_DEPENDS= npm>=0:${PORTSDIR}/www/npm
|
|
|
|
NO_BUILD= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mishoo
|
|
GH_PROJECT= UglifyJS
|
|
|
|
do-install:
|
|
(cd ${STAGEDIR}${PREFIX}/lib ; ${SETENV} HOME=${WRKDIR} npm install ${WRKSRC})
|
|
# this is a dirty hack
|
|
${LN} -s ${PREFIX}/lib/node_modules/.bin/uglifyjs ${STAGEDIR}${PREFIX}/bin/uglifyjs
|
|
|
|
.include <bsd.port.mk>
|