- move subversion documentation into own port

Approved by:	lev@
This commit is contained in:
Olli Hauer 2013-11-05 22:02:04 +00:00
parent 2adbdf09f4
commit 493f516c08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332915
5 changed files with 93 additions and 0 deletions

View file

@ -4382,6 +4382,7 @@
SUBDIR += subclipse
SUBDIR += subcommander2
SUBDIR += subversion
SUBDIR += subversion-book
SUBDIR += subversion-static
SUBDIR += subversion16
SUBDIR += subversion17

View file

@ -0,0 +1,53 @@
# $FreeBSD$
PORTNAME= subversion-book
DISTVERSION= 4515
CATEGORIES= devel misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=lev
DISTFILES= svn-book-html-r${DISTVERSION}.tar.bz2 \
svn-book-r${DISTVERSION}.pdf
DIST_SUBDIR= subversion18
EXTRACT_ONLY= svn-book-html-r${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= lev@FreeBSD.org
COMMENT= Subversion Documentation HTML/PDF
# Creative Commons Legal Code
# http://svnbook.red-bean.com/en/1.7/svn.copyright.html
LICENSE= CDDL
USE_BZIP2= yes
NO_BUILD= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= HTML_SINGLE PDF
OPTIONS_DEFAULT= HTML_SINGLE
HTML_SINGLE_DESC= Single HTML page edition
PDF_DESC= PDF edition
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MDOCS}
IGNORE= it does not make sense to install dedicated documentation if DOCS are globally disabled
.endif
do-extract:
@${MKDIR} ${WRKDIR}
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.if ${PORT_OPTIONS:MHTML_SINGLE}
${TAR} -xof ${DISTDIR}/${DIST_SUBDIR}/svn-book-html-r${PORTVERSION}.tar.bz2 \
-C ${STAGEDIR}${DOCSDIR}
(cd ${STAGEDIR}${DOCSDIR}/svn-book-html && ${LN} -s svn-book.html index.html)
.endif
.if ${PORT_OPTIONS:MPDF}
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/svn-book-r${PORTVERSION}.pdf \
${STAGEDIR}${DOCSDIR}/svn-book.pdf
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
SHA256 (subversion18/svn-book-html-r4515.tar.bz2) = 666cef147abc9b917a6bb6527da4f4869221d793126289c715f002bfb2baa508
SIZE (subversion18/svn-book-html-r4515.tar.bz2) = 473182
SHA256 (subversion18/svn-book-r4515.pdf) = 962d524ae2c861ec48a45723c484f4f5e1826ee2f9ccfe58b07b96af67b0bf5e
SIZE (subversion18/svn-book-r4515.pdf) = 1943481

View file

@ -0,0 +1,10 @@
Version Control with Subversion
free book about the ubiquitous Apache. Subversion version control
system and written by some of the developers of Subversion itself.
If you like the book please consider to buy a printed version and
support the subversion documentation project.
WWW: http://svnbook.red-bean.com/

View file

@ -0,0 +1,25 @@
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch01dia1.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia1.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia2.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia3.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia4.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia5.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia6.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch02dia7.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch04dia1.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch04dia2.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch04dia3.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch04dia4.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch08dia1.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/ch08dia2.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/draft.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/note.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/tip.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/images/warning.png
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/index.html
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/styles.css
%%HTML_SINGLE%%%%DOCSDIR%%/svn-book-html/svn-book.html
%%PDF%%%%DOCSDIR%%/svn-book.pdf
%%HTML_SINGLE%%@dirrmtry %%DOCSDIR%%/svn-book-html/images
%%HTML_SINGLE%%@dirrmtry %%DOCSDIR%%/svn-book-html
@dirrmtry %%DOCSDIR%%