Date: Sun, 22 Dec 2013 06:02:39 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337174 - head/net/svnup Message-ID: <201312220602.rBM62dnh003166@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Sun Dec 22 06:02:39 2013 New Revision: 337174 URL: http://svnweb.freebsd.org/changeset/ports/337174 Log: - update to 1.01 [1] - add europe mirror in svnup.conf [2] - while here convert to staging PR: 182149 Submitted by: jcm@visi.com (maintainer) [1], mspil.oss@gmail.com [2] Modified: head/net/svnup/Makefile head/net/svnup/distinfo head/net/svnup/pkg-plist Modified: head/net/svnup/Makefile ============================================================================== --- head/net/svnup/Makefile Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/Makefile Sun Dec 22 06:02:39 2013 (r337174) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= svnup -PORTVERSION= 1.0 +PORTVERSION= 1.01 CATEGORIES= net MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \ LOCAL/jgh/net/${PORTNAME}/ @@ -14,13 +14,9 @@ LICENSE= BSD LDFLAGS+= -lmd -lssl USE_XZ= yes -MAN1= ${PORTNAME}.1 -MAN5= ${PORTNAME}.conf.5 -PORTDOCS= ChangeLog - -NO_STAGE= yes post-patch-script: - @${REINPLACE_CMD} -e 's|8.3|${OSREL}|' ${WRKSRC}/svnup.conf + @${REINPLACE_CMD} -e 's|\/stable\/8|\/stable\/${OSREL:R}|' ${WRKSRC}/svnup.conf + @${REINPLACE_CMD} -e 's|\/releng\/8.3|\/releng\/${OSREL}|' ${WRKSRC}/svnup.conf do-build: cd ${WRKSRC} && \ @@ -29,21 +25,19 @@ do-build: .include <bsd.port.options.mk> do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} -.endif - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample - @if [ ! -e "${PREFIX}/etc/${PORTNAME}.conf" ]; then \ - ${ECHO_MSG} " Installing local configuration file: ${PREFIX}/etc/${PORTNAME}.conf"; \ - ${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf; \ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + @if [ ! -e "${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf" ]; then \ + ${ECHO_MSG} " Installing local configuration file: ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf"; \ + ${CP} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf; \ else \ - ${ECHO_MSG} " Preserving local configuration file: ${ETCDIR}/${PORTNAME}.conf"; \ + ${ECHO_MSG} " Preserving local configuration file: ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf"; \ fi .include <bsd.port.mk> Modified: head/net/svnup/distinfo ============================================================================== --- head/net/svnup/distinfo Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/distinfo Sun Dec 22 06:02:39 2013 (r337174) @@ -1,2 +1,2 @@ -SHA256 (svnup-1.0.tar.xz) = 6d09980a0881e681fabd00c63cabd6f2bb80d3f2cb5f02212297533011e25a97 -SIZE (svnup-1.0.tar.xz) = 18440 +SHA256 (svnup-1.01.tar.xz) = 52d94ca71a46fd8bda9c6a4a042acca4b49413271a3b140db0501cf7051550e2 +SIZE (svnup-1.01.tar.xz) = 18492 Modified: head/net/svnup/pkg-plist ============================================================================== --- head/net/svnup/pkg-plist Sun Dec 22 03:31:32 2013 (r337173) +++ head/net/svnup/pkg-plist Sun Dec 22 06:02:39 2013 (r337174) @@ -1,4 +1,6 @@ bin/svnup +man/man1/svnup.1.gz +man/man5/svnup.conf.5.gz @unexec if cmp -s %D/etc/svnup.conf.sample %D/etc/svnup.conf; then rm -f %D/etc/svnup.conf; else echo "If permanently removing this package, then please consider removing %D/etc/svnup.conf" ;fi etc/svnup.conf.sample @exec if [ ! -f %D/etc/svnup.conf ] ; then cp -p %D/etc/svnup.conf.sample %D/etc/svnup.conf; fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312220602.rBM62dnh003166>