mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e4cfacfa55
PR: ports/132775 Submitted by: Guido Falsi <mad@madpilot.net> Approved by: maintainer timeout
33 lines
615 B
Makefile
33 lines
615 B
Makefile
# 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= 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>
|