aboutsummaryrefslogtreecommitdiff
path: root/devel/subversion16/Makefile
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2006-09-12 12:46:30 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2006-09-12 12:46:30 +0000
commit0c0e8fd828132ba74baef61a04291cdc1a97f370 (patch)
tree46ce8239bae7e9573439bff5ae32fa8cc905f698 /devel/subversion16/Makefile
parent56021600c2a491059f488a423a2e3f31a6b9d0ad (diff)
downloadports-0c0e8fd828132ba74baef61a04291cdc1a97f370.tar.gz
ports-0c0e8fd828132ba74baef61a04291cdc1a97f370.zip
Notes
Diffstat (limited to 'devel/subversion16/Makefile')
-rw-r--r--devel/subversion16/Makefile40
1 files changed, 28 insertions, 12 deletions
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile
index df96ae7a7eea..3e92b2db5022 100644
--- a/devel/subversion16/Makefile
+++ b/devel/subversion16/Makefile
@@ -5,13 +5,15 @@
# $FreeBSD$
PORTNAME= subversion
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4.0
PORTREVISION?= 0
CATEGORIES= devel
MASTER_SITES= http://subversion.tigris.org/downloads/:main \
- http://svnbook.red-bean.com/en/1.1/:bookhtml \
- http://svnbook.red-bean.com/en/1.1/:bookpdf
+ http://svnbook.red-bean.com/en/1.2/:bookhtml \
+ http://svnbook.red-bean.com/en/1.2/images/:bookhtmlimg \
+ http://svnbook.red-bean.com/en/1.2/:bookpdf
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}:main
+DIST_SUBDIR= subversion
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= lev@freebsd.org
@@ -26,9 +28,9 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ssl
-USE_RC_SUBR=svnserve.sh
+USE_RC_SUBR= svnserve.sh
-MAN1= svn.1 svnadmin.1 svnlook.1 svndumpfilter.1 svnversion.1
+MAN1= svn.1 svnadmin.1 svnlook.1 svndumpfilter.1 svnsync.1 svnversion.1
MAN5= svnserve.conf.5
MAN8= svnserve.8
MANCOMPRESSED= no
@@ -38,6 +40,10 @@ TXT_DOCS= BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README
PORTDOCS= ${TXT_DOCS}
.endif
+.if defined(WITH_ASVN)
+RUN_DEPENDS= ${LOCALBASE}/bin/gfind:${PORTSDIR}/misc/findutils:install
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= WITHOUT_GETTEXT=""
@@ -198,7 +204,15 @@ PLIST_SUB+= SVNSERVE_WRAPPER="@comment "
.if !defined(NOPORTDOCS) && defined(WITH_BOOK)
PORTDOCS+= book
-DISTFILES+= svn-book.html:bookhtml svn-book.pdf:bookpdf
+DISTFILES+= svn-book.html:bookhtml \
+ ch01dia1.png:bookhtmlimg ch02dia1.png:bookhtmlimg \
+ ch02dia2.png:bookhtmlimg ch02dia3.png:bookhtmlimg \
+ ch02dia5.png:bookhtmlimg ch02dia6.png:bookhtmlimg \
+ ch02dia7.png:bookhtmlimg ch04dia1.png:bookhtmlimg \
+ ch04dia2.png:bookhtmlimg ch04dia3.png:bookhtmlimg \
+ ch04dia4.png:bookhtmlimg ch08dia1.png:bookhtmlimg \
+ ch08dia2.png:bookhtmlimg \
+ svn-book.pdf:bookpdf
.endif
.if defined(WITH_ASVN)
@@ -315,10 +329,10 @@ pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Many useful scripts will be installed into ${PREFIX}/share/subversion"
-post-extract:
- @${RM} -r ${WRKSRC}/neon
- @${RM} -r ${WRKSRC}/apr
- @${RM} -r ${WRKSRC}/apr-util
+#post-extract:
+# @${RM} -r ${WRKSRC}/neon
+# @${RM} -r ${WRKSRC}/apr
+# @${RM} -r ${WRKSRC}/apr-util
post-patch:
.if ${PREFIX} != "/usr"
@@ -386,8 +400,10 @@ post-install: ${MKREPOS_TARGET}
done
.if defined(WITH_BOOK)
${MKDIR} ${DOCSDIR}/book
- ${INSTALL_DATA} ${DISTDIR}/svn-book.html ${DOCSDIR}/book
- ${INSTALL_DATA} ${DISTDIR}/svn-book.pdf ${DOCSDIR}/book
+ ${MKDIR} ${DOCSDIR}/book/images
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/svn-book.html ${DOCSDIR}/book
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.png ${DOCSDIR}/book/images
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/svn-book.pdf ${DOCSDIR}/book
.endif
.endif
.if defined(WITH_ASVN)