blob: 0e9ab2ec373f72081e90341fb879691683b73e0a (
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= 20080803
CATEGORIES= devel
MASTER_SITES= http://www.crockford.com/javascript/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .c
MAINTAINER= ports@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>
|