Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 16:27:52 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364625 - head/www/csstidy
Message-ID:  <53e8ef08.2875.689ab6ce@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Aug 11 16:27:51 2014
New Revision: 364625
URL: http://svnweb.freebsd.org/changeset/ports/364625
QAT: https://qat.redports.org/buildarchive/r364625/

Log:
  Update to 1.4. Add DOCS option.

Modified:
  head/www/csstidy/Makefile
  head/www/csstidy/distinfo

Modified: head/www/csstidy/Makefile
==============================================================================
--- head/www/csstidy/Makefile	Mon Aug 11 16:16:23 2014	(r364624)
+++ head/www/csstidy/Makefile	Mon Aug 11 16:27:51 2014	(r364625)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	csstidy
-PORTVERSION=	1.2
+PORTVERSION=	1.4
 CATEGORIES=	www
-MASTER_SITES=	SF/${PORTNAME}/CSSTidy%20%28C%2B%2B%2C%20stable%29/${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/CSSTidy%20%28C%2B%2B%2C%20stable%29/1.3
 DISTNAME=	${PORTNAME}-source-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -13,14 +13,18 @@ COMMENT=	Opensource CSS parser and optim
 LICENSE=	GPLv2
 
 USES=		zip
-NO_WRKSUBDIR=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}
+OPTIONS_DEFINE=	DOCS
 
 PLIST_FILES=	bin/csstidy
+PORTDOCS=	AUTHORS BUGS COPYING ChangeLog NEWS README TODO
 
 do-build:
-	@cd ${WRKSRC} && ${CXX} ${CXXFLAGS} *.cpp -o ${PORTNAME}
+	${CXX} ${CXXFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.cpp
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:C|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/csstidy/distinfo
==============================================================================
--- head/www/csstidy/distinfo	Mon Aug 11 16:16:23 2014	(r364624)
+++ head/www/csstidy/distinfo	Mon Aug 11 16:27:51 2014	(r364625)
@@ -1,2 +1,2 @@
-SHA256 (csstidy-source-1.2.zip) = 02d9e1f5b58d6903aada66503190551e125709b836886693c801104e9ed6dbbc
-SIZE (csstidy-source-1.2.zip) = 44565
+SHA256 (csstidy-source-1.4.zip) = 3295977b597ed77622a3402dbbf5445242796e70a102a513493b270a026132cd
+SIZE (csstidy-source-1.4.zip) = 50096



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e8ef08.2875.689ab6ce>