Update to 1.6.11 and make this automatically follow the subversion port.

Use a special trick to extract the subversion port's distfile.

Remove pkg-plist in favor of PLIST_FILES, PORTDOCS and PORTEXAMPLES.
This commit is contained in:
Akinori MUSHA 2010-05-18 06:07:57 +00:00
parent d75ee219cd
commit 8318552460
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254545
3 changed files with 21 additions and 15 deletions

View File

@ -5,12 +5,11 @@
# $FreeBSD$
PORTNAME= svn_load_dirs
PORTVERSION= 1.6.9
PORTREVISION= 2
PORTVERSION= ${SVN_PORTVERSION}
PORTREVISION= 0 # You would hardly need to update this!
CATEGORIES= devel
MASTER_SITES= http://subversion.tigris.org/downloads/
DISTNAME= subversion-${DISTVERSION}
DIST_SUBDIR= subversion
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= knu@freebsd.org
COMMENT= A Perl script to load directories into a Subversion repository
@ -21,7 +20,22 @@ RUN_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
USE_BZIP2= yes
USE_PERL5= 5.8.0+
WRKSRC= ${WRKDIR}/${DISTNAME}/contrib/client-side/svn_load_dirs
WRKSRC= ${WRKDIR}/subversion-${SVN_PORTVERSION}/contrib/client-side/svn_load_dirs
PLIST_FILES= bin/svn_load_dirs
.if !defined(NOPORTDOCS)
PORTDOCS= *
PORTEXAMPLES= *
.endif
.include <bsd.port.pre.mk>
SVN_PORTDIR= ${PORTSDIR}/devel/subversion
SVN_PORTVERSION!= cd ${SVN_PORTDIR} && ${MAKE} -V PORTVERSION
do-extract:
${MKDIR} ${WRKDIR}
cd ${SVN_PORTDIR} && ${MAKE} DISABLE_CONFLICTS=yes WRKDIR=${WRKDIR} extract
do-build:
${SED} -E \
@ -38,4 +52,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/svn_load_dirs.README ${DOCSDIR}/
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (subversion/subversion-1.6.9.tar.bz2) = 9c30a47b1d48664e7afef68bb4834c53
SHA256 (subversion/subversion-1.6.9.tar.bz2) = 05526f92fcb612bdc3bab0d5e218e25847bf10846e047ce244e33859b205111c
SIZE (subversion/subversion-1.6.9.tar.bz2) = 5478554

View File

@ -1,5 +0,0 @@
bin/svn_load_dirs
%%PORTDOCS%%%%EXAMPLESDIR%%/svn_load_dirs_property_table.example
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%%%DOCSDIR%%/svn_load_dirs.README
%%PORTDOCS%%@dirrm %%DOCSDIR%%