blob: ddaa1719f4b32acb5f8bcf1e655b5e374c05f05a (
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: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= jsmin
PORTVERSION= 20130329
CATEGORIES= devel
MAINTAINER= madpilot@FreeBSD.org
COMMENT= The JavaScript Minifier
USE_GITHUB= yes
GH_ACCOUNT= douglascrockford
GH_PROJECT= JSMin
GH_TAGNAME= 1bf6ce5
PLIST_FILES= bin/jsmin
PORTDOCS= README
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|