aboutsummaryrefslogtreecommitdiffstats
path: root/devel/subversion16/Makefile
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-11-30 23:30:30 +0800
committerflz <flz@FreeBSD.org>2005-11-30 23:30:30 +0800
commit0b80e5ecd12050b0835b1383220b2bf73b70792e (patch)
treedad3ff5f528ba137ad6371df4ed6c23d820ae75e /devel/subversion16/Makefile
parent3dcad5a842dc324cb214f1e31339aedfaeebcbbc (diff)
downloadfreebsd-ports-gnome-0b80e5ecd12050b0835b1383220b2bf73b70792e.tar.gz
freebsd-ports-gnome-0b80e5ecd12050b0835b1383220b2bf73b70792e.tar.zst
freebsd-ports-gnome-0b80e5ecd12050b0835b1383220b2bf73b70792e.zip
- Fix problem with WITH_BOOK knob. The book isn't part of the subversion distfile anymore, so fetch svn-book.{html,pdf} as well if WITH_BOOK is defined.
- Add SHA256 checksum. PR: ports/89153 Submitted by: Benjamin Lutz <benlutz@datacomm.ch> Reviewed by: flz Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'devel/subversion16/Makefile')
-rw-r--r--devel/subversion16/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile
index a6f918355178..3cc9a3f6ef75 100644
--- a/devel/subversion16/Makefile
+++ b/devel/subversion16/Makefile
@@ -8,8 +8,11 @@ PORTNAME= subversion
DISTVERSION= 1.3.0-rc2
PORTREVISION?= 0
CATEGORIES= devel
-MASTER_SITES= http://lolut.utbm.info/pub/subversion-1.3.0/rc2/
+MASTER_SITES= http://lolut.utbm.info/pub/subversion-1.3.0/rc2/:main \
+ http://svnbook.red-bean.com/en/1.1/:book
#MASTER_SITES= http://subversion.tigris.org/tarballs/
+DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:main
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= lev@freebsd.org
COMMENT= Version control system
@@ -196,6 +199,7 @@ PLIST_SUB+= SVNSERVE_WRAPPER="@comment "
.if !defined(NOPORTDOCS) && defined(WITH_BOOK)
PORTDOCS+= book
+DISTFILES+= svn-book.html:book svn-book.pdf:book
.endif
SCRIPTS=
@@ -370,8 +374,8 @@ post-install: ${MKREPOS_TARGET}
done
.if defined(WITH_BOOK)
${MKDIR} ${DOCSDIR}/book
- cd ${WRKSRC}/doc/book ; \
- ${INSTALL_DATA} svn-book.html svn-book.pdf ${DOCSDIR}/book
+ ${INSTALL_DATA} ${DISTDIR}/svn-book.html ${DOCSDIR}/book
+ ${INSTALL_DATA} ${DISTDIR}/svn-book.pdf ${DOCSDIR}/book
.endif
.endif
.if defined(WITH_PERL)