freebsd-ports/devel/jsmin/Makefile
Alexey Dokuchaev 35f74fbe2e - Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
2018-01-11 18:09:00 +00:00

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>