mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
418d775723
Approved by: crees (mentor)
33 lines
617 B
Makefile
33 lines
617 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: jsmin
|
|
# Date created: Jul 18, 2006
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jsmin
|
|
DISTVERSION= 20120109
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.crockford.com/javascript/
|
|
DISTNAME= ${PORTNAME}
|
|
EXTRACT_SUFX= .c
|
|
|
|
MAINTAINER= madpilot@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>
|