blob: e981e6ca766edb0728a7dffd7a8f890b513d956d (
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
|
# ex:ts=8
# Ports collection makefile for: jsmin
# Date created: Jul 18, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jsmin
DISTVERSION= 20071204
CATEGORIES= devel
MASTER_SITES= http://www.crockford.com/javascript/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .c
MAINTAINER= ijliao@FreeBSD.org
COMMENT= The JavaScript Minifier
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_WRKSUBDIR= yes
PLIST_FILES= bin/jsmin
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
|