aboutsummaryrefslogtreecommitdiff
path: root/www/csstidy
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-04 09:01:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-04 09:01:07 +0000
commit13f5dc047fc5a556df14cd5bbd0c2abdfc7e12b7 (patch)
tree2e0b1a27c4402d2f59653d1d628a58eb3dd4dacd /www/csstidy
parent644516e6dca29a87edc893e04dda2064067fd692 (diff)
downloadports-13f5dc047fc5a556df14cd5bbd0c2abdfc7e12b7.tar.gz
ports-13f5dc047fc5a556df14cd5bbd0c2abdfc7e12b7.zip
Notes
Diffstat (limited to 'www/csstidy')
-rw-r--r--www/csstidy/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/csstidy/Makefile b/www/csstidy/Makefile
index c097023fd411..dbf286bc5f03 100644
--- a/www/csstidy/Makefile
+++ b/www/csstidy/Makefile
@@ -11,19 +11,23 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Opensource CSS parser and optimiser
LICENSE= GPLv2
+LICENSE_FILE= ${WRKDIR}/COPYING
USES= zip
WRKSRC= ${WRKDIR}/${PORTNAME}
-OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/csstidy
-PORTDOCS= AUTHORS BUGS COPYING ChangeLog NEWS README TODO
+PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TODO
+
+OPTIONS_DEFINE= DOCS
do-build:
${CXX} ${CXXFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:C|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}