1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update to 1.4. Add DOCS option.

This commit is contained in:
Adam Weinberger 2014-08-11 16:27:51 +00:00
parent 0246f583d1
commit 75c3c5e394
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364625
2 changed files with 10 additions and 6 deletions

View File

@ -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 optimiser
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>

View File

@ -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