35f74fbe2e
when it was missing) - Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN - Fix some whitespace and formatting bugs along the way
31 lines
621 B
Makefile
31 lines
621 B
Makefile
# 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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|